Re: In-order pg_dump (or in-order COPY TO)
Ron <ronljohnsonjr@gmail.com>
From: Ron Johnson <ronljohnsonjr@gmail.com>
To: "pgsql-generallists.postgresql.org" <pgsql-general@lists.postgresql.org>
Date: 2025-08-27T14:31:24Z
Lists: pgsql-general
On Wed, Aug 27, 2025 at 10:16 AM Tom Lane <tgl@sss.pgh.pa.us> wrote: > Dimitrios Apostolou <jimis@gmx.net> writes: > > Dump is from PostgreSQL 16, it's pg_dump writing to stdout: > > > pg_dump -v --format=custom --compress=none --no-toast-compression > --serializable-deferrable db_name | borg create ... > > Don't use --format=custom (and not -v either). That causes pg_dump to > include the OIDs and pg_dump object IDs of all the tables and other > objects, That's interesting. Why? (Since isn't it supposed to be Bad to rely on OIDs?) -- Death to <Redacted>, and butter sauce. Don't boil me, I'm still alive. <Redacted> lobster!