Re: [HACKERS] Variable substitution in psql backtick expansion

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


2017-09-04 19:08 GMT+02:00 Tom Lane <tgl@sss.pgh.pa.us>:
Pavel Stehule <pavel.stehule@gmail.com> writes:
> 2017-09-04 18:56 GMT+02:00 Tom Lane <tgl@sss.pgh.pa.us>:
>> Just had another idea: maybe make the new variable names
>> SERVER_VERSION_S
>> SERVER_VERSION_N
>> VERSION_S
>> VERSION_N

> SERVER_VERSION_STR looks better than this.

I dunno, I'm not very pleased with the "STR" idea because the verbose
version string is also a string.  Documenting "S" as meaning "short"
would dodge that objection.


You have to necessary read doc to understand this, and I don't think so it is good idea.

So SERVER_VERSION_NAME looks like best solution to me.


 
                        regards, tom lane

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

Предыдущее
От: "Daniel Verite"
Дата:
Сообщение: Re: [HACKERS] Variable substitution in psql backtick expansion
Следующее
От: Adrien Nayrat
Дата:
Сообщение: Re: [HACKERS] ALTER INDEX .. SET STATISTICS ... behaviour