Re: [HACKERS] strange relcache.c debug message

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] strange relcache.c debug message
Дата
Msg-id 5296.1509545747@sss.pgh.pa.us
обсуждение исходный текст
Список pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> While messing with BRIN bugs, I noticed this debug message in the server
> log:
> 2017-11-01 12:33:24.042 CET [361429] DEBUG:  rehashing catalog cache id 14 for pg_opclass; 17 tups, 8 buckets en
carácter194 
> notice that at the end it says "at character 194".  I suppose that's
> because of some leftover errposition() value, but why is it being
> reported in this message?

IIRC, there are places in the parser that set up an error callback that
will attach an errposition to any message at all that gets reported within
a particular chunk of code.  It's meant to catch something like "name not
found" but could produce this too.
        regards, tom lane


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: [HACKERS] proposal: extend shm_mq to support more use cases
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] pg_basebackup fails on Windows when using tablespacemapping