Re: ECPG: include sqlca

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB SD
Тема Re: ECPG: include sqlca
Дата
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA41EB492@m0114.s-mxs.net
обсуждение исходный текст
Ответ на ECPG: include sqlca  (Michael Meskes <meskes@postgresql.org>)
Ответы Re: ECPG: include sqlca
Список pgsql-hackers
Michael wrote:
> I just got a bug report that originated in the programmer not knowing he had
> to include sqlca to use whenever. When I told him he asked me why it isn't
> included automatically. Now that's a tricky question. :-)
> 
> I do know that Oracle also asks the programmer to include 
> sqlca, but how
> about other DBs? Infromix? Sybase? DB2? Does anyone know that?

Informix includes 
#include <sqlhdr.h>
#include <sqliapi.h>
automatically. 

sqlhdr.h then includes sqlca, sqlda, locator.h and most of the other headers.

Andreas


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

Предыдущее
От: "Zeugswetter Andreas SB SD"
Дата:
Сообщение: Re: Time as keyword
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: again on index usage