Re: [HACKERS] [BUGS] BUG #14759: insert into foreign data partitionsfail
От
Amit Langote
Тема
Re: [HACKERS] [BUGS] BUG #14759: insert into foreign data partitionsfail
Дата
Msg-id
bfbfb80b-6a85-5fbb-674f-cd05aa54d60a@lab.ntt.co.jp
Ответ на
Список
Дерево обсуждения
Re: [HACKERS] [BUGS] BUG #14759: insert into foreign data partitionsfail Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
Re: [HACKERS] [BUGS] BUG #14759: insert into foreign data partitionsfail Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Thank you for weighing in and reviewing the patch. On 2017/07/28 20:55, Etsuro Fujita wrote: > On 2017/07/26 15:29, Amit Langote wrote: >> On 2017/07/25 9:43, David G. Johnston wrote: >>> On Mon, Jul 24, 2017 at 5:19 PM, Amit Langote wrote: >>> I'm curious what the other limitations are... > > I think COPY has the same limitation as INSERT. Yes. I updated the patch to mention that as well. >> When I first wrote that documentation line (I am assuming you're asking >> about "although these have some limitations that normal tables do not"), I >> was thinking about the fact that the core system does not enforce >> (locally) any constraints defined on foreign tables. Since we allow >> inserting data into partitions directly, it is imperative that we enforce >> the "partition constraint" along with the traditional constraints such as >> NOT NULL and CHECK constraints, which we can do for local table partitions >> but not for foreign table ones. >> >> Anyway, attached patch documents all these limitations about foreign table >> partitions more prominently. > > Typo: s/the they is/they are/ Fixed in the attached. Thanks, Amit -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
В списке pgsql-hackers по дате отправления
От: Masahiko Sawada
Дата: