Thanks for the simplified test case. > Does the returning clause permit returning values not from the updated table? One would think not. But PostgreSQL apparently does. It's unclear whether that makes any sense or is an implementation artifact.
Thanks for the simplified test case. > Does the returning clause permit returning values not from the updated table? One would think not. But PostgreSQL apparently does. It's unclear whether that makes any sense or is an implementation artifact.