Adding more context to tuptoaster's elog messages

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Adding more context to tuptoaster's elog messages
Date: 2008-06-11 23:14:35
Message-ID: 20947.1213226075@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Reflecting on this thread:
http://archives.postgresql.org/pgsql-general/2008-06/msg00344.php
it strikes me that the elog messages in tuptoaster.c would be
significantly more useful if they gave the name of the toast table
containing the problem, which is readily available at the sites of
the elog calls. Any objections? Should I back-patch that, or
just do it in HEAD?

(Since these are elog's not ereport's, there's no translation impact
from choosing to back-patch. I agree with their being elog's because
they should be can't-happen cases, but when they do happen ...)

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2008-06-11 23:24:16 .psqlrc output for \pset commands
Previous Message Bruce Momjian 2008-06-11 23:00:13 Re: Overhauling GUCS