pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: GetPublicationByName: Don't repeat ourselves
Date: Mon, 23 Dec 2019 15:55:48 +0000
Message-ID: <E1ijQ3g-0004DO-Lz@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1ijQ3g-0004DO-Lz@gemulon.postgresql.org>
Permalink:  ../E1ijQ3g-0004DO-Lz@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ijQ3g-0004DO-Lz@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: GetPublicationByName: Don't repeat ourselves
  In-Reply-To: <E1ijQ3g-0004DO-Lz@gemulon.postgresql.org>
  References: <E1ijQ3g-0004DO-Lz@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox