[HACKERS] ALTER PUBLICATION and segmentation fault - Mailing list pgsql-hackers

From Fujii Masao
Subject [HACKERS] ALTER PUBLICATION and segmentation fault
Date
Msg-id CAHGQGwE76ZRObHr7TdFHUNsHY2G3ysXtMXJPRC=VFaH=WFcxAQ@mail.gmail.com
Whole thread Raw
Responses Re: [HACKERS] ALTER PUBLICATION and segmentation fault  (Masahiko Sawada <sawada.mshk@gmail.com>)
List pgsql-hackers
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
=> \dRp             List of publicationsName  |  Owner   | Inserts | Updates | Deletes
-------+----------+---------+---------+---------mypub | postgres | t       | t       | t
=> ALTER PUBLICATION mypub RENAME TO hoge;

LOG:  server process (PID 80356) was terminated by signal 11: Segmentation fault
DETAIL:  Failed process was running: ALTER PUBLICATION mypub RENAME TO hoge;

Regards,

-- 
Fujii Masao



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [HACKERS] Need a builtin way to run all tests faster manner
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] wait events for disk I/O