brianc / node-libpq

Simple, low level native bindings to PostgreSQL's libpq from node.js
112 stars 42 forks source link

Getting server version from connection object #36

Closed Paxa closed 8 years ago

Paxa commented 8 years ago

I need to know server version to detect if some features are available (e.g. materialized views)

Usage:

pq.serverVersion() //=> 90400
brianc commented 8 years ago

@Paxa this is amazing!!! Thank you!! Merging & pushing out new minor version.

brianc commented 8 years ago

Published new version libpq@1.8.0

Paxa commented 8 years ago

Awesome. Thanks :+1:

brianc commented 8 years ago

Thank YOU :dancer:

On Tue, Nov 17, 2015 at 11:03 AM, Pavel notifications@github.com wrote:

Awesome. Thanks [image: :+1:]

— Reply to this email directly or view it on GitHub https://github.com/brianc/node-libpq/pull/36#issuecomment-157454624.