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

Re: [INTERFACES] ecpg runtime problem

From: Michael Meskes <meskes(at)postgreSQL(dot)org>
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-03-01 07:31:44
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:
>    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 Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael(at)Fam-Meskes(dot)De           | Use PostgreSQL!

In response to

pgsql-interfaces by date

Next:From: Jesper ZachoDate: 2000-03-01 08:30:02
Subject: VS: [INTERFACES] JDBC JAVA Stream support for Large Object
Previous:From: Byron NikolaidisDate: 2000-03-01 04:44:33
Subject: Re: [INTERFACES] Serious problem with the odbc driver and VFP

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