Re: Avoid corrupting DefElem nodes when parsing publication_names and publish options

Поиск
Список
Период
Сортировка
От sunil s
Тема Re: Avoid corrupting DefElem nodes when parsing publication_names and publish options
Дата
Msg-id CAOG6S49=+qSmuw9h3spqUP8g_6MYJ=-4BUyjUTUSK_8JJyz8ZQ@mail.gmail.com
обсуждение исходный текст
Ответ на Avoid corrupting DefElem nodes when parsing publication_names and publish options  (sunil s <sunilfeb26@gmail.com>)
Список pgsql-hackers
Here is the reproduction of this issue.

As per the official documentation, creating a publication with the following syntax will corrupt the option list('insert, update, delete')
>  CREATE PUBLICATION mypublication FOR ALL TABLES WITH (publish ='insert, update, delete');

By attaching a debugger to parse_publication_options(), we can verify that the option list is modified after the call to splitIdentifierString().

NOTE: Using double quotes (" "), the functionality works correctly.

Thanks & Regards,
Sunil S

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