diff options
author | Alexander Korotkov <akorotkov@postgresql.org> | 2024-04-03 11:23:21 +0300 |
---|---|---|
committer | Alexander Korotkov <akorotkov@postgresql.org> | 2024-04-03 11:32:39 +0300 |
commit | e37662f22158c29bc55eda4eda1757f444cf701a (patch) | |
tree | 8d419de299db529306c3fbf204e2532da1605dc1 /src/backend/commands/variable.c | |
parent | 9301308bd196f614696e0e9492cf0c52f7857f83 (diff) | |
download | postgresql-e37662f22158c29bc55eda4eda1757f444cf701a.tar.gz postgresql-e37662f22158c29bc55eda4eda1757f444cf701a.zip |
Minor improvements for waitlsn.c
* Remove extra includes
* Fill 'cur' in addLSNWaiter() before taking the spinlock
* Initialize 'endtime' with zero in WaitForLSN() to avoid compiler warning
Reported-by: Alvaro Herrera, Masahiko Sawada, Daniel Gustafsson
Discussion: https://postgr.es/m/202404030658.hhj3vfxeyhft%40alvherre.pgsql
Discussion: https://postgr.es/m/CAD21AoAx7irptnPH1OkkkNh9E0M6X-phfX7sYZfwoMsc1qV1sQ%40mail.gmail.com
Diffstat (limited to 'src/backend/commands/variable.c')
0 files changed, 0 insertions, 0 deletions