Duplicate object names in GRANT - Mailing list pgsql-hackers

From Gavin Sherry
Subject Duplicate object names in GRANT
Date
Msg-id Pine.LNX.4.58.0507271339530.22654@linuxworld.com.au
Whole thread Raw
Responses Re: Duplicate object names in GRANT
List pgsql-hackers
Hi all,

I ran across this yesterday on HEAD:

template1=# grant select on foo, foo to swm;
ERROR:  tuple already updated by self

We could do away with the error by producing a unique list of object names
-- but that would impose an extra cost on the common case. It seems to me
that producing a useful error message would entail the same cost, however.

Thoughts?

Gavin


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: ENUM type
Next
From:
Date:
Subject: psql as an execve(2) interpreter