]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add more tests with clause STORAGE on table and TOAST interactions
authorMichael Paquier <michael@paquier.xyz>
Mon, 26 Jan 2026 00:30:22 +0000 (09:30 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 26 Jan 2026 00:30:22 +0000 (09:30 +0900)
commit168765e5d42be7d3ef750e9e292e14ef94b489e1
tree7b22dc2acf459693d5b3462c779009c5b5bb68ab
parenta9bdb63bba8a631cd4797393307eecf5fcde9167
Add more tests with clause STORAGE on table and TOAST interactions

This commit adds more tests to cover STORAGE MAIN and EXTENDED, checking
how these use TOAST tables.  EXTENDED is already widely tested as the
default behavior, but there were no tests where the clause pattern is
directly specified.  STORAGE MAIN and its interactions with TOAST was
not covered at all.

This hole in the tests has been noticed for STORAGE MAIN (inline
compressible varlenas), where I have managed to break the backend
without the tests able to notice the breakage while playing with the
varlena structures.

Reviewed-by: Nikhil Kumar Veldanda <veldanda.nikhilkumar17@gmail.com>
Discussion: https://postgr.es/m/aXMdX1UTHnzYPkHk@paquier.xyz
src/test/regress/expected/strings.out
src/test/regress/sql/strings.sql