Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 8729fa7

Browse files
committed
Fix tuple column count in pg_control_init().
Oversight in commit 2e4db24. Nathan Bossart Discussion: https://postgr.es/m/1B616360-396A-4482-AA28-375566C86160@amazon.com
1 parent 877b61e commit 8729fa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/misc/pg_controldata.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ pg_control_init(PG_FUNCTION_ARGS)
275275
* Construct a tuple descriptor for the result row. This must match this
276276
* function's pg_proc entry!
277277
*/
278-
tupdesc = CreateTemplateTupleDesc(12);
278+
tupdesc = CreateTemplateTupleDesc(11);
279279
TupleDescInitEntry(tupdesc, (AttrNumber) 1, "max_data_alignment",
280280
INT4OID, -1, 0);
281281
TupleDescInitEntry(tupdesc, (AttrNumber) 2, "database_block_size",

0 commit comments

Comments
 (0)