Refactor pgoutput_change().

Instead of mostly-duplicate code for different operation
(insert/update/delete) types, write a common code to compute old/new
tuples, and check the row filter.

Author: Hou Zhijie
Reviewed-by: Peter Smith, Amit Kapila
Discussion: 
https://postgr.es/m/os0pr01mb5716194a47ffa8d91133687d94...@os0pr01mb5716.jpnprd01.prod.outlook.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/da324d6cd45bbbcc1682cc2fcbc4f575281916af

Modified Files
--------------
src/backend/replication/pgoutput/pgoutput.c | 235 ++++++++++------------------
1 file changed, 79 insertions(+), 156 deletions(-)

Reply via email to