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 1ntv5B-00068u-Mw for pgsql-general@arkaria.postgresql.org; Wed, 25 May 2022 17:46:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ntv5A-0002dr-Io for pgsql-general@arkaria.postgresql.org; Wed, 25 May 2022 17:46:04 +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 1ntv58-0002di-HN for pgsql-general@lists.postgresql.org; Wed, 25 May 2022 17:46:04 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ntv53-0006Hn-M9 for pgsql-general@lists.postgresql.org; Wed, 25 May 2022 17:46:02 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 460535C010D; Wed, 25 May 2022 13:45:55 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 25 May 2022 13:45:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1653500755; x= 1653587155; bh=bcpt2g0HH4Hi3gQAgIh0u0DV2m8Bhs8mgj5aWxixkXs=; b=K f/l15CigTsrlGEsaXPgWdxXyWXu/FwXrKIw7990xw9uwz8ua8mEYfEWZUdLpWdYs vp1P2c+6wMkogRyRdbbTfQfeJaFaBgL8/wLLAwFkayhazt6WmAUWKl2Ah0ipqKOM zAjnkAO/cfJ4eUb3Wtg/it8dCdtaG7XF9IXY/kB97qUOHJZ48JaoXy81H/9mXIeK 7aTC6mDoSqizKT8f0MDdOw1K01W2QH/Rq3lPKLNd48YLNFU/EZdWwoCmPh9rLkIr At9DXq83GUZItqB4wGqbETVvPsJbDkGucLhMn+N39Pb7Zhwhh8cD4sRUyuGPKpMv 2uSPXIznEBRyfCtNTlRcg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1653500755; x=1653587155; bh=b cpt2g0HH4Hi3gQAgIh0u0DV2m8Bhs8mgj5aWxixkXs=; b=uPgCuwRRO6ccgOfMU D0TVlL7LNFOY8i+PZtcw4OJvRjB24Dprlb6fCl2sQO1UUPmmj60fgBJ0KrAbNLbz Yig7vDJWlF6RKSj22K4MOYGCofwjFULYXhSjip28wrQSTsexio5cOKICriy3dBkq mFu3i9ru75OVF4wpVhFG45piV/5PeRZ60KY+cqO6J3McbsFcrj5NFI60ye2bL16f fbngbjNYO2vYKAE4/MXI7W4CcnVVu5wKVfOERZmeVjFE3v1ljWoljjfe5a9l2w7i L6L63TEPtTK8l0uWb6y/l+MdfJZlyILnKn5wcG47kOp/O+PGZ5PV+u7DYI5KUhBX 7r3HA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrjeehgdduudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeetjedvteffjeeuvdelieeffeehuedthffgvdfhhffh kedvudevgedvjedufefgveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 25 May 2022 13:45:54 -0400 (EDT) Subject: Re: Automatic PK values not added to new rows To: Rich Shepard , pgsql-general@lists.postgresql.org References: From: Adrian Klaver Message-ID: Date: Wed, 25 May 2022 10:45:53 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 5/25/22 10:43 AM, Rich Shepard wrote: > The People table has 965 rows; the table structure is: > > person_nbr 683 is not in any row to be inserted. > > I was under the impression that the person_nbr for the new rows would start > with 966 but that's apparently not happening. > > What have I missed? Do: select * from people_person_nbr_seq; and report back the results. > > Rich > > -- Adrian Klaver adrian.klaver@aklaver.com