pgsql: Fix memory leak when inserting tuple at relation creation forCT

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Fix memory leak when inserting tuple at relation creation forCT
Дата
Msg-id E1gyrf2-0005QI-8U@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix memory leak when inserting tuple at relation creation for CTAS

The leak has been introduced by 763f2ed which has addressed the problem
for transient tables, and forgot CREATE TABLE AS which shares a similar
logic when receiving a new tuple to store into the newly-created
relation.

Author: Jeff Janes
Discussion: https://postgr.es/m/CAMkU=1xZXtz3mziPEPD2Fubbas4G2RWkZm5HHABtfKVcbu1=Sg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/414a9d3cf34c7aff1c63533df4c40ebb63bd0840

Modified Files
--------------
src/backend/commands/createas.c | 3 +++
1 file changed, 3 insertions(+)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: Store table oid and tuple's tid in tuple slots directly.
Следующее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: Use slots in trigger infrastructure, except for theactual invoc