pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Don't create a shell type for a function returning SETOF 6+ messages / 1 participants [nested] [flat]
* pgsql: Don't create a shell type for a function returning SETOF @ 2026-11-18 15:14 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2026-11-18 15:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Don't create a shell type for a function returning SETOF Commit 2866d8c7db tightened the rules for when CREATE FUNCTION creates a shell type. Tighten some more, to not create a shell type for functions returning SETOF either, for similar reasons. Backpatch to all supported versions, like commit 2866d8c7db (v14 is no longer supported however). Author: Ewan Young <kdbase.hack@gmail.com> Discussion: https://www.postgresql.org/message-id/CAON2xHN8y=9KeFnEb4KAKPvVks5VQaMUFJSGTv3T9VY777EKRw@mail.gmail... Backpatch-through: 15 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/555d97c318533c9ae6d95b89ab672c2ba9cb0b05 Modified Files -------------- src/backend/commands/functioncmds.c | 3 ++- src/test/regress/expected/create_type.out | 6 ++++++ src/test/regress/sql/create_type.sql | 6 ++++++ 3 files changed, 14 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Don't create a shell type for a function returning SETOF @ 2026-11-18 15:14 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2026-11-18 15:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Don't create a shell type for a function returning SETOF Commit 2866d8c7db tightened the rules for when CREATE FUNCTION creates a shell type. Tighten some more, to not create a shell type for functions returning SETOF either, for similar reasons. Backpatch to all supported versions, like commit 2866d8c7db (v14 is no longer supported however). Author: Ewan Young <kdbase.hack@gmail.com> Discussion: https://www.postgresql.org/message-id/CAON2xHN8y=9KeFnEb4KAKPvVks5VQaMUFJSGTv3T9VY777EKRw@mail.gmail... Backpatch-through: 15 Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/6099030d8ca29ef0a4f7502038fc3c8d88045557 Modified Files -------------- src/backend/commands/functioncmds.c | 3 ++- src/test/regress/expected/create_type.out | 6 ++++++ src/test/regress/sql/create_type.sql | 6 ++++++ 3 files changed, 14 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Don't create a shell type for a function returning SETOF @ 2026-11-18 15:14 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2026-11-18 15:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Don't create a shell type for a function returning SETOF Commit 2866d8c7db tightened the rules for when CREATE FUNCTION creates a shell type. Tighten some more, to not create a shell type for functions returning SETOF either, for similar reasons. Backpatch to all supported versions, like commit 2866d8c7db (v14 is no longer supported however). Author: Ewan Young <kdbase.hack@gmail.com> Discussion: https://www.postgresql.org/message-id/CAON2xHN8y=9KeFnEb4KAKPvVks5VQaMUFJSGTv3T9VY777EKRw@mail.gmail... Backpatch-through: 15 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/7c19a14bbef39c58cb0029b95449e583822a182c Modified Files -------------- src/backend/commands/functioncmds.c | 3 ++- src/test/regress/expected/create_type.out | 6 ++++++ src/test/regress/sql/create_type.sql | 6 ++++++ 3 files changed, 14 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Don't create a shell type for a function returning SETOF @ 2026-11-18 15:14 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2026-11-18 15:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Don't create a shell type for a function returning SETOF Commit 2866d8c7db tightened the rules for when CREATE FUNCTION creates a shell type. Tighten some more, to not create a shell type for functions returning SETOF either, for similar reasons. Backpatch to all supported versions, like commit 2866d8c7db (v14 is no longer supported however). Author: Ewan Young <kdbase.hack@gmail.com> Discussion: https://www.postgresql.org/message-id/CAON2xHN8y=9KeFnEb4KAKPvVks5VQaMUFJSGTv3T9VY777EKRw@mail.gmail... Backpatch-through: 15 Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/162cf60d925e649e10696b3ac5c300cef9113fa9 Modified Files -------------- src/backend/commands/functioncmds.c | 3 ++- src/test/regress/expected/create_type.out | 6 ++++++ src/test/regress/sql/create_type.sql | 6 ++++++ 3 files changed, 14 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Don't create a shell type for a function returning SETOF @ 2026-11-18 15:14 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2026-11-18 15:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Don't create a shell type for a function returning SETOF Commit 2866d8c7db tightened the rules for when CREATE FUNCTION creates a shell type. Tighten some more, to not create a shell type for functions returning SETOF either, for similar reasons. Backpatch to all supported versions, like commit 2866d8c7db (v14 is no longer supported however). Author: Ewan Young <kdbase.hack@gmail.com> Discussion: https://www.postgresql.org/message-id/CAON2xHN8y=9KeFnEb4KAKPvVks5VQaMUFJSGTv3T9VY777EKRw@mail.gmail... Backpatch-through: 15 Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/2d0801acd8b37ac131983b68822f4e463966a880 Modified Files -------------- src/backend/commands/functioncmds.c | 3 ++- src/test/regress/expected/create_type.out | 6 ++++++ src/test/regress/sql/create_type.sql | 6 ++++++ 3 files changed, 14 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Don't create a shell type for a function returning SETOF @ 2026-11-18 15:14 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2026-11-18 15:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Don't create a shell type for a function returning SETOF Commit 2866d8c7db tightened the rules for when CREATE FUNCTION creates a shell type. Tighten some more, to not create a shell type for functions returning SETOF either, for similar reasons. Backpatch to all supported versions, like commit 2866d8c7db (v14 is no longer supported however). Author: Ewan Young <kdbase.hack@gmail.com> Discussion: https://www.postgresql.org/message-id/CAON2xHN8y=9KeFnEb4KAKPvVks5VQaMUFJSGTv3T9VY777EKRw@mail.gmail... Backpatch-through: 15 Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d7dc7fdb5ef8577ee0fc9155a87a3ecda18ab751 Modified Files -------------- src/backend/commands/functioncmds.c | 3 ++- src/test/regress/expected/create_type.out | 6 ++++++ src/test/regress/sql/create_type.sql | 6 ++++++ 3 files changed, 14 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2026-11-18 15:14 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-11-18 15:14 pgsql: Don't create a shell type for a function returning SETOF Heikki Linnakangas <heikki.linnakangas@iki.fi> 2026-11-18 15:14 pgsql: Don't create a shell type for a function returning SETOF Heikki Linnakangas <heikki.linnakangas@iki.fi> 2026-11-18 15:14 pgsql: Don't create a shell type for a function returning SETOF Heikki Linnakangas <heikki.linnakangas@iki.fi> 2026-11-18 15:14 pgsql: Don't create a shell type for a function returning SETOF Heikki Linnakangas <heikki.linnakangas@iki.fi> 2026-11-18 15:14 pgsql: Don't create a shell type for a function returning SETOF Heikki Linnakangas <heikki.linnakangas@iki.fi> 2026-11-18 15:14 pgsql: Don't create a shell type for a function returning SETOF Heikki Linnakangas <heikki.linnakangas@iki.fi>
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