postgresql7.1
insert into postcard_images (card_image_id, mime_type,
title, description)
values (:image_id, :mime_type, :title, :description )
update postcard_images
set lob = [set __lob_id [db_string get_lob_id "select empty_lob()"]]
where card_image_id = :image_id