Re: [HACKERS] Verbosity of column definition mismatch error

2005-01-11 Thread Tom Lane
Brendan Jurd <[EMAIL PROTECTED]> writes: > While I was playing around in nodeFunctionscan.c, I noticed what seems > to be a minor bug in the latest CVS version. If you get the column > definition wrong in your query, the error displays twice. Not here. I think you've got postmaster stderr poin

Re: [HACKERS] Verbosity of column definition mismatch error

2005-01-10 Thread Brendan Jurd
Tom Lane wrote: Brendan Jurd <[EMAIL PROTECTED]> writes: ERROR: query-specified return row and actual function return row do not match With that in mind, I'd like to submit a request, that the verbosity of this error message be increased to explain which ordinal column position the e

Re: [HACKERS] Verbosity of column definition mismatch error

2005-01-10 Thread Tom Lane
Brendan Jurd <[EMAIL PROTECTED]> writes: > ERROR: query-specified return row and actual function return row do not > match > With that in mind, I'd like to submit a request, that the verbosity of > this error message be increased to explain which ordinal column position > the error occurred at

[HACKERS] Verbosity of column definition mismatch error

2005-01-10 Thread Brendan Jurd
Originally posted in psql-general, submitted here as a prospective RFE: When using a row-returning function (RETURNS SETOF record) in the FROM clause of a query, you have to supply a column definition list. I was recently attempting to use a row-returning function in a query and received the fo