Re: Allow an alias for the target table in UPDATE/DELETE

From: Neil Conway <neilc(at)samurai(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Atsushi Ogawa <atsushi(dot)ogawa(at)gmail(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Allow an alias for the target table in UPDATE/DELETE
Date: 2006-01-22 07:43:31
Message-ID: 1137915811.8798.41.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Sun, 2006-01-22 at 02:23 -0500, Tom Lane wrote:
> relation_expr opt_as ColId
>
> try
>
> relation_expr ColId
> | relation_expr AS ColId

Yeah, I already tried that without success. The no-AS-specified variant
is still ambiguous: given SET following relation_expr, the parser still
can't determine whether the SET is the table alias or is part of the
UpdateStmt.

-Neil

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-01-22 10:23:51 Re: Allow an alias for the target table in UPDATE/DELETE
Previous Message Neil Conway 2006-01-22 07:26:05 Re: Allow an alias for the target table in UPDATE/DELETE