Re: no meaningful way to determine fe or be version?

Bruce Momjian <pgman@candle.pha.pa.us>

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: aoki@acm.org, pgsql-bugs@postgresql.org
Date: 2000-11-16T04:57:17Z
Lists: pgsql-bugs
You can do a 'SELECT version()' to get a version string from the
backend.

> Paul M. Aoki (aoki@acm.org) reports a bug with a severity of 3
> The lower the number the more severe it is.
> 
> Short Description
> no meaningful way to determine fe or be version?
> 
> Long Description
> both the odbc and jdbc drivers seem to hardcode the database version, e.g., org/postgresql/jdbc2/DatabaseMetaData.java always returns "6.5.2" when you call getDatabaseProductVersion().
> 
> it would be nice if the metadata routines were actually tied to something returned from the backend.
> 
> Sample Code
> 
> 
> No file was uploaded with this report
> 
> 


-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026