Search Postgresql Archives

Re: binding 64-bit integer

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

 



"flying2001us@xxxxxxxxx" <flying2001us@xxxxxxxxx> writes:
> After change the SQL clause to "SELECT * from mytable WHERE mykey=$1::int8", the binding passed!

If you had to insert an explicit cast, it means that "mykey" isn't int8,
which makes one wonder why you are bothering.

			regards, tom lane


[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