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

Lines changed: 1 addition & 1 deletion
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)
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