Re: [HACKERS] DROP SUBSCRIPTION and ROLLBACK

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] DROP SUBSCRIPTION and ROLLBACK
Дата
Msg-id 690625cd-5198-f788-e9d3-801ae51d2739@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [HACKERS] DROP SUBSCRIPTION and ROLLBACK  (Petr Jelinek <petr.jelinek@2ndquadrant.com>)
Ответы Re: [HACKERS] DROP SUBSCRIPTION and ROLLBACK  (Masahiko Sawada <sawada.mshk@gmail.com>)
Список pgsql-hackers
On 3/3/17 13:58, Petr Jelinek wrote:
> On 23/02/17 08:24, Masahiko Sawada wrote:
>> Attached updated version patches. Please review these.
>>
> 
> This version looks good to me, I'd only change the
> 
>> +        PreventTransactionChain(isTopLevel, "CREATE SUBSCRIPTION CREATE SLOT");
> 
> to "CREATE SUBSCRIPTION ... CREATE SLOT" as that's afaik how we do it
> for other commands (and same with DROP).

I have committed fixes for these issues.

I didn't like the syntax change in DROP SUBSCRIPTION, so I have just
fixed the parsing of the existing syntax.  We can discuss syntax changes
separately.  The second patch I have committed after some editing.  I
think it was generated on top of the existing data copy patch, so it was
a bit of a mess.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: [HACKERS] [BUG FIX] Removing NamedLWLockTrancheArray
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Performance degradation in TPC-H Q18