Re: Table partitioning with sequence field in postgresql12

Поиск
Список
Период
Сортировка
От Srinivasa T N
Тема Re: Table partitioning with sequence field in postgresql12
Дата
Msg-id CAFruNdfXBjr535LRd3X2GSD8XxF7Tvq7q7MG+mOVKKN3sFNHoA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Table partitioning with sequence field in postgresql12  (amul sul <sulamul@gmail.com>)
Ответы Re: Table partitioning with sequence field in postgresql12  (amul sul <sulamul@gmail.com>)
Re: Table partitioning with sequence field in postgresql12  (Tim Cross <theophilusx@gmail.com>)
Список pgsql-general
Hi,
   I have a parent table with one of the field as ""gid" int4 DEFAULT nextval('"ami_smart_new".aoi_boundary_gid_seq'::regclass)".

   I create child tables which inherit parent and use hash partition.  When I directly insert into child tables, will there be any race condition causing two child tables getting the same sequence value for gid?

Regards,
Seenu.


On Thu, Jun 18, 2020 at 12:09 PM amul sul <sulamul@gmail.com> wrote:
On Thu, Jun 18, 2020 at 12:00 PM Srinivasa T N <seenutn@gmail.com> wrote:
>
> Hi,
>    Partitioning of a table with sequence id as one of its fields is supported in postgresql12?
>
Could you please elaborate on your case a bit more?

Regards,
Amul

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

Предыдущее
От: amul sul
Дата:
Сообщение: Re: Table partitioning with sequence field in postgresql12
Следующее
От: Tim Cross
Дата:
Сообщение: Re: Table partitioning with sequence field in postgresql12