Thread: pgsql: Clean up WaitLatch calls that passed latch without WL_LATCH_SET

pgsql: Clean up WaitLatch calls that passed latch without WL_LATCH_SET

From
Heikki Linnakangas
Date:
Clean up WaitLatch calls that passed latch without WL_LATCH_SET

The 'latch' argument is ignored if WL_LATCH_SET is not given. Clarify
these calls by not pointlessly passing MyLatch.

Discussion: https://www.postgresql.org/message-id/391abe21-413e-4d91-a650-b663af49500c@iki.fi

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f9ecb57a506ada358baa19287d2c438ad01cdbce

Modified Files
--------------
src/backend/libpq/be-secure-gssapi.c   | 4 ++--
src/backend/libpq/be-secure-openssl.c  | 2 +-
src/backend/postmaster/walsummarizer.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)