Postgresql – Is there a way to know what operation was performed in MERGE?
Using jOOQ and PostgreSQL, is there a way to know what operation was executed for a MERGE, INSERT or UPDATE? E.g. using the example from jOOQ's documentation: create.mergeInto(AUTHOR) .using(create.selectOne()) // Suppose the last name is unique (natural key) in my…