Re: COPY documentation with regard to references constraints

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: COPY documentation with regard to references constraints
Дата
Msg-id aab49ba8663ad70edaac1a6db93a0aec5bdf380c.camel@cybertec.at
обсуждение исходный текст
Ответ на COPY documentation with regard to references constraints  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-general
On Thu, 2024-10-31 at 06:38 -0500, Bruno Wolff III wrote:
> I was unable to find any documentation clarifying if using COPY to load a
> table with rows referencing others rows in the same table, whether I
> had to worry about ordering of the input.

I cannot find it in the documentation either, but since COPY is a single
statement and foreign key constraints are checked at the end of the
statement, it should work fine.

Yours,
Laurenz Albe



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