'third' -> 'fourth' where needed, per Joe Conway.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 25 Jun 2003 18:13:50 +0000 (18:13 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 25 Jun 2003 18:13:50 +0000 (18:13 +0000)
contrib/tablefunc/tablefunc.c

index 68e001fcdf010c72a021352d4e4262090b8b8aeb..a220c3369618be6a3d0e254c68e646946aa3593d 100644 (file)
@@ -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 */
 }