diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-10-28 11:18:54 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-10-28 11:18:54 +0200 |
commit | f3e83073310e5fbafb142bb8d3cd1b03ed6088e9 (patch) | |
tree | b5dff90ee11e188a32e15defcdd7e0caa846f48e /build/export | |
parent | c83c53f3cea54b62d1d90d298dccafcda37d5297 (diff) |
Implement returning of auto id using RETURNING clause in PostgreSQL
Before we used a separate SELECT lastval() query which was both inefficient
and error-prone in cases where INSERT may cause triggers to override the
last value.
Diffstat (limited to 'build/export')
0 files changed, 0 insertions, 0 deletions