Skip site navigation (1) Skip section navigation (2)

Re: using composite types in insert/update

From: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: using composite types in insert/update
Date: 2009-01-30 08:13:25
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Merlin Moncure <mmoncure(at)gmail(dot)com> wrote:

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

"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.

ITAGAKI Takahiro
NTT Open Source Software Center

In response to

pgsql-hackers by date

Next:From: Zdenek KotalaDate: 2009-01-30 08:24:59
Subject: Re: Commitfest infrastructure (was Re: 8.4 release planning)
Previous:From: Magnus HaganderDate: 2009-01-30 08:03:22
Subject: Re: mingw check hung

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group