Re: pgsql: Implement waiting for given lsn at transaction start

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Implement waiting for given lsn at transaction start
Дата
Msg-id 28209.1586294824@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pgsql: Implement waiting for given lsn at transaction start  (Alexander Korotkov <akorotkov@postgresql.org>)
Ответы Re: pgsql: Implement waiting for given lsn at transaction start  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: pgsql: Implement waiting for given lsn at transaction start  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
Список pgsql-committers
Alexander Korotkov <akorotkov@postgresql.org> writes:
> Implement waiting for given lsn at transaction start
> This commit adds following optional clause to BEGIN and START TRANSACTION
> commands.
>   WAIT FOR LSN lsn [ TIMEOUT timeout ]

This seems like a really carelessly chosen syntax --- *three* new
keywords, when you probably didn't need any.  Are you not aware that
there is distributed overhead in the grammar for every keyword?
Plus, each new keyword carries the risk of breaking existing
applications, since it no longer works as an alias-not-preceded-by-AS.

I have no particular opinion on the value of the feature, but I wish
a different syntax had been chosen.

            regards, tom lane



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

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: pgsql: Implement waiting for given lsn at transaction start
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: pgsql: Implement waiting for given lsn at transaction start