Re: [HACKERS] Odd problem with pg_class ...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Odd problem with pg_class ...
Дата
Msg-id 9304.936284634@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Odd problem with pg_class ...  (The Hermit Hacker <scrappy@hub.org>)
Список pgsql-hackers
The Hermit Hacker <scrappy@hub.org> writes:
> NOTICE:  get_groname: group 0 not found
> pqReadData() -- backend closed the channel unexpectedly.

get_groname returns NULL on failure, and it looks like aclitemout
in backend/utils/adt/acl.c isn't checking for that.  Probably
aclitemout ought to produce the decimal equivalent of the group ID
if no name is available.  Compare what it does in the UID case just
above.

BTW, the ifdef'd out elog(NOTICE) in the UID case could be re-enabled
now, because I fixed the FE/BE protocol problem with NOTICEs generated
by type conversion routines...
        regards, tom lane


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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: [HACKERS] Implications of multi-byte support in a distribution
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] md.c is feeling much better now, thank you