Opened 6 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:


Wander through the SQL to replace instances of

SELECT currval('some_id_seq')


$foosql .= " RETURNING (id)"

The first form is deprecated, and the second should be supported on pretty much any in-service Postgres instance available

Change History (0)

Note: See TracTickets for help on using tickets.