]> granicus.if.org Git - postgresql/commitdiff
Fix pg_control_checkpoint from commit 4b0d28de06
authorSimon Riggs <simon@2ndQuadrant.com>
Mon, 20 Nov 2017 21:00:54 +0000 (08:00 +1100)
committerSimon Riggs <simon@2ndQuadrant.com>
Mon, 20 Nov 2017 21:00:54 +0000 (08:00 +1100)
Author: Simon Riggs <simon@2ndQuadrant.com>
Reported-By: Andreas Seltenreich <seltenreich@gmx.de>
src/backend/utils/misc/pg_controldata.c

index 1b5086a45dd640c7e90b380a4490cc276f2b2c2d..dee6dfc12f0837cfa6a4be9713640a31c1de04ab 100644 (file)
@@ -90,7 +90,7 @@ pg_control_checkpoint(PG_FUNCTION_ARGS)
         * Construct a tuple descriptor for the result row.  This must match this
         * function's pg_proc entry!
         */
-       tupdesc = CreateTemplateTupleDesc(19, false);
+       tupdesc = CreateTemplateTupleDesc(18, false);
        TupleDescInitEntry(tupdesc, (AttrNumber) 1, "checkpoint_lsn",
                                           LSNOID, -1, 0);
        TupleDescInitEntry(tupdesc, (AttrNumber) 2, "redo_lsn",