parser problem

From: Michael Meskes <meskes(at)topsystem(dot)de>
To: pgsql-hackers(at)postgresql(dot)org (PostgreSQL Hacker)
Subject: parser problem
Date: 1998-04-22 14:42:25
Message-ID: 199804221442.QAA18651@gauss.topsystem.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)topsystem(dot)de | Europark A2, Adenauerstr. 20
meskes(at)debian(dot)org | 52146 Wuerselen
Go SF49ers! Go Rhein Fire! | Tel: (+49) 2405/4670-44
Use Debian GNU/Linux! | Fax: (+49) 2405/4670-10

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jose' Soares Da Silva 1998-04-22 15:03:32 LOCK TABLE statement
Previous Message Gran Thyni 1998-04-22 14:37:17 Re: [HACKERS] Re: [QUESTIONS] How to use memory instead of hd?