pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Skip bogus find_composite_type_dependencies() call on sequences
6+ messages / 1 participants
[nested] [flat]

* pgsql: Skip bogus find_composite_type_dependencies() call on sequences
@ 2026-08-20 08:56  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2026-08-20 08:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Skip bogus find_composite_type_dependencies() call on sequences

A sequence has no rowtype.  We called
find_composite_type_dependencies() with InvalidOid, which is harmless
but pointless.  Skip it.

This started to happen with commit 344d62fb9a97 in v15, which added
the ALTER SEQUENCE ... SET LOGGED/UNLOGGED subcommand.  Before that,
sequences were never rewritten.  While this is harmless, backpatch to
keep the code the same on all branches, to make backpatching future
patches a little easier.

Backpatch-through: 15

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/539e6a916eef09dc6b7c3abb603722af772b1386

Modified Files
--------------
src/backend/commands/tablecmds.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Skip bogus find_composite_type_dependencies() call on sequences
@ 2026-08-20 08:56  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2026-08-20 08:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Skip bogus find_composite_type_dependencies() call on sequences

A sequence has no rowtype.  We called
find_composite_type_dependencies() with InvalidOid, which is harmless
but pointless.  Skip it.

This started to happen with commit 344d62fb9a97 in v15, which added
the ALTER SEQUENCE ... SET LOGGED/UNLOGGED subcommand.  Before that,
sequences were never rewritten.  While this is harmless, backpatch to
keep the code the same on all branches, to make backpatching future
patches a little easier.

Backpatch-through: 15

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d85a2590075fe652739a18be6f4bf0047a433218

Modified Files
--------------
src/backend/commands/tablecmds.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Skip bogus find_composite_type_dependencies() call on sequences
@ 2026-08-20 08:56  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2026-08-20 08:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Skip bogus find_composite_type_dependencies() call on sequences

A sequence has no rowtype.  We called
find_composite_type_dependencies() with InvalidOid, which is harmless
but pointless.  Skip it.

This started to happen with commit 344d62fb9a97 in v15, which added
the ALTER SEQUENCE ... SET LOGGED/UNLOGGED subcommand.  Before that,
sequences were never rewritten.  While this is harmless, backpatch to
keep the code the same on all branches, to make backpatching future
patches a little easier.

Backpatch-through: 15

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d78040a469b8439bc4ce234477e4c5bd381e6608

Modified Files
--------------
src/backend/commands/tablecmds.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Skip bogus find_composite_type_dependencies() call on sequences
@ 2026-08-20 08:56  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2026-08-20 08:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Skip bogus find_composite_type_dependencies() call on sequences

A sequence has no rowtype.  We called
find_composite_type_dependencies() with InvalidOid, which is harmless
but pointless.  Skip it.

This started to happen with commit 344d62fb9a97 in v15, which added
the ALTER SEQUENCE ... SET LOGGED/UNLOGGED subcommand.  Before that,
sequences were never rewritten.  While this is harmless, backpatch to
keep the code the same on all branches, to make backpatching future
patches a little easier.

Backpatch-through: 15

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/25251bb27fad53075b94556dabc486fc8de84ba4

Modified Files
--------------
src/backend/commands/tablecmds.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Skip bogus find_composite_type_dependencies() call on sequences
@ 2026-08-20 08:56  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2026-08-20 08:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Skip bogus find_composite_type_dependencies() call on sequences

A sequence has no rowtype.  We called
find_composite_type_dependencies() with InvalidOid, which is harmless
but pointless.  Skip it.

This started to happen with commit 344d62fb9a97 in v15, which added
the ALTER SEQUENCE ... SET LOGGED/UNLOGGED subcommand.  Before that,
sequences were never rewritten.  While this is harmless, backpatch to
keep the code the same on all branches, to make backpatching future
patches a little easier.

Backpatch-through: 15

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ad0256238f920dd1e8f180a97c44370dca19771a

Modified Files
--------------
src/backend/commands/tablecmds.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Skip bogus find_composite_type_dependencies() call on sequences
@ 2026-08-20 08:56  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2026-08-20 08:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Skip bogus find_composite_type_dependencies() call on sequences

A sequence has no rowtype.  We called
find_composite_type_dependencies() with InvalidOid, which is harmless
but pointless.  Skip it.

This started to happen with commit 344d62fb9a97 in v15, which added
the ALTER SEQUENCE ... SET LOGGED/UNLOGGED subcommand.  Before that,
sequences were never rewritten.  While this is harmless, backpatch to
keep the code the same on all branches, to make backpatching future
patches a little easier.

Backpatch-through: 15

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/70fc6c4b28dff8c3b1ff06c3b3509622b9d97764

Modified Files
--------------
src/backend/commands/tablecmds.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2026-08-20 08:56 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-08-20 08:56 pgsql: Skip bogus find_composite_type_dependencies() call on sequences Heikki Linnakangas <heikki.linnakangas@iki.fi>
2026-08-20 08:56 pgsql: Skip bogus find_composite_type_dependencies() call on sequences Heikki Linnakangas <heikki.linnakangas@iki.fi>
2026-08-20 08:56 pgsql: Skip bogus find_composite_type_dependencies() call on sequences Heikki Linnakangas <heikki.linnakangas@iki.fi>
2026-08-20 08:56 pgsql: Skip bogus find_composite_type_dependencies() call on sequences Heikki Linnakangas <heikki.linnakangas@iki.fi>
2026-08-20 08:56 pgsql: Skip bogus find_composite_type_dependencies() call on sequences Heikki Linnakangas <heikki.linnakangas@iki.fi>
2026-08-20 08:56 pgsql: Skip bogus find_composite_type_dependencies() call on sequences 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