Re: [GENERAL] pl/proxy and sequence generation

2008-12-24 Thread Asko Oja
On Wed, Dec 24, 2008 at 5:44 PM, Jonah H. Harris wrote: > On Wed, Dec 24, 2008 at 10:18 AM, Igor Katson > wrote: > > So, should I make a wrapper in e.g. PL/pgsql for every insert function > > writen in PL/Proxy to remove the sequence from the argument list and to > call > > the sequence generator

Re: [GENERAL] pl/proxy and sequence generation

2008-12-24 Thread Jonah H. Harris
On Wed, Dec 24, 2008 at 10:18 AM, Igor Katson wrote: > So, should I make a wrapper in e.g. PL/pgsql for every insert function > writen in PL/Proxy to remove the sequence from the argument list and to call > the sequence generator? > Is there a better way to do that? Why not put the sequence on yo

[GENERAL] pl/proxy and sequence generation

2008-12-24 Thread Igor Katson
Hello! The problem, i'm going to describe is about pl/proxy usage. I'll call the bases, which are proxied to, the node-based and the base, which contains pl/proxy the proxy-base. The task, I need to accomplish, is to make an insert into node-bases, using the sequence, generated inside the pr