Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gT7Hi-0004zT-FO for pgsql-general@arkaria.postgresql.org; Sat, 01 Dec 2018 15:34:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gT7Gj-0003T1-7r for pgsql-general@arkaria.postgresql.org; Sat, 01 Dec 2018 15:33:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gT7Gi-0003St-Sd for pgsql-general@lists.postgresql.org; Sat, 01 Dec 2018 15:33:21 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gT7Gg-00085R-GA for pgsql-general@postgresql.org; Sat, 01 Dec 2018 15:33:19 +0000 Received: from salmo.appl-ecosys.com (salmo.appl-ecosys.com [192.168.55.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 6BE09992EE for ; Sat, 1 Dec 2018 07:33:17 -0800 (PST) Date: Sat, 1 Dec 2018 07:33:17 -0800 (PST) From: Rich Shepard To: pgsql-general@postgresql.org Subject: Re: Process for populating tables in new database In-Reply-To: <3f660180-3ee0-84ef-6668-021d5c8ed347@aklaver.com> Message-ID: References: <3f660180-3ee0-84ef-6668-021d5c8ed347@aklaver.com> User-Agent: Alpine 2.20 (LNX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Sat, 1 Dec 2018, Adrian Klaver wrote: > Forgot to add that if you pre-assign the keys to the serial field you will > need to advance the sequence to a value past the last key value to avoid a > duplicate key error when you let the sequence assign numbers. Adrian, Got it, thanks. Carpe weekend, Rich