Information Schema DBMS VERSION wrong

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Information Schema DBMS VERSION wrong
Дата
Msg-id 20050729031215.GA25407@winnie.fuhr.org
обсуждение исходный текст
Ответы Re: Information Schema DBMS VERSION wrong  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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?

sql_implementation_info is a table rather than a view, so its
contents are hardcoded by initdb.  Would it make sense to turn it
into a view?  This is admittedly a minor issue that might not merit
the effort, but it still seems wrong.

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Mark Wong
Дата:
Сообщение: Re: [Testperf-general] dbt2 & opteron performance
Следующее
От: "Qingqing Zhou"
Дата:
Сообщение: Re: Race conditions, race conditions!