COPY documentation with regard to references constraints

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: COPY documentation with regard to references constraints
Date: 2024-10-31 11:38:32
Message-ID: 20241031113832.GA3409@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.
What I found (in 17) is that even if the references constraint wasn't
set as deferrable, I could have rows for children before their parents
in the COPY data and things still worked.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dominique Devienne 2024-10-31 12:15:34 Re: COPY documentation with regard to references constraints
Previous Message Priancka Chatz 2024-10-31 10:48:08 Re: pg_wal folder high disk usage