pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Allow SET LOGGED/UNLOGGED and changing AM when the rowtype is in
4+ messages / 1 participants
[nested] [flat]

* pgsql: Allow SET LOGGED/UNLOGGED and changing AM when the rowtype is in
@ 2026-11-09 14:21 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Noah Misch @ 2026-11-09 14:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Allow SET LOGGED/UNLOGGED and changing AM when the rowtype is in use

Those commands rewrite the table, but they don't affect other tables
or Consts using the rowtype.

The reason to do this now is that the next commits will tighten up the
dependency checking to reject more cases.  After those commits, we
would also unnecessarily reject SET LOGGED/UNLOGGED in more cases, so
it seems nice to eliminate the unnecessary checks first.  That's also
why this is backpatched.

Co-authored-by: Nathan Bossart <nathandbossart@gmail.com>
Security: CVE-2026-6460
Backpatch-through: 14

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d4f9b1c3505ecec71a17b21012e6f793cec2bb80
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>

Modified Files
--------------
src/backend/commands/tablecmds.c          |  4 +++-
src/test/regress/expected/alter_table.out | 23 +++++++++++++++++++++++
src/test/regress/sql/alter_table.sql      | 22 ++++++++++++++++++++++
3 files changed, 48 insertions(+), 1 deletion(-)



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

* pgsql: Allow SET LOGGED/UNLOGGED and changing AM when the rowtype is in
@ 2026-11-09 14:21 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Noah Misch @ 2026-11-09 14:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Allow SET LOGGED/UNLOGGED and changing AM when the rowtype is in use

Those commands rewrite the table, but they don't affect other tables
or Consts using the rowtype.

The reason to do this now is that the next commits will tighten up the
dependency checking to reject more cases.  After those commits, we
would also unnecessarily reject SET LOGGED/UNLOGGED in more cases, so
it seems nice to eliminate the unnecessary checks first.  That's also
why this is backpatched.

Co-authored-by: Nathan Bossart <nathandbossart@gmail.com>
Security: CVE-2026-6460
Backpatch-through: 14

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/31114b99605524f21a32c4047582449864252ae1
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>

Modified Files
--------------
src/backend/commands/tablecmds.c          |  4 +++-
src/test/regress/expected/alter_table.out | 23 +++++++++++++++++++++++
src/test/regress/sql/alter_table.sql      | 22 ++++++++++++++++++++++
3 files changed, 48 insertions(+), 1 deletion(-)



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

* pgsql: Allow SET LOGGED/UNLOGGED and changing AM when the rowtype is in
@ 2026-11-09 14:21 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Noah Misch @ 2026-11-09 14:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Allow SET LOGGED/UNLOGGED and changing AM when the rowtype is in use

Those commands rewrite the table, but they don't affect other tables
or Consts using the rowtype.

The reason to do this now is that the next commits will tighten up the
dependency checking to reject more cases.  After those commits, we
would also unnecessarily reject SET LOGGED/UNLOGGED in more cases, so
it seems nice to eliminate the unnecessary checks first.  That's also
why this is backpatched.

Co-authored-by: Nathan Bossart <nathandbossart@gmail.com>
Security: CVE-2026-6460
Backpatch-through: 14

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/afaff70f0fbe5025169c213a696dbe5468747fa1
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>

Modified Files
--------------
src/backend/commands/tablecmds.c          |  4 +++-
src/test/regress/expected/alter_table.out | 23 +++++++++++++++++++++++
src/test/regress/sql/alter_table.sql      | 22 ++++++++++++++++++++++
3 files changed, 48 insertions(+), 1 deletion(-)



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

* pgsql: Allow SET LOGGED/UNLOGGED and changing AM when the rowtype is in
@ 2026-11-09 14:22 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Noah Misch @ 2026-11-09 14:22 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Allow SET LOGGED/UNLOGGED and changing AM when the rowtype is in use

Those commands rewrite the table, but they don't affect other tables
or Consts using the rowtype.

The reason to do this now is that the next commits will tighten up the
dependency checking to reject more cases.  After those commits, we
would also unnecessarily reject SET LOGGED/UNLOGGED in more cases, so
it seems nice to eliminate the unnecessary checks first.  That's also
why this is backpatched.

Co-authored-by: Nathan Bossart <nathandbossart@gmail.com>
Security: CVE-2026-6460
Backpatch-through: 14

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/c67a4a24b7771464c3b26dfc04aef167e7c4fa51
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>

Modified Files
--------------
src/backend/commands/tablecmds.c          |  4 +++-
src/test/regress/expected/alter_table.out | 23 +++++++++++++++++++++++
src/test/regress/sql/alter_table.sql      | 22 ++++++++++++++++++++++
3 files changed, 48 insertions(+), 1 deletion(-)



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


end of thread, other threads:[~2026-11-09 14:22 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09 14:21 pgsql: Allow SET LOGGED/UNLOGGED and changing AM when the rowtype is in Noah Misch <noah@leadboat.com>
2026-11-09 14:21 pgsql: Allow SET LOGGED/UNLOGGED and changing AM when the rowtype is in Noah Misch <noah@leadboat.com>
2026-11-09 14:21 pgsql: Allow SET LOGGED/UNLOGGED and changing AM when the rowtype is in Noah Misch <noah@leadboat.com>
2026-11-09 14:22 pgsql: Allow SET LOGGED/UNLOGGED and changing AM when the rowtype is in 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