diff options
author | Michael Paquier <michael@paquier.xyz> | 2022-03-24 09:36:30 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2022-03-24 09:36:30 +0900 |
commit | a1bc4d3590b1f620485c3ec5290dc628e62476f8 (patch) | |
tree | 8d39057d7c8783f96d04620a8050d4e4d03dbfde /src/backend/executor/nodeModifyTable.c | |
parent | 3ac7d024122f26d828907f15d088dcd67d2eb4f1 (diff) | |
download | postgresql-a1bc4d3590b1f620485c3ec5290dc628e62476f8.tar.gz postgresql-a1bc4d3590b1f620485c3ec5290dc628e62476f8.zip |
Add some basic regression tests for pg_freespacemap
The number of relation pages is tricky to get right in a portable way,
particularly across 32b and 64b builds, but checking after the existence
of the FSM and if there is any space available space should be stable
enough with a minimal number of tuples involved. This commit introduces
checks on a table with some btree, BRIN and hash indexes, as a first
attempt.
Author: Dong Wook Lee, FabrÃzio de Royes Mello, Michael Paquier
Discussion: https://postgr.es/m/CAAcByaJ5KW3bd7fJr=jPEyK8M_UzXJFHHBVuOcBe+JHD8txRyQ@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions