On 2016-11-13 00:40:12 -0500, Peter Eisentraut wrote: > On 11/12/16 2:18 PM, Andres Freund wrote: > >>> I also wonder if we want an easier to > >>> > > extend form of pubinsert/update/delete (say to add pubddl, > >>> > > pubtruncate, > >>> > > pub ... without changing the schema). > >>> > > > >> > > >> > So like, text array that's then parsed everywhere (I am not doing > >> > bitmask/int definitely)? > > Yes, that sounds good to me. Then convert it to individual booleans or a > > bitmask when loading the publications into the in-memory form (which you > > already do). > > I'm not sure why that would be better. Adding catalog columns in future > versions is not a problem.
It can be extended from what core provides, for extended versions of replication solutions, for one. I presume publications/subscriptions aren't only going to be used by built-in code. Andres -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers