Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maKwM-0008SC-B4 for pgsql-bugs@arkaria.postgresql.org; Tue, 12 Oct 2021 16:47:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1maKwL-00073K-8E for pgsql-bugs@arkaria.postgresql.org; Tue, 12 Oct 2021 16:47:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maKwK-00073C-Ij for pgsql-bugs@lists.postgresql.org; Tue, 12 Oct 2021 16:47:45 +0000 Received: from resqmta-po-09v.sys.comcast.net ([2001:558:fe16:19:96:114:154:168]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maKwH-0004ee-HQ for pgsql-bugs@lists.postgresql.org; Tue, 12 Oct 2021 16:47:44 +0000 Received: from resomta-po-05v.sys.comcast.net ([96.114.154.229]) by resqmta-po-09v.sys.comcast.net with ESMTP id aKs5m1D7y6cSdaKwCmJTBW; Tue, 12 Oct 2021 16:47:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1634057256; bh=BVLIlFecWDU+tmyR/nYo3aMSwdZLm6//y3NoOSrswB8=; h=Received:Received:From:To:Subject:Date:Message-Id:Reply-To: Mime-Version:Content-Type; b=PjsD+1Z02WjQ1jRNZJaaKUeugXVs8yzAKY5W4celILFCxcthXcgIKTCdQU2IifaqZ BTqlpvYPjdppW09gCvk5YanJj0Hzm62/lyHAmUQm2QcLvV86HFKBKLIHClyaVUXXXn snnjQ4NSMMpFJeMhALQLtfGYE5lPUzfoDF1tCkaWHIozyMM/FpzIGU2zBAjuwx7Nep 7F1UpWZbRe2YaY9awoMdu8IKAEQhnczp/bLvCMowcDaDSqitZbE2gw8Lm6DLjQF3UF BtASuKBTdG3Atu9PD0P2VjwkpAbk3w5dvbyCHBmb9C+arSVWXkQm6ALYvE/7iHO2WB KHx/ms5e/kgRA== Received: from [IPv6:2601:283:4600:3ed0:1943:dce:e3c9:905d] ([IPv6:2601:283:4600:3ed0:1943:dce:e3c9:905d]) by resomta-po-05v.sys.comcast.net with ESMTPA id aKw9mo7JwUQLZaKwAmlt6y; Tue, 12 Oct 2021 16:47:35 +0000 X-Xfinity-VMeta: sc=-100.00;st=legit From: "Jed Walker" To: "David G. Johnston" , "Jed Walker" Subject: Re[2]: v12.4 pg_dump .sql fails to load data via psql Cc: "Tom Lane" , "pgsql-bugs@lists.postgresql.org" Date: Tue, 12 Oct 2021 16:47:34 +0000 Message-Id: In-Reply-To: References: <375102856.69594.1633991178400@connect.xfinity.com> <526204.1633992925@sss.pgh.pa.us> Reply-To: "Jed Walker" User-Agent: eM_Client/8.2.1473.0 Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------=_MB78534F86-D75F-4E13-AACB-99112109151D" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --------=_MB78534F86-D75F-4E13-AACB-99112109151D Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Thank you. I originally did this with triggers but there was a push to=20 use the constraint method as it is more easily readable when looking at=20 the table structure (constraint makes it clear what is happening, what=20 column it applies to, versus just seeing there are triggers and having=20 to read code.) I have to admit, I concur with the readability thing=20 since converting. Just making the point for reference - obviously there=20 are pros and cons. Thanks for the reply tips. I think this is the first "bug" I've filed.=20 Hopefully I won't have more, but good to know! --------=_MB78534F86-D75F-4E13-AACB-99112109151D Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Thank you. I original= ly did this with triggers but there was a push to use the constraint method = as it is more easily readable when looking at the table structure (constra= int makes it clear what is happening, what column it applies to, versus jus= t seeing there are triggers and having to read code.)=C2=A0 I have to admit= , I concur with the readability thing since converting. Just making the poi= nt for reference - obviously there are pros and cons.

Thanks for the reply tips. I think this is the first "bug" I've filed= . Hopefully I won't have more, but good to know!=C2=A0
--------=_MB78534F86-D75F-4E13-AACB-99112109151D--