aboutsummaryrefslogtreecommitdiff
path: root/src/test/modules/test_json_parser/test_json_parser_perf.c
diff options
context:
space:
mode:
authorEtsuro Fujita <efujita@postgresql.org>2024-04-04 17:55:00 +0900
committerEtsuro Fujita <efujita@postgresql.org>2024-04-04 17:55:00 +0900
commitdd24098cd6fdd599dcee0cd379bb8bdb0c3710a4 (patch)
treef8ad22b2f160d86b3f5c7bc7bef598ddbcc450d7 /src/test/modules/test_json_parser/test_json_parser_perf.c
parent3a4a3537a999932642ba7a459900fe3c4f5cad02 (diff)
downloadpostgresql-dd24098cd6fdd599dcee0cd379bb8bdb0c3710a4.tar.gz
postgresql-dd24098cd6fdd599dcee0cd379bb8bdb0c3710a4.zip
postgres_fdw: Remove useless ternary expression.
There is no case where we would call pgfdw_exec_cleanup_query or pgfdw_exec_cleanup_query_{begin,end} with a NULL query string, so this expression is pointless; remove it and instead add to the latter functions an assertion ensuring the given query string is not NULL. Thinko in commit 815d61fcd. Discussion: https://postgr.es/m/CAPmGK14mm%2B%3DUjyjoWj_Hu7c%2BQqX-058RFfF%2BqOkcMZ_Nj52v-A%40mail.gmail.com
Diffstat (limited to 'src/test/modules/test_json_parser/test_json_parser_perf.c')
0 files changed, 0 insertions, 0 deletions