Re: Re: [BUGS] no meaningful way to determine fe or be version?
От | Bruce Momjian |
---|---|
Тема | Re: Re: [BUGS] no meaningful way to determine fe or be version? |
Дата | |
Msg-id | 200011171720.MAA25515@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: Re: [BUGS] no meaningful way to determine fe or be version? (Anders Bengtsson <anders@lecando.com>) |
Список | pgsql-interfaces |
This concerns me. Did we lose a patch here? Can you send it again? > Bruce Momjian wrote: > > > > > sorry, yes. the client-side interfaces (DatabaseMetaData.getDriver*) > > > are actually fine - they return a major/minor version that have been > > > getting manually updated (they're much more visible, being in > > > org/postgresql/Driver.java). the server-side interfaces > > > (DatabaseMetaData.getDatabase{Name,Version}) are the ones that aren't > > > tied to the server, return hardcoded strings and haven't been getting > > > updated regularly. > > > > Oh, really. I didn't know there was that distinction. Sounds like they > > should be callling SELECT version(). Comments, Java folks? > > I posted a patch for the JDBC driver to pgsql-interfaces to do just that > some time ago. Don't know what happened to it, though .. > > /Anders > ________________________________________________________________________ > A n d e r s B e n g t s s o n anders@lecando.com > http://www.lecando.com > -- 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, Pennsylvania19026
В списке pgsql-interfaces по дате отправления: