Re: Need magic for inserting in 2 tables

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Andreas <maps(dot)on(at)gmx(dot)net>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Need magic for inserting in 2 tables
Date: 2010-10-04 00:58:13
Message-ID: AANLkTi=8cS5ODYOauMFHdKfw=6iZnp8GYCMhmHpVvavm@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Sun, Oct 3, 2010 at 6:47 PM, Andreas <maps(dot)on(at)gmx(dot)net> wrote:

> How can a script use what RETURNING dumps out?
> I tried a bit but got nowhere.

The same way it would use the output of a select, it's a record set.
So it's x rows by y columns.

--
To understand recursion, one must first understand recursion.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Andreas 2010-10-04 02:31:55 Re: Need magic for inserting in 2 tables
Previous Message Andreas 2010-10-04 00:47:26 Re: Need magic for inserting in 2 tables