From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Putsch <putsch@mxim.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Help with UPDATE syntax
Date: Thu, 15 Mar 2001 10:59:02 -0500
Message-ID: <13907.984671942@sss.pgh.pa.us> (raw)
In-Reply-To: <20010314224729.A16150@blue.mxim.com>
References: <20010314224729.A16150@blue.mxim.com>
Jeff Putsch <putsch@mxim.com> writes:
> update
> user_group_map map
Postgres doesn't allow UPDATE to use an alias for the target table
(SQL92 doesn't either). Get rid of the alias name "map", and write
the full table name "user_group_map" in the places where "map" is
used in the WHERE clause.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, putsch@mxim.com
Subject: Re: Help with UPDATE syntax
In-Reply-To: <13907.984671942@sss.pgh.pa.us>
References: <20010314224729.A16150@blue.mxim.com> <13907.984671942@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox