On Wed, May 22, 2019 at 4:57 PM Tom Lane <tgl@sss.pgh.pa.us> wrote: > > Fabrízio de Royes Mello <fabriziomello@gmail.com> writes: > > There are some case I missed to force us to use pg_get_publication_tables > > SRF instead of use pg_publication_rel ?? > > pg_publication_rel isn't going to provide the correct expansion of > a FOR ALL TABLES publication, IIUC. >
You're correct... there are a condition for it in pg_get_publication_tables and FOR ALL TABLES publications doesn't persist anything in pg_publication_rel.