Re: [HACKERS] unexpected default ACL type 83

2011-04-20 Thread Robert Haas
On Wed, Apr 20, 2011 at 7:34 AM, Shigeru Hanada wrote: > I found that DROP OWNED BY can cause $SUBJECT. > > How to reproduce the error: > > > CREATE USER foo; > ALTER DEFAULT PRIVILEGES GRANT ALL ON SEQUENCES TO foo; > DROP OWNED BY foo; > > > Attached patch would fix this issue. Nice c

[HACKERS] unexpected default ACL type 83

2011-04-20 Thread Shigeru Hanada
I found that DROP OWNED BY can cause $SUBJECT. How to reproduce the error: CREATE USER foo; ALTER DEFAULT PRIVILEGES GRANT ALL ON SEQUENCES TO foo; DROP OWNED BY foo; Attached patch would fix this issue. Regards, -- Shigeru Hanada diff --git a/src/backend/catalog/aclchk.c b/src/backe