From: Michael Meskes <meskes@postgreSQL.org>
To: Sirish Kumar <sirishk@noida.hclt.com>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] ecpg runtime problem
Date: Wed, 1 Mar 2000 08:31:44 +0100
Message-ID: <20000301083144.A16147@fam-meskes.de> (raw)
In-Reply-To: <016001bf81e9$55ee31e0$edfea0cc@noida.hclt.com>
References: <016001bf81e9$55ee31e0$edfea0cc@noida.hclt.com>
On Mon, Feb 28, 2000 at 06:12:54PM +0530, Sirish Kumar wrote:
> I am using ecpg version 2.4.4. I am checking my code with purify to
> remove any run time problems.
Could you please try a newer version. 2.4.4 is rather old.
> exec sql connect cdata;
The connect syntax was changed. I'm not sure what it was like with version
2.4.4. The correct syntax is EXEC SQL CONNECT TO <dbname>.
Is 'cdata' your database name? Could you please tell me how the statement
was translated? Just look into the corresponding .c file for cdata. This
should be particularly interesting since the purify message talked about
some libpq functions called from libecpg.
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!
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: meskes@postgreSQL.org, sirishk@noida.hclt.com
Subject: Re: [INTERFACES] ecpg runtime problem
In-Reply-To: <20000301083144.A16147@fam-meskes.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox