pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Joe Conway <mail@joeconway.com>
Cc: Mike Palmiotto <mike.palmiotto@crunchydata.com>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: partitioned tables and contrib/sepgsql
Date: Thu, 06 Apr 2017 15:35:40 -0400
Message-ID: <4897.1491507340@sss.pgh.pa.us> (raw)
In-Reply-To: <623bcaae-112e-ced0-8c22-a84f75ae0c53@joeconway.com>
References: <20170309144718.GE9812@tamriel.snowman.net>
	<CA+TgmoY+zN3zq1PuYwXOXpehMJR=wtZes2q=2qpDi4SLwkMa9Q@mail.gmail.com>
	<81ddcddc-b9f6-9d80-19c4-c9270fc71fd5@joeconway.com>
	<CA+TgmoathxbFZyi1EphhRyLFKjHbTVDj-qT77FdkX9Vy1p_2Nw@mail.gmail.com>
	<c188488f-b35c-25f0-4aac-08eff7a8c84a@joeconway.com>
	<CAMN686E1x8wF7bASsh_9cB9+sG5vpWFxfnTwO8PskAPs-yaTmg@mail.gmail.com>
	<426dde50-a6ef-d53c-0607-c0766afd6698@joeconway.com>
	<3b0f0a27-0ccf-7298-5365-87d685eeea42@joeconway.com>
	<CA+TgmoaKeXAChH8qgEAF03ejjMz5e_sDA91xr2UGmJXH8EH=RA@mail.gmail.com>
	<19352.1491368287@sss.pgh.pa.us>
	<6d700f91-6bcb-9092-c897-501c7228975f@joeconway.com>
	<19727.1491408240@sss.pgh.pa.us>
	<1a7685fb-2aa8-8d01-4c50-c102335d3b12@2ndquadrant.com>
	<22437.1491412750@sss.pgh.pa.us>
	<CAMN686FPot-J5Nf87biYewyuZ2ORmRp=mVHtfT5TVjBVAKBdaA@mail.gmail.com>
	<CAMN686EjceBQu5UCb=Mz8fNQQN5YSPAE5kMAY8yaher-vaV9Gg@mail.gmail.com>
	<1711d370-b578-7f8d-f4b5-f8662e! 5808fb@joeconway.com>
	<11037.1491492598@sss.pgh.pa.us>
	<623bcaae-11! 2e-ced0-8c22-a84f75ae0c53@joeconway.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Joe Conway <mail@joeconway.com> writes:
> Any thoughts on whether 0001a and 0001b ought to be backpatched? I'm
> thinking not given the lack of past complaints but it might make sense
> to do.

I think 0001a absolutely needs to be, because it is fixing what is really
an ABI violation: sepgsql_needs_fmgr_hook is supposed to return our notion
of bool, but as things stand it's returning _Bool (which is why the
compiler is complaining).  Now we might get away with that on most
hardware, but on platforms where those are different widths, it's possible
to imagine function-return conventions that would make it fail.

0001b seems to only be needed for compilers that aren't smart enough
to see that tclass won't be referenced for RELKIND_INDEX, so it's
just cosmetic.

			regards, tom lane


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



view thread (61+ messages)  latest in thread

Message-ID: <4897.1491507340@sss.pgh.pa.us>
Permalink:  ../4897.1491507340@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4897.1491507340@sss.pgh.pa.us

 · 

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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mail@joeconway.com, mike.palmiotto@crunchydata.com, peter.eisentraut@2ndquadrant.com, robertmhaas@gmail.com, sfrost@snowman.net
  Subject: Re: partitioned tables and contrib/sepgsql
  In-Reply-To: <4897.1491507340@sss.pgh.pa.us>
  References: <20170309144718.GE9812@tamriel.snowman.net> <CA+TgmoY+zN3zq1PuYwXOXpehMJR=wtZes2q=2qpDi4SLwkMa9Q@mail.gmail.com> <81ddcddc-b9f6-9d80-19c4-c9270fc71fd5@joeconway.com> <CA+TgmoathxbFZyi1EphhRyLFKjHbTVDj-qT77FdkX9Vy1p_2Nw@mail.gmail.com> <c188488f-b35c-25f0-4aac-08eff7a8c84a@joeconway.com> <CAMN686E1x8wF7bASsh_9cB9+sG5vpWFxfnTwO8PskAPs-yaTmg@mail.gmail.com> <426dde50-a6ef-d53c-0607-c0766afd6698@joeconway.com> <3b0f0a27-0ccf-7298-5365-87d685eeea42@joeconway.com> <CA+TgmoaKeXAChH8qgEAF03ejjMz5e_sDA91xr2UGmJXH8EH=RA@mail.gmail.com> <19352.1491368287@sss.pgh.pa.us> <6d700f91-6bcb-9092-c897-501c7228975f@joeconway.com> <19727.1491408240@sss.pgh.pa.us> <1a7685fb-2aa8-8d01-4c50-c102335d3b12@2ndquadrant.com> <22437.1491412750@sss.pgh.pa.us> <CAMN686FPot-J5Nf87biYewyuZ2ORmRp=mVHtfT5TVjBVAKBdaA@mail.gmail.com> <CAMN686EjceBQu5UCb=Mz8fNQQN5YSPAE5kMAY8yaher-vaV9Gg@mail.gmail.com> <11037.1491492598@sss.pgh.pa.us> <4897.1491507340@sss.pgh.pa.us>

* 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