pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rich Shepard <rshepard@appl-ecosys.com>
To: pgsql-general@postgresql.org
Subject: Re: Process for populating tables in new database
Date: Sat, 1 Dec 2018 07:33:17 -0800 (PST)
Message-ID: <alpine.LNX.2.20.1812010732480.8748@salmo.appl-ecosys.com> (raw)
In-Reply-To: <3f660180-3ee0-84ef-6668-021d5c8ed347@aklaver.com>
References: <alpine.LNX.2.20.1812010606370.8748@salmo.appl-ecosys.com>
	<3f660180-3ee0-84ef-6668-021d5c8ed347@aklaver.com>

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




view thread (5+ messages)

Message-ID: <alpine.LNX.2.20.1812010732480.8748@salmo.appl-ecosys.com>
Permalink:  ../alpine.LNX.2.20.1812010732480.8748@salmo.appl-ecosys.com/
Also on:    postgresql.org/message-id/alpine.LNX.2.20.1812010732480.8748@salmo.appl-ecosys.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: rshepard@appl-ecosys.com
  Subject: Re: Process for populating tables in new database
  In-Reply-To: <alpine.LNX.2.20.1812010732480.8748@salmo.appl-ecosys.com>
  References: <alpine.LNX.2.20.1812010606370.8748@salmo.appl-ecosys.com> <3f660180-3ee0-84ef-6668-021d5c8ed347@aklaver.com> <alpine.LNX.2.20.1812010732480.8748@salmo.appl-ecosys.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox