Alvaro Herrera <alvhe...@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ácter 194 > 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