No such connection NULL from ECPG

Поиск
Список
Период
Сортировка
От Phil Moors
Тема No such connection NULL from ECPG
Дата
Msg-id 3772AEFB.78E1469F@phillips.com
обсуждение исходный текст
Ответы Re: [INTERFACES] No such connection NULL from ECPG  (Michael Meskes <meskes@postgresql.org>)
Re: [INTERFACES] No such connection NULL from ECPG  (Michael Meskes <meskes@postgresql.org>)
Список pgsql-interfaces
My program compiles without errors. When the binary is run, I get:
No such connection NULL from line 384.

Line 384 is:
       while(!sqlca.sqlcode){ blah blah blah }

My connect line is 374:
       EXEC SQL CONNECT 'macs';

Ecpg expands this to:
       { ECPGconnect(__LINE__, NULL,"macs",NULL,NULL, 0);}

I found a post in the 'general' mailing list from 1998 that suggests that
the expansion should be:
       { ECPGconnect(__LINE__, "macs",NULL,NULL,NULL, 0);}

Am I barking up the wrong tree?
I recompiled and installed ecpg as root just to make sure I was not missing
anything and still get the same expansion.

TIA 
Phil
-- 
pmoors@phillips.com | Speaking for himself only.
--------------------------------------------------------
What if there were no hypothetical situations? --Andrew Kohlsmith


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

Предыдущее
От: Jeff MacDonald
Дата:
Сообщение: Re: [INTERFACES] PostgreSQL 6.5 binaries for win32 ?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [INTERFACES] pgaccess and RH 6.0?