[NOOB] try tu put a number with pqexecprepare

From: elekis <elekis(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: [NOOB] try tu put a number with pqexecprepare
Date: 2008-11-28 09:28:54
Message-ID: 78316ea80811280128q7042789em3f5f34fe9861093@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hi,

I try to use postgresql with a simple example using parameter, (so
with pqprepare and pqexecprepare).
I have trouble to put number.

I put the code here

http://pastebin.com/m1860cc27

I symply try to put the number 5 for the second column, and after that
read the line.

but the database, I have taht
83886080 in place of 5.

any idea??

PS: the oid come from the pg_type.h but if I include that in the file
I have a error with the node.h (dunno why)

thanks

a++

--
http://deathboater.blogspot.com/

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Abdul Rahman 2008-11-28 10:11:34 Re: PgAgent Job Scehduler is NOT running
Previous Message Andrus 2008-11-28 09:15:42 Re: [GENERAL] Expected password response, got message type 88