[PATCH] Use RelationClose rather than table_close in heap_create_with_catalog

Поиск
Список
Период
Сортировка
От Xiaoran Wang
Тема [PATCH] Use RelationClose rather than table_close in heap_create_with_catalog
Дата
Msg-id DS0PR05MB968933DCAB6EC48776102A7BBA829@DS0PR05MB9689.namprd05.prod.outlook.com
обсуждение исходный текст
Ответы Re: [PATCH] Use RelationClose rather than table_close in heap_create_with_catalog  (tender wang <tndrwang@gmail.com>)
Re: [PATCH] Use RelationClose rather than table_close in heap_create_with_catalog  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Список pgsql-hackers
Hi hackers,

 In heap_create_with_catalog, the Relation new_rel_desc is created 
by RelationBuildLocalRelation, not table_open. So it's better to 
call RelationClose to release it.

What's more, the comment for it seems useless, just delete it.

Thanks!
Вложения

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: logical decoding and replication of sequences, take 2
Следующее
От: vignesh C
Дата:
Сообщение: Re: Allow logical replication to copy tables in binary format