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@lists.postgresql.org
Subject: Re: PK issue: serial sequence needs updating [RESOLVED]
Date: Tue, 17 Nov 2020 16:01:47 -0800 (PST)
Message-ID: <alpine.LNX.2.20.2011171601120.28478@salmo.appl-ecosys.com> (raw)
In-Reply-To: <aebfdd1d-c38f-b1b7-51f4-a7842d4b3ec1@aklaver.com>
References: <alpine.LNX.2.20.2011171537470.28478@salmo.appl-ecosys.com>
	<aebfdd1d-c38f-b1b7-51f4-a7842d4b3ec1@aklaver.com>

On Tue, 17 Nov 2020, Adrian Klaver wrote:

> https://www.postgresql.org/docs/12/sql-altersequence.html
> ALTER SEQUENCE people_person_nbr_seq RESTART 485;

Thanks, Adrian. I missed that page.

Regards,

Rich





Message-ID: <alpine.LNX.2.20.2011171601120.28478@salmo.appl-ecosys.com>
Permalink:  ../alpine.LNX.2.20.2011171601120.28478@salmo.appl-ecosys.com/
Also on:    postgresql.org/message-id/alpine.LNX.2.20.2011171601120.28478@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: PK issue: serial sequence needs updating [RESOLVED]
  In-Reply-To: <alpine.LNX.2.20.2011171601120.28478@salmo.appl-ecosys.com>
  References: <alpine.LNX.2.20.2011171537470.28478@salmo.appl-ecosys.com> <aebfdd1d-c38f-b1b7-51f4-a7842d4b3ec1@aklaver.com> <alpine.LNX.2.20.2011171601120.28478@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