Timothy.Oliver@worldspan.com writes:
> select
> create_new_airline_itinerary(693666,'DL','1111','Y','ATL','MCI','2003-04-27
> 15:54:00','2003-04-27 19:54:00','HK1','NW','2222','Y')
> Error: ERROR: parser: parse error at or near "$9" (State:HY000,
> Native Code: 7)
I don't know what those "state" and "native code" notations are, but
I'll bet you have some middleware layer in there that is changing the
query in a way you're not aware of.
You might try turning on query logging in Postgres so you can see
exactly what's being sent to the server.
regards, tom lane