Is it still impossible to distinguish whether a row was inserted vs updated ?
The latest I can see is here:https://wiki.postgresql.org/wiki/UPSERT#RETURNING_behavior
..but I'm hopeful that the 4 year old wiki page is out of date.
Justin