postgresql7.2
update lang_messages
set [join $set_clauses ", "]
where locale = :locale
and message_key = :message_key
and package_key = :package_key
insert into lang_messages ([join $col_clauses ", "])
values ([join $val_clauses ", "])
current_timestamp
:message
update lang_message_keys
set description = :description
where message_key = :message_key
and package_key = :package_key
sync_time = current_timestamp