pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix duplicate_oids and unused_oids so user needn't cd to catalog
Date: Thu, 26 Apr 2018 15:20:21 +0000
Message-ID: <E1fBih3-00061a-I2@gemulon.postgresql.org> (raw)

Fix duplicate_oids and unused_oids so user needn't cd to catalog dir.

Previously, you had to cd into src/include/catalog before running either
of these scripts.  That's a bit tedious, so let's make the scripts do it
for you.

In passing, improve the initial comments in both scripts.  Also remove
unused_oids' code to complain about duplicate oids.  That was added in
yesterday's commit 5602265f7, but on second thought we shouldn't be
randomly redefining the script's behavior that way.

John Naylor and Tom Lane

Discussion: https://postgr.es/m/37D774E4-FE1F-437E-B3D2-593F314B7505@postgrespro.ru

Branch
------
master

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

Modified Files
--------------
src/include/catalog/duplicate_oids | 26 +++++++++++++++++++++++---
src/include/catalog/unused_oids    | 36 +++++++++++++++++++-----------------
2 files changed, 42 insertions(+), 20 deletions(-)



Message-ID: <E1fBih3-00061a-I2@gemulon.postgresql.org>
Permalink:  ../E1fBih3-00061a-I2@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fBih3-00061a-I2@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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Fix duplicate_oids and unused_oids so user needn't cd to catalog
  In-Reply-To: <E1fBih3-00061a-I2@gemulon.postgresql.org>
  References: <E1fBih3-00061a-I2@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