Re: Inserting Using RowType

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: Greg Lindstrom <greg(dot)lindstrom(at)novasyshealth(dot)com>, pgsql-novice(at)postgresql(dot)org
Subject: Re: Inserting Using RowType
Date: 2005-04-27 18:35:58
Message-ID: 25018.1114626958@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Michael Fuhr <mike(at)fuhr(dot)org> writes:
> On Wed, Apr 27, 2005 at 02:08:33PM -0400, Tom Lane wrote:
>> Michael Fuhr <mike(at)fuhr(dot)org> writes:
>>> INSERT INTO my_table VALUES (ib837.*);
>>
>> Ya know, for some reason I was convinced that wouldn't work, but it
>> does ... certainly a lot cleaner than the hack I just posted ...

> Hmmm...so does it work by design or by accident? I assume that if
> it were by accident, your response would have been "Yeah, but...."

No, it's by design --- in fact now I remember having made it happen
in 8.0. But the ol hindbrain was remembering how things Used Ta Be.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Roland Giesler 2005-04-27 21:15:01 Re: Createlang error installing SQL-Ledger
Previous Message Michael Fuhr 2005-04-27 18:30:41 Re: Inserting Using RowType