Search Postgresql Archives

Re: Question on libpq parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Owen Hartnett <owen@xxxxxxxxxxxxxxxx> writes:
> Yes, it did.  I'm confused.  My first parameter is a string, but the 
> following two are integers.  I thought the paramType parameter 
> indicated the type.  Do the integers need to be sprintf'd to strings? 

Yes.

Alternatively, you could pass the integers as binary, but that's not
notation-free either (you need htonl or some such).

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux