Re: [HACKERS] Making replication commands case-insensitive

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [HACKERS] Making replication commands case-insensitive
Дата
Msg-id 20170520174628.bvlfa6h4sabzjbky@alap3.anarazel.de
обсуждение исходный текст
Ответ на [HACKERS] Making replication commands case-insensitive  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
Hi,

On 2017-05-20 21:19:10 +0900, Michael Paquier wrote:
> $subject has been raised in a recent thread here:
> https://www.postgresql.org/message-id/CAB7nPqTmym5t-X6hvMF_P-KRc=ndXtbQCTiU=NhS_jvL7x1kCA@mail.gmail.com
> 
> The idea is to make the replication protocol a bit more flexible, in a
> way similar to what 5c837dd has done, but for repl_scanner.l. This
> will also allow to avoid any problems like what has been fixed in
> aa41bc7 where the SHOW commands used in libpq have to be capitalized.
> Personally, I have pested about the lack of flexibility a couple of
> times when running tests using psql..

-1.  This solution is too bad for maintainability, and given the
replication protocol is not for interactive use I don't see a
corresponding benefit.

Greetings,

Andres Freund



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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: [HACKERS] Making replication commands case-insensitive
Следующее
От: Tom Lane
Дата:
Сообщение: [HACKERS] Tightening isspace() tests where behavior should match SQL parser