News for hackers. Stuff that matters.
Re:PostgreSQL Features to Try by other_herbert on Saturday April 27, 2019 @05:05PM (#19767627)
I'm curious why you need this? As a safety mechanism?

You could just do a select with the limit then update that row from the primary key...

Re:PostgreSQL Features to Try by lucb1e on Sunday April 28, 2019 @06:58PM (#19774326)
Sure, with a Turing compete system everything is a "you could just". It seems a lot easier to update limit 1 than to involve a subquery. If that is what GP meant it for, of course.