postgresql/src
Amit Kapila 9e0d9a24ef Fix memory leak due to LogicalRepRelMapEntry.attrmap.
When rebuilding the relation mapping on subscribers, we were not releasing
the attribute mapping's memory which was no longer required.

The attribute mapping used in logical tuple conversion was refactored in
PG13 (by commit e1551f96e6) but we forgot to update the related code that
frees the attribute map.

Author: Hou Zhijie
Reviewed-by: Amit Langote, Amit Kapila, Shi yu
Backpatch-through: 10, where it was introduced
Discussion: https://postgr.es/m/OSZPR01MB6310F46CD425A967E4AEF736FDA49@OSZPR01MB6310.jpnprd01.prod.outlook.com
2022-06-23 08:47:15 +05:30
..
backend Fix memory leak due to LogicalRepRelMapEntry.attrmap. 2022-06-23 08:47:15 +05:30
bin Revert "Fix psql's single transaction mode on client-side errors with -c/-f switches". 2022-06-10 16:34:25 -04:00
common Inhibit mingw CRT's auto-globbing of command line arguments 2022-04-25 15:50:07 -04:00
fe_utils Clean up assorted failures under clang's -fsanitize=undefined checks. 2022-03-03 18:13:24 -05:00
include Fix SPI's handling of errors during transaction commit. 2022-06-22 12:12:00 -04:00
interfaces Avoid ecpglib core dump with out-of-order operations. 2022-06-14 18:16:46 -04:00
makefiles Select CFLAGS_SL at configure time, not in platform-specific Makefiles. 2019-10-21 12:32:35 -04:00
pl Fix SPI's handling of errors during transaction commit. 2022-06-22 12:12:00 -04:00
port Stamp 12.11. 2022-05-09 17:18:31 -04:00
template Further tweaking of PG_SYSROOT heuristics for macOS. 2021-01-20 12:07:35 -05:00
test Un-break whole-row Vars referencing domain-over-composite types. 2022-06-10 10:35:57 -04:00
timezone Update time zone data files to tzdata release 2022a. 2022-05-05 14:55:17 -04:00
tools Improve setup of environment values for commands in MSVC's vcregress.pl 2022-05-11 10:22:37 +09:00
tutorial tutorial: land height is "elevation", not "altitude" 2021-03-10 20:25:18 -05:00
.gitignore
DEVELOPERS
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
Makefile.global.in Fix prove_installcheck to use correct paths when used with PGXS 2021-07-01 08:47:04 -04:00
Makefile.shlib Fix pkg-config files for static linking 2021-09-06 09:43:18 +02:00
nls-global.mk NLS: Fix backend gettext triggers 2019-09-23 09:05:50 +02:00