logoalt Hacker News

dragonwritertoday at 4:43 AM0 repliesview on HN

In DELETE ... RETURNING, RETURNING works like SELECT in a read query, so, yes, item_id is a column in task_queue and the result set is the item_id value of the row deleted.