Re: [HACKERS] ALTER PUBLICATION and segmentation fault

2017-03-07 Thread Peter Eisentraut
On 3/7/17 11:56, Masahiko Sawada wrote: > This issue happen even ALTER SUBSCRIPTION. I guess the main cause is > that acl_kind of pg_publication and pg_subscription of ObjectProperty > array are not correct. These values should be set ACL_KIND_PUBLICATION > and ACL_KIND_SUBSCRIPTION instead of -1.

Re: [HACKERS] ALTER PUBLICATION and segmentation fault

2017-03-07 Thread Masahiko Sawada
On Wed, Mar 8, 2017 at 12:45 AM, Fujii Masao wrote: > Hi, > > When I logged in PostgreSQL as non-superuser and ran > ALTER PUBLICATION command, I got a segmentation fault. > The code checking the owner of publication might have a bug. > > =# CREATE ROLE foo NOSUPERUSER LOGIN > =# \c - foo > => \dR