Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vqvol-003RrN-0k for pgsql-general@arkaria.postgresql.org; Fri, 13 Feb 2026 16:14:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vqvok-00FBZk-19 for pgsql-general@arkaria.postgresql.org; Fri, 13 Feb 2026 16:14:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vqvok-00FBZc-06 for pgsql-general@lists.postgresql.org; Fri, 13 Feb 2026 16:14:54 +0000 Received: from fhigh-a1-smtp.messagingengine.com ([103.168.172.152]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vqvoi-00000000Vym-3GBy for pgsql-general@postgresql.org; Fri, 13 Feb 2026 16:14:54 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfhigh.phl.internal (Postfix) with ESMTP id A98431400161; Fri, 13 Feb 2026 11:14:50 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Fri, 13 Feb 2026 11:14:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1770999290; x=1771085690; bh=pa/gXgqzqQ2c/jX37PgkGZtgavjnoyGxzMD5k3Q/OkQ=; b= F8EkRCK56XIKi4YTAhNSeJve1eNWNheXGllulNlHKlgez8Z+hn/JaIrwu5BUPE0s XBwNB23ADlUoO2ivIEPLlpWqwiiQpq46SFF15CSEcBos9Ufc6J/8JikLadUaM5zO ilEcacX4dHsY98+SHng1eALOwDOt+NK4Rk2N0JUAioT0uiZwYptyd8sfc+4i0EoT xD+cvTg/5Sy2N8pBQ/86wLd+wifdgIj90jpUPZorOxdrmIwbl4R/SoMkHKfY8A8d lVKGUjD+YGWqjZ/1GO2CBmhNBZxYS/Az1EBG5VtmigOuuZuQiKczX5itd0QOJGE0 /i/l6KWao1dhruIR4Q6Iww== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1770999290; x=1771085690; bh=p a/gXgqzqQ2c/jX37PgkGZtgavjnoyGxzMD5k3Q/OkQ=; b=qdoyTKva2uEU7w05i QZkV+CmopuCVu3rkjDy0Cb6L3FvbVyiHMS//IsZ1qwD2XTP17v2m0Xm9CJx7FPI+ 680FhJhtryocYkeVcD0qxvGVYxTJ8RvetieowAt/2eYVYuj8QnKK+Y79AV3TB3sm qrYgh27Uoq/mb2FMY5M+2FgkhjSeBU2BxnBMetY8YxROy9heXEXTHwY2q1WvPrHS tZ7En2uCqO0/TO8SEgRJpn6PFZBmVtdOO3hjvJ6gX+zMTfk62YBJ1WdvGRX9qkFB VY6H5fjr5WNrfFOjrkgJ6nG/UNUGXpBf9q8pZ4sUID2dwt60LD/VkRo1OpRNfTc6 uS2dA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvtdekjedtucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertd dtvdejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgr vhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepffelgeeifefgve duhedthfekuedtffejveegffegjeevtdehgfduieetfeehjeehnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrh esrghklhgrvhgvrhdrtghomhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphho uhhtpdhrtghpthhtoheprhhonhhljhhohhhnshhonhhjrhesghhmrghilhdrtghomhdprh gtphhtthhopehpghhsqhhlqdhgvghnvghrrghlsehpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 13 Feb 2026 11:14:50 -0500 (EST) Message-ID: <2263e480-ce7c-4e85-bc90-ba095d4711db@aklaver.com> Date: Fri, 13 Feb 2026 08:14:49 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pg_restore failed on foreign key constraint To: Ron Johnson , pgsql-general References: <6511b21d495f1c010f05ae9841ee3fdc649dcff2.camel@cybertec.at> <9dccf4f8-2d45-4e6e-a374-1de66d6cc243@aklaver.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2/13/26 08:05, Ron Johnson wrote: > On Fri, Feb 13, 2026 at 10:55 AM Adrian Klaver > > wrote: > > On 2/13/26 06:18, Ron Johnson wrote: > > On Fri, Feb 13, 2026 at 1:43 AM Laurenz Albe > > > >> wrote: > > > Turns out that there's a nightly cron job that dumps this (and > other) > > tables with the "--data-only --disable-triggers" options and then > does > > "psql -Xaf mumble.sql" to load them into this database. > > > > But access_email_id=2073 is in the source access_email, so I've > got to > > figure out why it's not being loaded into the target. > > Is it in the dump file from the source? > > > Some tables aren't being dumped at the source;  Thus, the missing records. Un-confuse me, how do the below relate?: "Turns out that there's a nightly cron job that dumps this (and other) tables with the "--data-only --disable-triggers" options and then does "psql -Xaf mumble.sql" to load them into this database. But access_email_id=2073 is in the source access_email, so I've got to figure out why it's not being loaded into the target." and "Some tables aren't being dumped at the source" > > -- > Death to , and butter sauce. > Don't boil me, I'm still alive. > lobster! -- Adrian Klaver adrian.klaver@aklaver.com