Skip site navigation (1) Skip section navigation (2)

Re: sequence havn't been dropped.

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bhuvan A <bhuvansql(at)yahoo(dot)com>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: sequence havn't been dropped.
Date: 2002-03-14 05:53:20
Message-ID: Pine.LNX.4.30.0203140052460.741-100000@peter.localdomain (view raw or flat)
Thread:
Lists: pgsql-bugs
Bhuvan A writes:

> while creating a table with a column of type 'serial', well a sequence
> has been created and the default value of that field is set to nextval
> of that sequence, fine. But while dropping that table, why aren't that
> sequence dropped?

The sequence isn't owned by the table.  It might be used elsewhere as
well.

-- 
Peter Eisentraut   peter_e(at)gmx(dot)net


In response to

pgsql-bugs by date

Next:From: Sridhar BhamidiDate: 2002-03-14 08:12:39
Subject: Unable to identify an operator '=' for types 'numeric' and 'float8'
Previous:From: Bhuvan ADate: 2002-03-14 05:11:21
Subject: sequence havn't been dropped.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group