"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> 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 ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings