Re: [PATCH] Add pg_get_subscription_ddl() function

Поиск
Список
Период
Сортировка
От Á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 по дате отправления: