parser problem - Mailing list pgsql-hackers

From Michael Meskes
Subject parser problem
Date
Msg-id 199804221442.QAA18651@gauss.topsystem.de
Whole thread Raw
List pgsql-hackers
Is it correct that the following two statements are equal?

select "a" from foo;

select a from foo;


That results in the following problem for ecpg:

When I'm in SQL mode (that is after reading "exec sql") I do not get
quotations. But what do I do with this?

exec sql whenever sqlerror do printf("There was an error\n");

Since my lex file is almost the same as scan.l I wonder if anyone has an
idea.

Michael
--
Dr. Michael Meskes, Project-Manager    | topsystem Systemhaus GmbH
meskes@topsystem.de                    | Europark A2, Adenauerstr. 20
meskes@debian.org                      | 52146 Wuerselen
Go SF49ers! Go Rhein Fire!             | Tel: (+49) 2405/4670-44
Use Debian GNU/Linux!                  | Fax: (+49) 2405/4670-10

pgsql-hackers by date:

Previous
From: "Göran Thyni"
Date:
Subject: Re: [HACKERS] Re: [QUESTIONS] How to use memory instead of hd?
Next
From: Tom Good
Date:
Subject: Re: [HACKERS] Re: [QUESTIONS] Configuration problems in PostgreSQL 6.3.2 on Linux-ELF