mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
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
This commit is contained in:
@ -79,8 +79,8 @@ pg_control_system(PG_FUNCTION_ARGS)
|
|||||||
Datum
|
Datum
|
||||||
pg_control_checkpoint(PG_FUNCTION_ARGS)
|
pg_control_checkpoint(PG_FUNCTION_ARGS)
|
||||||
{
|
{
|
||||||
Datum values[19];
|
Datum values[18];
|
||||||
bool nulls[19];
|
bool nulls[18];
|
||||||
TupleDesc tupdesc;
|
TupleDesc tupdesc;
|
||||||
HeapTuple htup;
|
HeapTuple htup;
|
||||||
ControlFileData *ControlFile;
|
ControlFileData *ControlFile;
|
||||||
|
Reference in New Issue
Block a user