> Shouldn't you be using INSERT ... RETURNING .. ; for this? Seems like > the perfect useage.>
Sorry to reply to myself but I just looked this up and it is only supported from 8.2 onwards. :-(
Ben