Re: Duplicate object names in GRANT

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Duplicate object names in GRANT
Дата
Msg-id 21741.1122439286@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Duplicate object names in GRANT  (Gavin Sherry <swm@linuxworld.com.au>)
Ответы Re: Duplicate object names in GRANT  (Gavin Sherry <swm@linuxworld.com.au>)
Список pgsql-hackers
Gavin Sherry <swm@linuxworld.com.au> 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 do away with the error by producing a unique list of object names
> -- but that would impose an extra cost on the common case.

CommandCounterIncrement in the GRANT loop would be easier, likely.
I'm having a hard time getting excited about it though...
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: RESULT_OID Bug
Следующее
От: Tom Lane
Дата:
Сообщение: Re: RESULT_OID Bug