Stop the search once replication origin is found
Antonin Houska <ah@cybertec.at>
From: Antonin Houska <ah@cybertec.at>
To: pgsql-hackers@lists.postgresql.org
Date: 2023-11-20T09:07:53Z
Lists: pgsql-hackers
Attachments
- replorigin_session_setup_break.diff (text/x-diff) patch
Although it's not performance-critical, I think it just makes sense to break the loop in replorigin_session_setup() as soon as we've found the origin. -- Antonin Houska Web: https://www.cybertec-postgresql.com
Commits
-
Stop the search once the slot for replication origin is found.
- ff68cc6f3bf0 17.0 landed