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

[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: (view raw or whole thread)
Lists: pgsql-general

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

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)





pgsql-general by date

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

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