Re: [GENERAL] Bug with sequence

Bruce Momjian <pgman@candle.pha.pa.us>

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Oliver Elphick <olly@lfix.co.uk>
Cc: Robert Treat <xzilla@users.sourceforge.net>, pgsql-hackers@postgresql.org
Date: 2002-11-21T19:14:56Z
Lists: pgsql-hackers, pgsql-general
Oliver Elphick wrote:
> I deleted the first table.  The sequence was deleted too, leaving the
> default of the second table referring to a non-existent sequence.
> 
> 
> Could this be a TODO item in 7.4, to add a dependency check when a
> sequence is set as the default without being created at the same time?

Added to TODO:

* Have sequence dependency track use of DEFAULT sequences, seqname.nextval      

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073