Re: using composite types in insert/update - Mailing list pgsql-hackers

From ITAGAKI Takahiro
Subject Re: using composite types in insert/update
Date
Msg-id 20090130170744.CE27.52131E4D@oss.ntt.co.jp
Whole thread Raw
In response to using composite types in insert/update  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-hackers
Merlin Moncure <mmoncure@gmail.com> wrote:

> however no such workaround exists for update. ideally,
> UPDATE foo SET foo = foo;

+1.
"UPDATE foo SET (*) = (foo.*)" would be another candidate of syntax.

I want to use this kind of queries to apply a changeset log
to another table. It is just like log application in Slony-I.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center




pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: mingw check hung
Next
From: Zdenek Kotala
Date:
Subject: Re: Commitfest infrastructure (was Re: 8.4 release planning)