Re: RETURNING order guarantees documentation

2024-05-04 Thread Tom Lane
"David G. Johnston" writes: > On Sat, May 4, 2024, 10:13 Dan Wainwright wrote: >> 'Similar to' doesn't provide anything concrete to the reader. There was a >> thread >> on [Hackers] >> >> back in 2015 proposing some docs

Re: RETURNING order guarantees documentation

2024-05-04 Thread David G. Johnston
On Sat, May 4, 2024, 10:13 Dan Wainwright wrote: > > 'Similar to' doesn't provide anything concrete to the reader. There was a > thread > on [Hackers] > > back in 2015 proposing some docs to clearly explain that ordering

RETURNING order guarantees documentation

2024-05-04 Thread Dan Wainwright
Hi, I was looking for documentation on the ordering guarantees of RETURNING statements relative to the input data and found that there is nothing explicit. The insert docs state > If the INSERT command contains a RETURNING clause, the result will be similar to that of a SELECT statement containing