| От | Álvaro Herrera |
|---|---|
| Тема | Re: [PATCH] Add pg_get_subscription_ddl() function |
| Дата | |
| Msg-id | 202511121044.pw34gsirtu2s@alvherre.pgsql обсуждение |
| Ответ на | Re: [PATCH] Add pg_get_subscription_ddl() function (Vaibhav Dalvi <vaibhav.dalvi@enterprisedb.com>) |
| Список | pgsql-hackers |
If build_subscription_ddl_string is "internal" as its comment claims, why is it declared extern in ruleutils.h? I think it should be a static function instead. If you want to make it extern, it should live in src/backend/catalog/pg_subscription.c and its prototype in src/include/catalog/pg_subscription.h. And if you do move it to pg_subscription.c (but I don't necessarily agree with that), then you don't need a third copy of textarray_to_stringlist. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ "Find a bug in a program, and fix it, and the program will work today. Show the program how to find and fix a bug, and the program will work forever" (Oliver Silfridge)
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера