Custom conflict handling v7

For update/update conflicts, custom conflict handling uses a PL/pgSQL function to resolve the conflict. If you're using EDB Postgres Advanced Server, you can use a Stored Procedure Language (SPL) function. When an update/update conflict is detected, the function is called. How you set a certain parameter in the function determines the outcome of the conflict.

You must provide the function and add it to the primary definition node using a utility such as PSQL or pgAdmin (Postgres Enterprise Manager Client in EDB Postgres Advanced Server).

custom_conflict_handling_function adding_custom_conflict_handling_function custom_conflict_handling_examples