Refactor pgoutput_change().
Amit Kapila <akapila@postgresql.org>
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/OS0PR01MB5716194A47FFA8D91133687D94BF9@OS0PR01MB5716.jpnprd01.prod.outlook.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/pgoutput/pgoutput.c | modified | +79 −156 |
Discussion
- Simplify some codes in pgoutput 10 messages · 2023-03-15 → 2023-03-30