Re: COPY documentation with regard to references constraints - Mailing list pgsql-general

From Laurenz Albe
Subject Re: COPY documentation with regard to references constraints
Date
Msg-id aab49ba8663ad70edaac1a6db93a0aec5bdf380c.camel@cybertec.at
Whole thread Raw
In response to COPY documentation with regard to references constraints  (Bruno Wolff III <bruno@wolff.to>)
List 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 by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: COPY documentation with regard to references constraints
Next
From: Laurenz Albe
Date:
Subject: Re: pg_wal folder high disk usage