diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2024-01-15 13:02:03 +0100 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2024-01-15 13:02:03 +0100 |
commit | aa817c7496575b37fde6ea5e0cd65b26f29ea532 (patch) | |
tree | af1b36f38520ce57a312d89aceb48ef62f34f525 /doc/src | |
parent | 31acee4b66f9f88ad5c19c1276252688bdaa95c9 (diff) | |
download | postgresql-aa817c7496575b37fde6ea5e0cd65b26f29ea532.tar.gz postgresql-aa817c7496575b37fde6ea5e0cd65b26f29ea532.zip |
Avoid useless ReplicationOriginExitCleanup locking
When session_replication_state is NULL, we can know there's nothing to
do with no lock acquisition. Do that.
Author: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Discussion: https://postgr.es/m/CALj2ACX+YaeRU5xJqR4C7kLsTO_F7DBRNF8WgeHvJZcKtNuK_A@mail.gmail.com
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions