aboutsummaryrefslogtreecommitdiff
path: root/src/test/modules/commit_ts/sql/commit_timestamp.sql
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-10-12 21:14:50 +0200
committerPeter Eisentraut <peter@eisentraut.org>2021-10-12 21:20:29 +0200
commit390edeeb570c01de1a14e2985ffed96de001e42e (patch)
treeb68773d8896d0b4b8494e4006b73003f6ba37848 /src/test/modules/commit_ts/sql/commit_timestamp.sql
parent00c61a74bcdbc04a3db721d53c7aff62244da198 (diff)
downloadpostgresql-390edeeb570c01de1a14e2985ffed96de001e42e.tar.gz
postgresql-390edeeb570c01de1a14e2985ffed96de001e42e.zip
psql: Fix some scan-build warnings
A repeated complaint was that scan-build thought that if the \timing setting changes during processing of a query, the post-processing might read garbage time values. This is probably not possible right now, but it's not entirely inconceivable given the code structure. So silence this warning with small restructuring that makes this more robust. The other warnings were a few dead stores that are easy to remove. Discussion: https://www.postgresql.org/message-id/2570e2ae-fa0f-aac9-f72f-bb59a9983a20@enterprisedb.com
Diffstat (limited to 'src/test/modules/commit_ts/sql/commit_timestamp.sql')
0 files changed, 0 insertions, 0 deletions