Re: IMPORT FOREIGN SCHEMA statement - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: IMPORT FOREIGN SCHEMA statement
Date
Msg-id CAB7nPqR=s4sJ26ZRNTJEqM4etgZUp_sX=ELT00+nwiUxNMNR4Q@mail.gmail.com
Whole thread Raw
In response to Re: IMPORT FOREIGN SCHEMA statement  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers



On Fri, Jul 11, 2014 at 4:06 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
I wrote:
> So I propose we invent a couple more import options, say
> import_default and import_collate, and make the postgres_fdw
> code do the obvious thing with them.  import_default should
> probably default to false, but I'm about halfway tempted to
> say that import_collate should default to true --- if you're
> importing a collatable column and you don't have a matching
> locale locally, it seems like it'd be better if we complain
> about that by default.

I've committed this patch with that addition and some minor additional
cleanup.
Thanks!
--
Michael

pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: Missing autocomplete for CREATE DATABASE
Next
From: Tom Lane
Date:
Subject: Re: Allowing NOT IN to use ANTI joins