> I put the code here
> I symply try to put the number 5 for the second column, and after
> read the line.
> but the database, I have taht
> 83886080 in place of 5.
83886080 happens to be ntohl(5), it's probably not a coincidence :)
Since you're using binary format for your integer parameters, you must
convert them from host byte order to network byte order with htonl()
and conversely use ntohl() for results.
PostgreSQL-powered mail user agent and storage:
In response to
pgsql-general by date
|Next:||From: elekis||Date: 2008-11-28 10:40:54|
|Subject: Re: [NOOB] try tu put a number with pqexecprepare|
|Previous:||From: Abdul Rahman||Date: 2008-11-28 10:11:34|
|Subject: Re: PgAgent Job Scehduler is NOT running|