connectby() minor bug in errormessage

Started by Nabil Sayeghabout 23 years ago4 messagespatches
Jump to latest
#1Nabil Sayegh
postgresql@e-trolley.de

validateConnectbyTupleDesc

When the fourth column (tupdesc->attrs[3]) fails the type check, the
errormessage should be "fourth column must be..." and not "third column
must be ..."

line 1372
http://www.joeconway.com/tablefunc.tar.gz

bye
--
e-Trolley Sayegh & John, Nabil Sayegh
Tel.: 0700 etrolley /// 0700 38765539
Fax.: +49 69 8299381-8
PGP : http://www.e-trolley.de

#2Joe Conway
mail@joeconway.com
In reply to: Nabil Sayegh (#1)
Re: connectby() minor bug in errormessage

Nabil Sayegh wrote:

validateConnectbyTupleDesc

When the fourth column (tupdesc->attrs[3]) fails the type check, the
errormessage should be "fourth column must be..." and not "third column
must be ..."

line 1372
http://www.joeconway.com/tablefunc.tar.gz

Yup, looks like a cut-n-pasteo.

Thanks,

Joe

#3Joe Conway
mail@joeconway.com
In reply to: Nabil Sayegh (#1)
Re: [NOVICE] connectby() minor bug in errormessage

Nabil Sayegh wrote:

validateConnectbyTupleDesc

When the fourth column (tupdesc->attrs[3]) fails the type check, the
errormessage should be "fourth column must be..." and not "third column
must be ..."

line 1372
http://www.joeconway.com/tablefunc.tar.gz

Attached is a patch for the issue reported above by Nabil. Please apply.

Thanks,

Joe

Attachments:

connectby-msg-fix.patchtext/plain; name=connectby-msg-fix.patchDownload+2-2
#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Joe Conway (#3)
Re: [NOVICE] connectby() minor bug in errormessage

Joe Conway <mail@joeconway.com> writes:

Attached is a patch for the issue reported above by Nabil. Please apply.

Applied (with correct spelling ...)

regards, tom lane