]> granicus.if.org Git - postgresql/commitdiff
Correct column name in information schema
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 8 Aug 2016 01:53:16 +0000 (21:53 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 8 Aug 2016 01:56:13 +0000 (21:56 -0400)
Although the standard has routines.result_cast_character_set_name, given
the naming of the surrounding columns, we concluded that this must have
been a mistake and that result_cast_char_set_name was intended, so
change the implementation.  The documentation was already using the new
name.

found by Clément Prévost <prevostclement@gmail.com>

src/backend/catalog/information_schema.sql

index 309ac6b945debda8d9367b41f39ad93527e0e546..18be08fead5762970e7a9718422c6fd0835bd209 100644 (file)
@@ -1471,7 +1471,7 @@ CREATE VIEW routines AS
            CAST(null AS cardinal_number) AS result_cast_char_octet_length,
            CAST(null AS sql_identifier) AS result_cast_char_set_catalog,
            CAST(null AS sql_identifier) AS result_cast_char_set_schema,
-           CAST(null AS sql_identifier) AS result_cast_character_set_name,
+           CAST(null AS sql_identifier) AS result_cast_char_set_name,
            CAST(null AS sql_identifier) AS result_cast_collation_catalog,
            CAST(null AS sql_identifier) AS result_cast_collation_schema,
            CAST(null AS sql_identifier) AS result_cast_collation_name,