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: 20090130170744.CE27.52131E4D@oss.ntt.co.jp (view raw or flat)
Thread:
Lists: pgsql-hackers
Merlin Moncure <mmoncure(at)gmail(dot)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



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-2014 The PostgreSQL Global Development Group