pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Require the schema qualification in pg_temp.type_name(arg). 7+ messages / 1 participants [nested] [flat]
* pgsql: Require the schema qualification in pg_temp.type_name(arg). @ 2019-08-05 14:49 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 7+ messages in thread From: Noah Misch @ 2019-08-05 14:49 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Require the schema qualification in pg_temp.type_name(arg). Commit aa27977fe21a7dfa4da4376ad66ae37cb8f0d0b5 introduced this restriction for pg_temp.function_name(arg); do likewise for types created in temporary schemas. Programs that this breaks should add "pg_temp." schema qualification or switch to arg::type_name syntax. Back-patch to 9.4 (all supported versions). Reviewed by Tom Lane. Reported by Tom Lane. Security: CVE-2019-10208 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/ffa2d37e5fbd1243f918f622113d6e371667e5a0 Modified Files -------------- doc/src/sgml/config.sgml | 4 ++++ src/backend/catalog/namespace.c | 15 ++++++++++++++- src/backend/parser/parse_func.c | 7 ++++++- src/backend/parser/parse_type.c | 24 +++++++++++++++++++++--- src/backend/utils/adt/ruleutils.c | 8 ++++++++ src/include/catalog/namespace.h | 1 + src/include/parser/parse_type.h | 3 +++ src/test/regress/expected/temp.out | 15 +++++++++++++++ src/test/regress/sql/temp.sql | 11 +++++++++++ 9 files changed, 83 insertions(+), 5 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Require the schema qualification in pg_temp.type_name(arg). @ 2019-08-05 14:49 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 7+ messages in thread From: Noah Misch @ 2019-08-05 14:49 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Require the schema qualification in pg_temp.type_name(arg). Commit aa27977fe21a7dfa4da4376ad66ae37cb8f0d0b5 introduced this restriction for pg_temp.function_name(arg); do likewise for types created in temporary schemas. Programs that this breaks should add "pg_temp." schema qualification or switch to arg::type_name syntax. Back-patch to 9.4 (all supported versions). Reviewed by Tom Lane. Reported by Tom Lane. Security: CVE-2019-10208 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/9993fa9dd25d01e99748869b1fb1d6f4dc03960e Modified Files -------------- doc/src/sgml/config.sgml | 4 ++++ src/backend/catalog/namespace.c | 15 ++++++++++++++- src/backend/parser/parse_func.c | 7 ++++++- src/backend/parser/parse_type.c | 24 +++++++++++++++++++++--- src/backend/utils/adt/ruleutils.c | 8 ++++++++ src/include/catalog/namespace.h | 1 + src/include/parser/parse_type.h | 3 +++ src/test/regress/expected/temp.out | 15 +++++++++++++++ src/test/regress/sql/temp.sql | 11 +++++++++++ 9 files changed, 83 insertions(+), 5 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Require the schema qualification in pg_temp.type_name(arg). @ 2019-08-05 14:49 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 7+ messages in thread From: Noah Misch @ 2019-08-05 14:49 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Require the schema qualification in pg_temp.type_name(arg). Commit aa27977fe21a7dfa4da4376ad66ae37cb8f0d0b5 introduced this restriction for pg_temp.function_name(arg); do likewise for types created in temporary schemas. Programs that this breaks should add "pg_temp." schema qualification or switch to arg::type_name syntax. Back-patch to 9.4 (all supported versions). Reviewed by Tom Lane. Reported by Tom Lane. Security: CVE-2019-10208 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/21f94c51f680cefa2ea6b0d94aa8a967a375afc6 Modified Files -------------- doc/src/sgml/config.sgml | 4 ++++ src/backend/catalog/namespace.c | 15 ++++++++++++++- src/backend/parser/parse_func.c | 7 ++++++- src/backend/parser/parse_type.c | 24 +++++++++++++++++++++--- src/backend/utils/adt/ruleutils.c | 8 ++++++++ src/include/catalog/namespace.h | 1 + src/include/parser/parse_type.h | 3 +++ src/test/regress/expected/temp.out | 15 +++++++++++++++ src/test/regress/sql/temp.sql | 11 +++++++++++ 9 files changed, 83 insertions(+), 5 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Require the schema qualification in pg_temp.type_name(arg). @ 2019-08-05 14:49 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 7+ messages in thread From: Noah Misch @ 2019-08-05 14:49 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Require the schema qualification in pg_temp.type_name(arg). Commit aa27977fe21a7dfa4da4376ad66ae37cb8f0d0b5 introduced this restriction for pg_temp.function_name(arg); do likewise for types created in temporary schemas. Programs that this breaks should add "pg_temp." schema qualification or switch to arg::type_name syntax. Back-patch to 9.4 (all supported versions). Reviewed by Tom Lane. Reported by Tom Lane. Security: CVE-2019-10208 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/2062007cbf7008de383c8f2f4a9ad466ea243acf Modified Files -------------- doc/src/sgml/config.sgml | 4 ++++ src/backend/catalog/namespace.c | 15 ++++++++++++++- src/backend/parser/parse_func.c | 7 ++++++- src/backend/parser/parse_type.c | 24 +++++++++++++++++++++--- src/backend/utils/adt/ruleutils.c | 8 ++++++++ src/include/catalog/namespace.h | 1 + src/include/parser/parse_type.h | 3 +++ src/test/regress/expected/temp.out | 15 +++++++++++++++ src/test/regress/sql/temp.sql | 11 +++++++++++ 9 files changed, 83 insertions(+), 5 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Require the schema qualification in pg_temp.type_name(arg). @ 2019-08-05 14:49 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 7+ messages in thread From: Noah Misch @ 2019-08-05 14:49 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Require the schema qualification in pg_temp.type_name(arg). Commit aa27977fe21a7dfa4da4376ad66ae37cb8f0d0b5 introduced this restriction for pg_temp.function_name(arg); do likewise for types created in temporary schemas. Programs that this breaks should add "pg_temp." schema qualification or switch to arg::type_name syntax. Back-patch to 9.4 (all supported versions). Reviewed by Tom Lane. Reported by Tom Lane. Security: CVE-2019-10208 Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/7da46192dd7e95326d1b83a2ddcda420c1cefcae Modified Files -------------- doc/src/sgml/config.sgml | 4 ++++ src/backend/catalog/namespace.c | 15 ++++++++++++++- src/backend/parser/parse_func.c | 7 ++++++- src/backend/parser/parse_type.c | 24 +++++++++++++++++++++--- src/backend/utils/adt/ruleutils.c | 8 ++++++++ src/include/catalog/namespace.h | 1 + src/include/parser/parse_type.h | 3 +++ src/test/regress/expected/temp.out | 15 +++++++++++++++ src/test/regress/sql/temp.sql | 11 +++++++++++ 9 files changed, 83 insertions(+), 5 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Require the schema qualification in pg_temp.type_name(arg). @ 2019-08-05 14:49 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 7+ messages in thread From: Noah Misch @ 2019-08-05 14:49 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Require the schema qualification in pg_temp.type_name(arg). Commit aa27977fe21a7dfa4da4376ad66ae37cb8f0d0b5 introduced this restriction for pg_temp.function_name(arg); do likewise for types created in temporary schemas. Programs that this breaks should add "pg_temp." schema qualification or switch to arg::type_name syntax. Back-patch to 9.4 (all supported versions). Reviewed by Tom Lane. Reported by Tom Lane. Security: CVE-2019-10208 Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/752fa3dbfc36c70a692986b56daac41410fca3f6 Modified Files -------------- doc/src/sgml/config.sgml | 4 ++++ src/backend/catalog/namespace.c | 15 ++++++++++++++- src/backend/parser/parse_func.c | 7 ++++++- src/backend/parser/parse_type.c | 24 +++++++++++++++++++++--- src/backend/utils/adt/ruleutils.c | 8 ++++++++ src/include/catalog/namespace.h | 1 + src/include/parser/parse_type.h | 3 +++ src/test/regress/expected/temp.out | 15 +++++++++++++++ src/test/regress/sql/temp.sql | 11 +++++++++++ 9 files changed, 83 insertions(+), 5 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Require the schema qualification in pg_temp.type_name(arg). @ 2019-08-05 14:49 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 7+ messages in thread From: Noah Misch @ 2019-08-05 14:49 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Require the schema qualification in pg_temp.type_name(arg). Commit aa27977fe21a7dfa4da4376ad66ae37cb8f0d0b5 introduced this restriction for pg_temp.function_name(arg); do likewise for types created in temporary schemas. Programs that this breaks should add "pg_temp." schema qualification or switch to arg::type_name syntax. Back-patch to 9.4 (all supported versions). Reviewed by Tom Lane. Reported by Tom Lane. Security: CVE-2019-10208 Branch ------ REL9_4_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/86737438b2449832371ca8295f8af48630d8481e Modified Files -------------- doc/src/sgml/config.sgml | 4 ++++ src/backend/catalog/namespace.c | 15 ++++++++++++++- src/backend/parser/parse_func.c | 7 ++++++- src/backend/parser/parse_type.c | 24 +++++++++++++++++++++--- src/backend/utils/adt/ruleutils.c | 8 ++++++++ src/include/catalog/namespace.h | 1 + src/include/parser/parse_type.h | 3 +++ src/test/regress/expected/temp.out | 15 +++++++++++++++ src/test/regress/sql/temp.sql | 11 +++++++++++ 9 files changed, 83 insertions(+), 5 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2019-08-05 14:49 UTC | newest] Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-08-05 14:49 pgsql: Require the schema qualification in pg_temp.type_name(arg). Noah Misch <noah@leadboat.com> 2019-08-05 14:49 pgsql: Require the schema qualification in pg_temp.type_name(arg). Noah Misch <noah@leadboat.com> 2019-08-05 14:49 pgsql: Require the schema qualification in pg_temp.type_name(arg). Noah Misch <noah@leadboat.com> 2019-08-05 14:49 pgsql: Require the schema qualification in pg_temp.type_name(arg). Noah Misch <noah@leadboat.com> 2019-08-05 14:49 pgsql: Require the schema qualification in pg_temp.type_name(arg). Noah Misch <noah@leadboat.com> 2019-08-05 14:49 pgsql: Require the schema qualification in pg_temp.type_name(arg). Noah Misch <noah@leadboat.com> 2019-08-05 14:49 pgsql: Require the schema qualification in pg_temp.type_name(arg). Noah Misch <noah@leadboat.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox