[NOOB] try tu put a number with pqexecprepare

Поиск
Список
Период
Сортировка
От elekis
Тема [NOOB] try tu put a number with pqexecprepare
Дата
Msg-id 78316ea80811280128q7042789em3f5f34fe9861093@mail.gmail.com
обсуждение исходный текст
Ответы Re: [NOOB] try tu put a number with pqexecprepare  ("Daniel Verite" <daniel@manitou-mail.org>)
Список 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/

В списке pgsql-general по дате отправления:

Предыдущее
От: "Willy-Bas Loos"
Дата:
Сообщение: Re: [pgadmin-support] Separate Sessions?? (View data <-> Query tool)
Следующее
От: Abdul Rahman
Дата:
Сообщение: Re: [ADMIN] PgAgent Job Scehduler is NOT running