Skip to content

Commit 86d9888

Browse files
committed
Fix incorrect field count in pg_control_checkpoint()
18 columns are generated in this function, but we had enough space for 19 of them. Introduced by 4b0d28d. Author: Bharath Rupireddy Reviewed-by: Justin Pryzby, Euler Taveira Discussion: https://postgr.es/m/CALj2ACVQ=hAs=sT0n4xriimqRrrgECySfg_tSqA+26Rb_yfs2A@mail.gmail.com
1 parent 5e64ad3 commit 86d9888

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/utils/misc/pg_controldata.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ pg_control_system(PG_FUNCTION_ARGS)
7979
Datum
8080
pg_control_checkpoint(PG_FUNCTION_ARGS)
8181
{
82-
Datum values[19];
83-
bool nulls[19];
82+
Datum values[18];
83+
bool nulls[18];
8484
TupleDesc tupdesc;
8585
HeapTuple htup;
8686
ControlFileData *ControlFile;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy