Re: [HACKERS] Variable substitution in psql backtick expansion

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Variable substitution in psql backtick expansion
Дата
Msg-id 23434.1510518105@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Variable substitution in psql backtick expansion  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: [HACKERS] Variable substitution in psql backtick expansion
Список pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> [ psql-server-version-2.patch    ]

I think this patch should be rejected.  It adds no new functionality;
you can get the string in question with "select version()".  Moreover,
you've been able to do that for lo these many years.  Any application
that tried to depend on this new way of getting the string would fail
when working with an older server or older psql.  That does not seem
like a good property for a version check.  Also, because the string
isn't especially machine-friendly, it's not very clear to me what the
use-case is for an application to use it at all, rather than the other
version formats we already provide.
        regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: [HACKERS] PATCH: psql tab completion for SELECT
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: [HACKERS] LDAPS