pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
Cc: Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Oddity in handling of cached plans for FDW queries
Date: Fri, 22 Jul 2016 11:33:03 -0400
Message-ID: <29861.1469201583@sss.pgh.pa.us> (raw)
In-Reply-To: <d674a3f1-6b63-519c-ef3f-f3188ed6a178@lab.ntt.co.jp>
References: <d49c1e5b-f059-20f4-c132-e9752ee0113e@lab.ntt.co.jp>
	<CAFjFpRf94+DJOr8pOLUQYgmmOxjonGPhrU4uvo_00BKCZ-fGug@mail.gmail.com>
	<bbd3d81d-1596-b7a6-833d-ddfc6754c82f@lab.ntt.co.jp>
	<CAFjFpRd9rx1kc-Dvm6ogeNKF8C6XxFA-QAH89T08pFHTKCOaFw@mail.gmail.com>
	<6085.1468513930@sss.pgh.pa.us>
	<10736.1468522173@sss.pgh.pa.us>
	<122d7752-7fe4-f561-4348-34b398d46ec1@lab.ntt.co.jp>
	<2270.1468550932@sss.pgh.pa.us>
	<28ab7288-84f5-aab4-3ef7-cf1ca6e9a291@lab.ntt.co.jp>
	<23274.1468589754@sss.pgh.pa.us>
	<8993.1468617909@sss.pgh.pa.us>
	<9b21f8e3-13c7-5b9a-7f35-edddef21c181@lab.ntt.co.jp>
	<d674a3f1-6b63-519c-ef3f-f3188ed6a178@lab.ntt.co.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp> writes:
> On 2016/07/21 16:30, Etsuro Fujita wrote:
>> One thing I'd like to discuss is GetUserMappingById/GetUserMappingId.
>> Though those functions aren't used in any places, I didn't take them
>> out, because I thought somebody else would need them someday.  But
>> considering that user mapping OIDs now aren't available in RelOptInfos,
>> at least the former might be rather useless.  Should we keep them in core?

> I thought a bit more about this.  ISTM that there isn't much value in  
> the latter either, because we can use GetUserMapping and get that OID  
> from the result, instead of using the latter, so I'd vote for removing  
> those functions.  Attached is a patch for that.

Agreed - pushed.

			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 (19+ messages)

Message-ID: <29861.1469201583@sss.pgh.pa.us>
Permalink:  ../29861.1469201583@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29861.1469201583@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, fujita.etsuro@lab.ntt.co.jp, ashutosh.bapat@enterprisedb.com
  Subject: Re: Oddity in handling of cached plans for FDW queries
  In-Reply-To: <29861.1469201583@sss.pgh.pa.us>
  References: <d49c1e5b-f059-20f4-c132-e9752ee0113e@lab.ntt.co.jp> <CAFjFpRf94+DJOr8pOLUQYgmmOxjonGPhrU4uvo_00BKCZ-fGug@mail.gmail.com> <bbd3d81d-1596-b7a6-833d-ddfc6754c82f@lab.ntt.co.jp> <CAFjFpRd9rx1kc-Dvm6ogeNKF8C6XxFA-QAH89T08pFHTKCOaFw@mail.gmail.com> <6085.1468513930@sss.pgh.pa.us> <10736.1468522173@sss.pgh.pa.us> <122d7752-7fe4-f561-4348-34b398d46ec1@lab.ntt.co.jp> <2270.1468550932@sss.pgh.pa.us> <28ab7288-84f5-aab4-3ef7-cf1ca6e9a291@lab.ntt.co.jp> <23274.1468589754@sss.pgh.pa.us> <8993.1468617909@sss.pgh.pa.us> <9b21f8e3-13c7-5b9a-7f35-edddef21c181@lab.ntt.co.jp> <d674a3f1-6b63-519c-ef3f-f3188ed6a178@lab.ntt.co.jp> <29861.1469201583@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