Re: Added schema level support for publication.
От | Amit Kapila |
---|---|
Тема | Re: Added schema level support for publication. |
Дата | |
Msg-id | CAA4eK1Je4Ncg_f_WTct1-7B+5ib9AUU_f2ZrdKJeK+jMAtDvBg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Added schema level support for publication. (vignesh C <vignesh21@gmail.com>) |
Ответы |
Re: Added schema level support for publication.
|
Список | pgsql-hackers |
On Tue, Aug 31, 2021 at 9:15 AM vignesh C <vignesh21@gmail.com> wrote: > > On Mon, Aug 30, 2021 at 12:12 PM Amit Kapila <amit.kapila16@gmail.com> wrote: > > > > > > Okay, I got it but let's add few comments in the code related to it. > > Also, I noticed that the code in InvalidatePublicationRels() already > > exists in AlterPublicationOptions(). You can try to refactor the > > existing code as a separate initial patch. > > I have made these changes at the v23 patch attached at [1]. > * +/* + * Invalidate the relations. + */ +static inline void +InvalidatePublicationRels(List *relids) I don't see the need to make this an inline function. * On similar lines, the code in function GetPubPartitionOptionRelations seems to be extracted from existing function GetPublicationRelations(). Can't we move it into the 0001 patch? -- With Regards, Amit Kapila.
В списке pgsql-hackers по дате отправления: