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

Commitf9cd2b7

Browse files
committed
Fix incorrect pg_proc.proallargtypes entries for two built-in functions.
pg_sequence_parameters() and pg_identify_object() have had incorrectproallargtypes entries since 9.1 and 9.3 respectively. This was mostlymasked by the correct information in proargtypes, but a few operationssuch as pg_get_function_arguments() (and thus psql's \df display) wouldshow the wrong data types for these functions' input parameters.In HEAD, fix the wrong info, bump catversion, and add an opr_sanityregression test to catch future mistakes of this sort.In the back branches, just fix the wrong info so that installationsinitdb'd with future minor releases will have the right data. Wecan't force an initdb, and it doesn't seem like a good idea to adda regression test that will fail on existing installations.Andres Freund
1 parent6c5cba8 commitf9cd2b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/include/catalog/pg_proc.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1746,7 +1746,7 @@ DATA(insert OID = 1576 ( setvalPGNSP PGUID 12 1 0 0 0 f f f f t f v 2 0 20 "
17461746
DESCR("set sequence value");
17471747
DATA(insertOID=1765 (setvalPGNSPPGUID121000fffftfv3020"2205 20 16"_null__null__null__null_setval3_oid_null__null__null_ ));
17481748
DESCR("set sequence value and is_called status");
1749-
DATA(insertOID=3078 (pg_sequence_parametersPGNSPPGUID121000fffftfs102249"26""{23,20,20,20,20,16}""{i,o,o,o,o,o}""{sequence_oid,start_value,minimum_value,maximum_value,increment,cycle_option}"_null_pg_sequence_parameters_null__null__null_));
1749+
DATA(insertOID=3078 (pg_sequence_parametersPGNSPPGUID121000fffftfs102249"26""{26,20,20,20,20,16}""{i,o,o,o,o,o}""{sequence_oid,start_value,minimum_value,maximum_value,increment,cycle_option}"_null_pg_sequence_parameters_null__null__null_));
17501750
DESCR("sequence parameters, for use by information schema");
17511751

17521752
DATA(insertOID=1579 (varbit_inPGNSPPGUID121000fffftfi301562"2275 26 23"_null__null__null__null_varbit_in_null__null__null_ ));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp