Re: [INTERFACES] ECPG and FETCH

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: [INTERFACES] ECPG and FETCH
Дата
Msg-id 20000105193059.A13149@fam-meskes.de
обсуждение исходный текст
Ответ на ECPG and FETCH  (Tim Kane <timk@hotgames.com>)
Список pgsql-interfaces
On Wed, Jan 05, 2000 at 06:24:51PM +1100, Tim Kane wrote:
> First of all, ECPG doesn't seem to recognise the FETCH command at all,
> returning with Syntax Error (see below).

FETCH IN should work as well as FETCH FROM. I think this is what standard
says. I once tried to add FETCH without IN but got some shift/reduce
conflicts. I haven't looked into it for quite some time, so maybe I can add
a compatibility rule. But don't bet on it.

> Secondly, are there any postgres specific Embedded SQL docs around
> 'anywhere'?

Unfortunately not much. But there are some (5 to be precise) demo files in
the source tree.

Michael
-- 
Michael Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael@Fam-Meskes.De           | Use PostgreSQL!


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

Предыдущее
От: nathan@khmere.com
Дата:
Сообщение: ECPG and remote databases
Следующее
От: Tim Kane
Дата:
Сообщение: ECPG and sqlda