Re: EXEC SQL INCLUDE syntax

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: EXEC SQL INCLUDE syntax
Дата
Msg-id 20031020180107.GD2843@feivel.fam-meskes.de
обсуждение исходный текст
Ответ на EXEC SQL INCLUDE syntax  (Andrew S Halper <ashalper@usgs.gov>)
Ответы Re: EXEC SQL INCLUDE syntax
Список pgsql-interfaces
On Fri, Oct 17, 2003 at 03:42:20PM -0700, Andrew S Halper wrote:
> I'm trying to port some Ingres code to PostgreSQL.  For Ingres, I had this 
> bit  of ESQL:
> 
> EXEC SQL INCLUDE '../dcl/master_table.sc';
> 
> which ecpg (2.10.0) can't digest with single quotes, and Ingres (2.5) esqlc 
> can't digest without single quotes.

ecpg only accepts double quotes or no quote at all.

> Can anyone tell me what the ESQL standard says, and if there is an easy 

I thought that ecpg does implement the standard, but I haven't checked
it lately so I'm not sure.

> ecpg  work-around?

Other than changing the code, no. It seems we do need an Ingres
compatibility mode, too.

Michael
-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Andrew S Halper
Дата:
Сообщение: EXEC SQL INCLUDE syntax
Следующее
От: Andrew S Halper
Дата:
Сообщение: Re: EXEC SQL INCLUDE syntax