Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit86d9888

Browse files
committed
Fix incorrect field count in pg_control_checkpoint()
18 columns are generated in this function, but we had enough space for19 of them. Introduced by4b0d28d.Author: Bharath RupireddyReviewed-by: Justin Pryzby, Euler TaveiraDiscussion:https://postgr.es/m/CALj2ACVQ=hAs=sT0n4xriimqRrrgECySfg_tSqA+26Rb_yfs2A@mail.gmail.com
1 parent5e64ad3 commit86d9888

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-
Datumvalues[19];
83-
boolnulls[19];
82+
Datumvalues[18];
83+
boolnulls[18];
8484
TupleDesctupdesc;
8585
HeapTuplehtup;
8686
ControlFileData*ControlFile;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp