aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2019-10-24 13:58:40 -0700
committerAndres Freund <andres@anarazel.de>2019-11-13 15:52:13 -0800
commit4a252996d5fda7662b2afdf329a5c95be0fe3b01 (patch)
treed31e72d8efafedebfc468d4cd415d2c161cbc4aa /src/backend/executor/nodeModifyTable.c
parentd57d61533a2b5b27b60cc9024c54688390871bf6 (diff)
downloadpostgresql-4a252996d5fda7662b2afdf329a5c95be0fe3b01.tar.gz
postgresql-4a252996d5fda7662b2afdf329a5c95be0fe3b01.zip
Add tests for tuplesort.c.
Previously significant parts of tuplesort.c were untested. This commit, while not testing every path, significantly increases coverage. In particular, this adds tests for abbreviated key logic, forward/backward scans & scrolling and mark/restore. I tried to keep the table sizes reasonable, and stress the on-disk paths by setting work_mem to low values for specific tests. The buildfarm will tell whether more attention to test time is needed. Author: Andres Freund Discussion: https://postgr.es/m/20191013144153.ooxrfglvnaocsrx2@alap3.anarazel.de
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions