Skip site navigation (1) Skip section navigation (2)

Re: [INTERFACES] ecpg runtime problem

From: Ivo Simicevic <ivo(at)ultra(dot)hr>
To: Sirish Kumar <sirishk(at)noida(dot)hclt(dot)com>
Cc: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] ecpg runtime problem
Date: 2000-02-28 13:37:07
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
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,


In response to

pgsql-interfaces by date

Next:From: Willy De la CourtDate: 2000-02-28 17:46:50
Subject: RE: [INTERFACES] pgsql ODBC driver and Visual Foxpro
Previous:From: Sirish KumarDate: 2000-02-28 12:42:54
Subject: ecpg runtime problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group