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 1ntvZQ-0007LW-Oq for pgsql-general@arkaria.postgresql.org; Wed, 25 May 2022 18:17:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ntvZP-0007tp-Kb for pgsql-general@arkaria.postgresql.org; Wed, 25 May 2022 18:17:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ntvZP-0007q2-A6 for pgsql-general@lists.postgresql.org; Wed, 25 May 2022 18:17:19 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ntvZN-00028R-7Z for pgsql-general@lists.postgresql.org; Wed, 25 May 2022 18:17:18 +0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 5F7A72A0107 for ; Wed, 25 May 2022 11:17:16 -0700 (PDT) Date: Wed, 25 May 2022 11:17:16 -0700 (PDT) From: Rich Shepard To: "pgsql-general@lists.postgresql.org" Subject: Re: Automatic PK values not added to new rows In-Reply-To: Message-ID: <4d12ca7-2188-f11e-9b2d-2098e2acfcf@appl-ecosys.com> References: MIME-Version: 1.0 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 Wed, 25 May 2022, David G. Johnston wrote: > The value the sequence provides next is wholly independent of everything > except the state of the sequence. It doesn’t care how many rows any table, > even its owner, has. The very existence of the delete command should make > this self-evident. David J., I didn't know that. Thanks, Rich