=?UTF-8?Q?Fabr=C3=ADzio_de_Royes_Mello?= <fabrizio@timbira.com.br> writes:
> As I said before to change system catalog you should set
> "allow_system_table_mods=on" and restart PostgreSQL service.
> After that you'll able to recreate the "pg_catalog.pg_publication_tables"
> system view. (You can use the Tom's suggestion using LATERAL)
It's a view, not a table, so I don't think you need
allow_system_table_mods. A quick test here says that being
superuser is enough to do a CREATE OR REPLACE VIEW on it.
regards, tom lane