Re: [PATCHES] [HACKERS] Duplicate object names in GRANT

2005-08-12 Thread Bruce Momjian
Patch applied. Thanks. I also added a comment above each one to mention why it is needed. --- Gavin Sherry wrote: > On Wed, 27 Jul 2005, Tom Lane wrote: > > > Gavin Sherry <[EMAIL PROTECTED]> writes: > > > I ran across t

Re: [HACKERS] Duplicate object names in GRANT

2005-07-27 Thread Gavin Sherry
On Wed, 27 Jul 2005, Tom Lane wrote: > Gavin Sherry <[EMAIL PROTECTED]> writes: > > I ran across this yesterday on HEAD: > > > template1=# grant select on foo, foo to swm; > > ERROR: tuple already updated by self > > Seems to fail similarly in every version back to 7.2; probably further, > but th

Re: [HACKERS] Duplicate object names in GRANT

2005-07-26 Thread Tom Lane
Gavin Sherry <[EMAIL PROTECTED]> writes: > I ran across this yesterday on HEAD: > template1=# grant select on foo, foo to swm; > ERROR: tuple already updated by self Seems to fail similarly in every version back to 7.2; probably further, but that's all I have running at the moment. > We could d

[HACKERS] Duplicate object names in GRANT

2005-07-26 Thread Gavin Sherry
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 us