Opened 7 years ago
#59 new task
Use RETURNING for retrieving a freshly assigned sequence ID
Reported by: | Kris Deugau | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Version: | Keywords: | ||
Cc: |
Description
Wander through the SQL to replace instances of
SELECT currval('some_id_seq')
with
$foosql .= " RETURNING (id)"
The first form is deprecated, and the second should be supported on pretty much any in-service Postgres instance available
Note:
See TracTickets
for help on using tickets.