aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-06-25 18:13:50 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-06-25 18:13:50 +0000
commit91e6f51afbf72c0428aefe15907e0cb62f5c1ae7 (patch)
tree0d0c2d7abb0fac11ee8cfcaea5af2cef86920ef8
parent6f30d5665c950fdd3d2dd4c0455a86fe247de093 (diff)
downloadpostgresql-91e6f51afbf72c0428aefe15907e0cb62f5c1ae7.tar.gz
postgresql-91e6f51afbf72c0428aefe15907e0cb62f5c1ae7.zip
'third' -> 'fourth' where needed, per Joe Conway.
-rw-r--r--contrib/tablefunc/tablefunc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/tablefunc/tablefunc.c b/contrib/tablefunc/tablefunc.c
index 68e001fcdf0..a220c336961 100644
--- a/contrib/tablefunc/tablefunc.c
+++ b/contrib/tablefunc/tablefunc.c
@@ -1366,10 +1366,10 @@ validateConnectbyTupleDesc(TupleDesc tupdesc, bool show_branch)
elog(ERROR, "Query-specified return tuple not valid for Connectby: "
"third column must be type %s", format_type_be(INT4OID));
- /* check that the type of the forth column is TEXT if applicable */
+ /* check that the type of the fourth column is TEXT if applicable */
if (show_branch && tupdesc->attrs[3]->atttypid != TEXTOID)
elog(ERROR, "Query-specified return tuple not valid for Connectby: "
- "third column must be type %s", format_type_be(TEXTOID));
+ "fourth column must be type %s", format_type_be(TEXTOID));
/* OK, the tupdesc is valid for our purposes */
}