mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-30 15:11:16 +02:00
Fix tuple column count in pg_control_init().
Oversight in commit 2e4db241b
.
Nathan Bossart
Discussion: https://postgr.es/m/1B616360-396A-4482-AA28-375566C86160@amazon.com
This commit is contained in:
parent
877b61e9ce
commit
8729fa7248
@ -275,7 +275,7 @@ pg_control_init(PG_FUNCTION_ARGS)
|
|||||||
* Construct a tuple descriptor for the result row. This must match this
|
* Construct a tuple descriptor for the result row. This must match this
|
||||||
* function's pg_proc entry!
|
* function's pg_proc entry!
|
||||||
*/
|
*/
|
||||||
tupdesc = CreateTemplateTupleDesc(12);
|
tupdesc = CreateTemplateTupleDesc(11);
|
||||||
TupleDescInitEntry(tupdesc, (AttrNumber) 1, "max_data_alignment",
|
TupleDescInitEntry(tupdesc, (AttrNumber) 1, "max_data_alignment",
|
||||||
INT4OID, -1, 0);
|
INT4OID, -1, 0);
|
||||||
TupleDescInitEntry(tupdesc, (AttrNumber) 2, "database_block_size",
|
TupleDescInitEntry(tupdesc, (AttrNumber) 2, "database_block_size",
|
||||||
|
Loading…
Reference in New Issue
Block a user