Re: [HACKERS] [PATCH] Call RelationDropStorage() for broader range ofobject drops.

Поиск
Список
Период
Сортировка
От Hadi Moshayedi
Тема Re: [HACKERS] [PATCH] Call RelationDropStorage() for broader range ofobject drops.
Дата
Msg-id CA+_kT_f1S4iG=udsM3kq3JwbcbZGKTQJTovyY8m1wnCuC5OUyQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] [PATCH] Call RelationDropStorage() for broader range ofobject drops.  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: [HACKERS] [PATCH] Call RelationDropStorage() for broader range ofobject drops.  (Hadi Moshayedi <hadi@citusdata.com>)
Список pgsql-hackers
On Wed, Sep 13, 2017 at 12:12 AM, Michael Paquier <michael.paquier@gmail.com> wrote: 
Foreign tables do not have physical storage assigned to by default. At
least heap_create() tells so, create_storage being set to false for a
foreign table. So there is nothing to clean up normally. Or is
cstore_fdw using directly heap_create with its own relfilenode set,
creating a physical storage?

cstore_fdw (in store_data_in_internal_storage branch) calls RelationCreateStorage() after CREATE FOREIGN TABLE completes [1]. Later it also creates the FSM fork and uses it for storing some metadata.


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: [HACKERS] Warnings "unrecognized node type" for some DDLs with log_statement = 'ddl'
Следующее
От: Hadi Moshayedi
Дата:
Сообщение: Re: [HACKERS] [PATCH] Call RelationDropStorage() for broader range ofobject drops.