Re: [GENERAL] Sequences in foreign tables

2014-09-16 Thread Michael Paquier
On Tue, Sep 16, 2014 at 10:17 AM, Daniele Varrazzo wrote: > On Tue, Sep 16, 2014 at 6:04 PM, Michael Paquier > wrote: >> On Tue, Sep 16, 2014 at 8:05 AM, Daniele Varrazzo >> wrote: > >>> I'm learning now something about foreign tables in PG 9.3. I wonder if >>> there is a clean way to use a sequ

Re: [GENERAL] Sequences in foreign tables

2014-09-16 Thread Daniele Varrazzo
On Tue, Sep 16, 2014 at 6:04 PM, Michael Paquier wrote: > On Tue, Sep 16, 2014 at 8:05 AM, Daniele Varrazzo > wrote: >> I'm learning now something about foreign tables in PG 9.3. I wonder if >> there is a clean way to use a sequence on the remote side, so that an >> "insert into remote_table val

Re: [GENERAL] Sequences in foreign tables

2014-09-16 Thread Michael Paquier
On Tue, Sep 16, 2014 at 8:05 AM, Daniele Varrazzo wrote: > I'm learning now something about foreign tables in PG 9.3. I wonder if > there is a clean way to use a sequence on the remote side, so that an > "insert into remote_table values ([data not including id]) returning > id" would ask the remot