Reset? - Mailing list pgsql-interfaces

From Joep deVocht
Subject Reset?
Date
Msg-id 3C90E638.A4E99102@masktools.com
Whole thread Raw
Responses Re: Reset?
List pgsql-interfaces
Hi,

I'm using Postgres 7.1 with the C++ interface
and am facing the following problem.
I notice that when I send a invalid query to the dbase server
using "Exec" (For instance when trying to put an integer value
into the table that is too large) that the next Exec fails with
a segmentation fault.

I know it's possible to "reset" the connection or something similar,
so that after an invalid query, new queries can be sent 
without problems. I know this because "psql" is able to.
Problem is that I can't seem to figure out how they do it.

Can anyone help me with this?

Many thanx in advance,

Joep.


pgsql-interfaces by date:

Previous
From: Marc Blanc
Date:
Subject: Re: TCP/IP database connection problem with pgaccess
Next
From: jtv
Date:
Subject: Re: Reset?