Re: [BUGS] BUG #3951: SELECT ... WHERE Param = ? does not work if Param is of type bytea

2008-02-21 Thread Vincent D'Haene
ct: Re: [BUGS] BUG #3951: SELECT ... WHERE Param = ? does not work if > Param is of type bytea > Date: Thu, 21 Feb 2008 13:30:02 -0500 > From: [EMAIL PROTECTED] > > "Vincent D'Haene" <[EMAIL PROTECTED]> writes: > > My problem is that it seems that in postgres

Re: [BUGS] BUG #3951: SELECT ... WHERE Param = ? does not work if Param is of type bytea

2008-02-21 Thread Vincent D'Haene
Gevik, The link didn't help because that is not the same problem as I have: My problem is that it seems that in postgresql you can't use a parameter bound to BYTEA data in the WHERE clause of the SQL statement. So in my case: "SELECT x FROM T WHERE BinData = ?" does not work (return code -1) i