pgsql: GetPublicationByName: Don't repeat ourselves - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: GetPublicationByName: Don't repeat ourselves
Date
Msg-id E1ijQ3g-0004DO-Lz@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
GetPublicationByName: Don't repeat ourselves

Use get_publication_oid() instead of reimplementing it.

Discussion: https://postgr.es/m/20191220201017.GA17292@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0fd8cfb20d2d41d4c2df021a5f355965fd8d21bc

Modified Files
--------------
src/backend/catalog/pg_publication.c | 15 ++-------------
1 file changed, 2 insertions(+), 13 deletions(-)


pgsql-committers by date:

Previous
From: Peter Geoghegan
Date:
Subject: pgsql: Normalize _bt_finish_split() argument names.
Next
From: Tom Lane
Date:
Subject: pgsql: Prevent a rowtype from being included in itself via a range.