Tom Lane wrote: > Robert Haas <robertmh...@gmail.com> writes: > > It would sure be nice if those cache lookup failure messages printed > > the file and line number. I wonder if we could teach psql to always > > treat the VERBOSITY as verbose when the error code is XX000. > > I looked around when I saw the earlier ones of these, and had more or less > convinced myself that the errors were probably coming from one of the > lsyscache.c convenience subroutines. If that's true, we'd need a stack > trace to have much hope of identifying the cause.
Maybe we can have a code path that calls backtrace() somewhere in errfinish, for platforms that support that. At least grouse uses gcc, so I suppose it must also use glibc. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers