Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group