Re: Where is the logig to create a table file?

Поиск
Список
Период
Сортировка
От Pavel Borisov
Тема Re: Where is the logig to create a table file?
Дата
Msg-id CALT9ZEG5DaYCyRXdgTKVhr-G9VK3ZFW3h49+Ba1m6kVTKaprsg@mail.gmail.com
обсуждение исходный текст
Ответ на Where is the logig to create a table file?  ("jacktby@gmail.com" <jacktby@gmail.com>)
Ответы Re: Where is the logig to create a table file?  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Список pgsql-hackers
Hi, Jack

On Fri, 3 Feb 2023 at 13:19, jacktby@gmail.com <jacktby@gmail.com> wrote:
>
> When I use 'create table t(a int);'; suppose that this table t's oid is 1200,
> then postgres will create a file named 1200 in the $PGDATA/base, So where
> is the logic code in the internal?
>
heapam_relation_set_new_filenode()->RelationCreateStorage()

Kind regards,
Pavel Borisov,
Supabase



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Perform streaming logical transactions by background workers and parallel apply
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [PATCH] Compression dictionaries for JSONB