Re: Postgres update with self join - Mailing list pgsql-general

From Igor Kryltsov
Subject Re: Postgres update with self join
Date
Msg-id cfecr8$11uq$1@news.hub.org
Whole thread Raw
In response to Postgres update with self join  ("Igor Kryltsov" <kryltsov@yahoo.com>)
List pgsql-general
Thank you very much.

This works:
UPDATE

test

SET

code=T2.code

FROM

test T2

WHERE

test.code=0 AND

test.master=T2.name;



Igor



pgsql-general by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: Replication options?
Next
From: brami@gmx.ch (Brandon)
Date:
Subject: PHP Postgre-MySql call redirector