diff options
author | David Rowley <drowley@postgresql.org> | 2024-04-16 16:21:31 +1200 |
---|---|---|
committer | David Rowley <drowley@postgresql.org> | 2024-04-16 16:21:31 +1200 |
commit | bea97cd02ebb347ab469b78673c2b33a72109669 (patch) | |
tree | 3649cbfb67ca118da5101eac3a6287b83f294035 /src/backend/parser/parse_expr.c | |
parent | 768ceeeaa127a8001d60ad6a62846a8be3f35d93 (diff) | |
download | postgresql-bea97cd02ebb347ab469b78673c2b33a72109669.tar.gz postgresql-bea97cd02ebb347ab469b78673c2b33a72109669.zip |
Improve test coverage in bump.c
There were no callers of BumpAllocLarge() in the regression tests, so
here we add a sort with a tuple large enough to use that path in bump.c.
Also, BumpStats() wasn't being called, so add a test to sysviews.sql to
call pg_backend_memory_contexts() while a bump context exists in the
backend.
Reported-by: Andres Freund
Discussion: https://postgr.es/m/20240414223305.m3i5eju6zylabvln@awork3.anarazel.de
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions