↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Functions

merge_action

Returns the merge action command executed for the current row. This will be 'INSERT', 'UPDATE', or 'DELETE'.

English manual coverage begins with PostgreSQL 7.1. Source history and runtime observations have their own recorded version boundaries.

Reading PG 18·Select a recorded version

group
merge-support
group label
Merge Support Functions
lang
en
layout
table-new
pages
functions-merge-support.html
prose only
false

Definition PG 18

Returns the merge action command executed for the current row. This will be 'INSERT', 'UPDATE', or 'DELETE'.

Signatures and overloads

merge_action ( ) → text → text
Returns the merge action command executed for the current row. This will be 'INSERT', 'UPDATE', or 'DELETE'.

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · wiki-repair-20261023:d45d097f41d6bd66db706e402f4b49a38e819c832798308e8e9ccd569583dd1f

Text language: en · wiki-repair-20261023:d45d097f41d6bd66db706e402f4b49a38e819c832798308e8e9ccd569583dd1f