Re: Default connection parameters for postgres_fdw and dblink - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Default connection parameters for postgres_fdw and dblink
Date
Msg-id 1363979212.21411.4.camel@sussancws0025
Whole thread Raw
In response to Default connection parameters for postgres_fdw and dblink  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Default connection parameters for postgres_fdw and dblink
List pgsql-hackers
On Fri, 2013-03-22 at 12:19 -0400, Tom Lane wrote:
> Is there a better way to handle all this?  It may be too late to rethink
> dblink's behavior anyhow, but perhaps it's not too late to change
> postgres_fdw.  I think though that once we let 9.3 out the door, it
> *will* be too late to make any major changes, because postgres_fdw's
> usage is going to go through the roof now that it can do remote updates.

The first thing that occurs to me is to have postgres_fdw install some
GUCs with reasonable defaults.

Perhaps the default could be a magic value that is replaced by the
current user or something (similar to search_path).

Regards,Jeff Davis





pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: Page replacement algorithm in buffer cache
Next
From: Tom Lane
Date:
Subject: Re: postgres_fdw vs data formatting GUCs (was Re: [v9.3] writable foreign tables)