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.94.2) (envelope-from ) id 1qsYar-008SLX-26 for pgsql-bugs@arkaria.postgresql.org; Tue, 17 Oct 2023 01:09:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qsYan-005R5F-NH for pgsql-bugs@arkaria.postgresql.org; Tue, 17 Oct 2023 01:09:54 +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.94.2) (envelope-from ) id 1qsYan-005R56-9d for pgsql-bugs@lists.postgresql.org; Tue, 17 Oct 2023 01:09:54 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qsYaj-0015qE-TU for pgsql-bugs@lists.postgresql.org; Tue, 17 Oct 2023 01:09:53 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-405361bb9f7so51726125e9.2 for ; Mon, 16 Oct 2023 18:09:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20230601.gappssmtp.com; s=20230601; t=1697504989; x=1698109789; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=P3FmXogkl+WVulu5zhV1lNq8y9A5Alz4EQA8my6bb0I=; b=EVZ+LAADXQXs9z5i/HfQ/xW0BOZLyXJeiUzbUbe8epdxZ88WDqLX7CBKbXb/CQWn1a ubfq72GUP5n8QwyD8eYxkNS0N20s3iYj8hIeKvkwGFNIgtlX6zSIA7cgJaNqbFTxcYpL 9olRg824jRHYF+a1+b/iW1PJFMGQAxRFqdw3nca0WlGIdL920ztw2WRGTOPdEsiOSTln qZBpm9R916HBaLoVX9rymylWQBvGYdAv80vE5vUy+Ge5iKXU+cUtTjBl9TD+tjSJEDx7 u1lD+AkJonvW9Kt6pjXl6sxO9SV8WZTPJ/2wCEm3XCNJ+2PyoeZ57nBDT7Sx4uUG1zE1 zzmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697504989; x=1698109789; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=P3FmXogkl+WVulu5zhV1lNq8y9A5Alz4EQA8my6bb0I=; b=rOFG5d/HjXchEjM+h+HLJJukcugnB40RcJImUqGfeC+XSP7R2vFGRgTr52M+oBSUgU AtUZ2RaKeMJtMjtZL6iXujsczKCwukN4+HLQIxtY3gQG9npvsek8FEh8uQUO999JYmth tjVRgDI4zULOMOaH9jhpSBXQljpOl9WVUa56Dhi2B/l+1Y4d6X0nBxtFIru+eI6hwNEZ ak2DsalhSE7pTVidaDKyGqTNWNpFGFLdlsAuq7r+smQtIbPWiBJXagWVcxzlN35lV9k9 DgVQ1DL5qxE/3DGvXpw76k4uVlMBUzDVaeUegwDoD1urrG8xcUYqpfc8RAQAxw1FiAJ3 9kVg== X-Gm-Message-State: AOJu0YzNQOXIZPHUoBQ9jUWhfqX+WjaKwPjScnOJPmk/zkBoHzzsBUuV rhWz54dSUKyYVrWxVE1z62RbWA== X-Google-Smtp-Source: AGHT+IEK4N+PURykV0/drzr9ThA6gKv0LF/m4owc5eHxh5WNA/2U6v+b8w9UKLVTepmvCo6HkYUeLQ== X-Received: by 2002:a05:600c:190f:b0:405:3955:5881 with SMTP id j15-20020a05600c190f00b0040539555881mr596741wmq.36.1697504988808; Mon, 16 Oct 2023 18:09:48 -0700 (PDT) Received: from localhost.localdomain ([2001:871:260:9c79:551a:3a12:64d3:2881]) by smtp.gmail.com with ESMTPSA id t15-20020a05600c450f00b004064288597bsm462212wmo.30.2023.10.16.18.09.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 18:09:48 -0700 (PDT) Message-ID: <606b3a0f175d7cfcc497c5e377094a1af459ef34.camel@cybertec.at> Subject: Re: BUG #18159: Database Integrity Concerns: Missing FK Constraint From: Laurenz Albe To: rootcause000@gmail.com, pgsql-bugs@lists.postgresql.org Date: Tue, 17 Oct 2023 03:09:47 +0200 In-Reply-To: <18159-d47c6a6b62e40f00@postgresql.org> References: <18159-d47c6a6b62e40f00@postgresql.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 2023-10-16 at 20:26 +0000, PG Bug reporting form wrote: > Is there a possibility that during the vacuum process, FK constraints mig= ht > be dropped and recreated for restructuring? No, that cannot happen. You must have lost your foreign key constraints some other way (somebody ra= n ALTER TABLE). There is no indication that this is a PostgreSQL bug. Yours, Laurenz Albe