| От | Tom Lane |
|---|---|
| Тема | Re: Information Schema DBMS VERSION wrong |
| Дата | |
| Msg-id | 12922.1122611304@sss.pgh.pa.us обсуждение |
| Ответ на | Information Schema DBMS VERSION wrong (Michael Fuhr <mike@fuhr.org>) |
| Ответы |
Re: Information Schema DBMS VERSION wrong
|
| Список | pgsql-hackers |
Michael Fuhr <mike@fuhr.org> writes:
> The following query doesn't return the version of PostgreSQL currently
> running, but rather the version of initdb that initialized the cluster:
> SELECT character_value
> FROM information_schema.sql_implementation_info
> WHERE implementation_info_name = 'DBMS VERSION';
> Is that the intended or desired behavior?
Not sure if it was really thought about, but seeing that (a) you can get
the current version from "select version()" and (b) there isn't any
other way to get the initdb version, it seems like this behavior is
fine.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера