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@postgresql.org
Subject: pgsql: Split out pg_operator.h function declarations to new file pg_ope
Date: Fri, 01 Jan 2016 18:00:27 +0000
Message-ID: <E1aF403-0006yj-CO@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Split out pg_operator.h function declarations to new file pg_operator_fn.h.

Commit a2e35b53c39b2a27 added an #include of catalog/objectaddress.h to
pg_operator.h, making it impossible for client-side code to #include
pg_operator.h.  It's not entirely clear whether any client-side code needs
to include pg_operator.h, but it seems prudent to assume that there is some
such code somewhere.  Therefore, split off the function definitions into a
new file pg_operator_fn.h, similarly to what we've done for some other
catalog header files.

Back-patch of part of commit 0dab5ef39b3d9d86.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/2d774aaf1801b0338241cca9409803451ef28a6a

Modified Files
--------------
src/backend/catalog/pg_operator.c    |    1 +
src/backend/commands/operatorcmds.c  |    1 +
src/include/catalog/pg_operator.h    |   17 -----------------
src/include/catalog/pg_operator_fn.h |   32 ++++++++++++++++++++++++++++++++
4 files changed, 34 insertions(+), 17 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1aF403-0006yj-CO@gemulon.postgresql.org>
Permalink:  ../E1aF403-0006yj-CO@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1aF403-0006yj-CO@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: Split out pg_operator.h function declarations to new file pg_ope
  In-Reply-To: <E1aF403-0006yj-CO@gemulon.postgresql.org>
  References: <E1aF403-0006yj-CO@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