Re: BUG #2224: unlogical syntax error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Herv H noch" <h(dot)henoch(at)isc84(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2224: unlogical syntax error
Date: 2006-01-30 15:19:48
Message-ID: 5330.1138634388@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Herv Hnoch" <h(dot)henoch(at)isc84(dot)org> writes:
> CETLOG: statement: PREPARE <unnamed> AS SELECT adm_pat."nip", id_caisse
> caisse FROM adm_pat WHERE nip = '20020523'

> CETERROR: syntax error at or near "caisse" at character 33

"AS" before a column alias is not optional in Postgres.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Mehul Doshi-A20614 2006-01-30 16:34:02 Shared library issue in Windows
Previous Message Patrick Rotsaert 2006-01-30 14:50:06 BUG #2225: Backend crash -- BIG table