From: Ivo Simicevic <ivo@ultra.hr>
To: Sirish Kumar <sirishk@noida.hclt.com>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] ecpg runtime problem
Date: Mon, 28 Feb 2000 14:37:07 +0100
Message-ID: <20000228143707.A17854@ultra.hr> (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:
> Hi,
> I am using ecpg version 2.4.4. I am checking my code with purify to
> remove any run time problems.
> Following simple ecpg code gives core dump (when compiled with purify*).
>
> .....
> #include <stdio.h>
>
> void main()
> {
> exec sql connect cdata;
> }
> .....
>
What is cdata : database name or variable containing database name?
If it is database name try enclosing it in double quotes like "cdata"
If cdata is variable it should be listed in DECLARE section
Also try using CONNECT TO database.
Good luck,
Ivo.
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: ivo@ultra.hr, sirishk@noida.hclt.com
Subject: Re: [INTERFACES] ecpg runtime problem
In-Reply-To: <20000228143707.A17854@ultra.hr>
* 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