pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: steven.morris@hypermediasystems.com, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #15962: Cannot drop table that previously had a 'serial' column
Date: Sat, 17 Aug 2019 01:01:41 -0400
Message-ID: <23617.1566018101@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwbpUZbxXV696JKa5VukS6DmotfrvU2XX1duNNx1gipCMQ@mail.gmail.com>
References: <15962-ee5091011fbd825a@postgresql.org>
	<CAKFQuwbpUZbxXV696JKa5VukS6DmotfrvU2XX1duNNx1gipCMQ@mail.gmail.com>

"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Fri, Aug 16, 2019, 4:25 PM PG Bug reporting form <noreply@postgresql.org>
> wrote:
>> Any suggestions on how to remove the dependency it still has ?  or will I
>> have to make a New sequence for the new table and call it ?

> Alter sequence?

ALTER SEQUENCE ... OWNED BY, in particular, should help here.

			regards, tom lane





view thread (3+ messages)

Message-ID: <23617.1566018101@sss.pgh.pa.us>
Permalink:  ../23617.1566018101@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23617.1566018101@sss.pgh.pa.us

 · 

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, david.g.johnston@gmail.com
  Subject: Re: BUG #15962: Cannot drop table that previously had a 'serial' column
  In-Reply-To: <23617.1566018101@sss.pgh.pa.us>
  References: <15962-ee5091011fbd825a@postgresql.org> <CAKFQuwbpUZbxXV696JKa5VukS6DmotfrvU2XX1duNNx1gipCMQ@mail.gmail.com> <23617.1566018101@sss.pgh.pa.us>

* 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