Re: ECPG: include sqlca

From: "Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)at>
To: "Michael Meskes" <meskes(at)postgresql(dot)org>, "PostgreSQL Hacker" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ECPG: include sqlca
Date: 2002-01-09 09:14:36
Message-ID: 46C15C39FEB2C44BA555E356FBCD6FA41EB492@m0114.s-mxs.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Inoue 2002-01-09 09:45:22 Re: again on index usage
Previous Message Zeugswetter Andreas SB SD 2002-01-09 08:45:09 Re: Time as keyword