> So it should work to do "SELECT int4($1::bit varying)" and then pass> 'xBEEF' as the string value for the parameter.> > regards, tom lane
Thanks, that worked for me