git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 02ac05b) | patch
Mark two signal flags as sig_atomic_t in pgbench and pg_test_fsync
2022年11月26日 11:12:33 +0000 (20:12 +0900)
2022年11月26日 11:12:33 +0000 (20:12 +0900)
commit 1e314847dd69c6b3b85d36e5873d80b9e4cf028a
Mark two signal flags as sig_atomic_t in pgbench and pg_test_fsync

Two booleans used for timeout tracking were used within some SIGALRM
signal handlers, but they were not declared as sig_atomic_t, so mark
them as such. This has no consequence on WIN32 for both tools.

Author: Ranier Vilela
Reviewed-by: Michael Paquier, Masahiko Sawada
Discussion: https://postgr.es/m/CAEudQArCDQQiPiFR16=yu9k5s2tp4tgEe1U1ZbkW4ofx81AWWQ@mail.gmail.com
src/bin/pg_test_fsync/pg_test_fsync.c diff | blob | blame | history
src/bin/pgbench/pgbench.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /