diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-08-01 15:06:47 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-08-01 16:05:00 -0400 |
commit | 34295b87fbbcbaf26280f53f006b20971dbad1f3 (patch) | |
tree | 22cf593e5d3693432d5dc92f19d94e7022e7b91c /src/tutorial/funcs.c | |
parent | e9bbfe60882e037b4bddddc5077d19c1a9762e58 (diff) | |
download | postgresql-34295b87fbbcbaf26280f53f006b20971dbad1f3.tar.gz postgresql-34295b87fbbcbaf26280f53f006b20971dbad1f3.zip |
Fix per-tuple memory leak in partition tuple routing
Some operations were being done in a longer-lived memory context,
causing intra-query leaks. It's not noticeable unless you're doing a
large COPY, but if you are, it eats enough memory to cause a problem.
Co-authored-by: Kohei KaiGai <kaigai@heterodb.com>
Co-authored-by: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Co-authored-by: Álvaro Herrera <alvherre@alvh.no-ip.org>
Discussion: https://postgr.es/m/CAOP8fzYtVFWZADq4c=KoTAqgDrHWfng+AnEPEZccyxqxPVbbWQ@mail.gmail.com
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions