Alter all tables in schema owner fix - Mailing list pgsql-hackers

From vignesh C
Subject Alter all tables in schema owner fix
Date
Msg-id CALDaNm0E5U-RqxFuFrkZrQeG7ae5trGa=xs=iRtPPHULtT4zOw@mail.gmail.com
Whole thread Raw
Responses Re: Alter all tables in schema owner fix
List pgsql-hackers
Hi,

Currently while changing the owner of ALL TABLES IN SCHEMA
publication, it is not checked if the new owner has superuser
permission or not. Added a check to throw an error if the new owner
does not have superuser permission.
Attached patch has the changes for the same. Thoughts?

Regards,
Vignesh

Attachment

pgsql-hackers by date:

Previous
From: Alexander Lakhin
Date:
Subject: Re: More time spending with "delete pending"
Next
From: Amit Kapila
Date:
Subject: Re: pg_get_publication_tables() output duplicate relid