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:
> The following libpq code chokes on me with invalid input to an 
> integer parameter (state == PGRES_FATAL_ERR aPtr == "Error: Invalid 
> Input syntax for integer """ .   It fails on the call to 
> PQexecPrepared.  I suspect I'm not doing the parameters right.  Can 
> anyone spot anything wrong?

You can't just point to integers as if they were strings.  Didn't
your compiler complain about that?

			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