Ivar Zarans wrote:

On Fri, Dec 05, 2003 at 01:23:43PM +0000, Richard Huxton wrote:


Better IMHO would be: "UPDATE table1 SET status = %s WHERE recid = %s::int8"



Thanks for the hint!


Which makes the wrapper class need:
                           def __str__( self ):
                               return "%s::int8"%(self.value,)

Enjoy,
Mike

_______________________________________
 Mike C. Fletcher
 Designer, VR Plumber, Coder
 http://members.rogers.com/mcfletch/




---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings

Reply via email to