SELECT version();

Regards, Dave.

> -----Original Message-----
> From: Andrew Hill [mailto:[EMAIL PROTECTED]] 
> Sent: 16 April 2002 13:26
> To: [EMAIL PROTECTED]
> Subject: [pgadmin-hackers] getting the version
> 
> 
> Hello.
> 
> A library i wrote (bonddb) does a lot of work at extracting backend 
> information from postgresql, like how the database was created etc. 
>  Anyway, I've got a few problems with changes in the change 
> of structure 
> from 7.1 to 7.2.  Is there a table/field i can query to get 
> what version 
> of the database the user currently has without reading the 
> PG_VERSION file?
> 
> 
> 
> 
> 
> ---------------------------(end of 
> broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to 
> [EMAIL PROTECTED]
> 

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

Reply via email to