Re: More on "What am I doing wrong!" - Mailing list pgsql-general

From Wm. G. Urquhart
Subject Re: More on "What am I doing wrong!"
Date
Msg-id Pine.LNX.4.44.0205190948210.510-100000@mailer.wurquhart.co.uk
Whole thread Raw
In response to More on "What am I doing wrong!"  ("Wm. G. Urquhart" <wgu@wurquhart.co.uk>)
List pgsql-general
On Sat, 18 May 2002, mordicus wrote:

> faile with a message ?

No there is nothing. Only my own error trap.

> in your function CPatient::ApplyData(CDataBase* pData)
> "ret" should not be 0 since it's an integer ?

Ok, I'll change that.

> if (Ok = SQL_SUCCEEDED(SQLBindParameter(pData->GetHandle(), 1,
> SQL_PARAM_OUTPUT, SQL_C_LONG, SQL_INTEGER, 0, 0, &nParent, 0, &ret)))
>
> Ok, so, if i understand, with psql when you do
>
> select apply_parent_details(...your params...) it work and
> in your code, when you do the same think it faile ?

Yes, exactly.

> Can you active sql log to see what happend ?

How do I do that?

> I've tested with my own code, and it work well.

Tested what?

> Can you send me the shema of your database ?

Sure. Will a dump() do?

--
Regards,


Wm. G. Urquhart
Custom Software Solutions
http://www.wurquhart.co.uk




pgsql-general by date:

Previous
From: Cindy
Date:
Subject: sun solaris & postgres
Next
From: "Wm. G. Urquhart"
Date:
Subject: Re: More on "What am I doing wrong!"