From: D0 <jnielsen@aero-graphics.com>
To: pgsql-admin@postgresql.org
Subject: Cannot drop sequence...
Date: Wed, 16 May 2001 16:26:43 -0400
Message-ID: <3B02E283.6082956@aero-graphics.com> (raw)
agi_db=# create table analytics_budget
agi_db-# (
agi_db(# analytics_budget_id serial not null primary key,
agi_db(# triangulation int2,
agi_db(# sales_order_id int4 not null references
sales_order(sales_order_id) default
atoi(currval('sales_order_sales_order_id'))
agi_db(# );
NOTICE: CREATE TABLE will create implicit sequence
'analytics_bud_analytics_bud_seq' for SERIAL column
'analytics_budget.analytics_budget_id'
NOTICE: CREATE TABLE/PRIMARY KEY will create implicit index
'analytics_budget_pkey' for table 'analytics_budget'
NOTICE: CREATE TABLE will create implicit trigger(s) for FOREIGN KEY
check(s)
ERROR: Relation 'analytics_bud_analytics_bud_seq' already exists
agi_db=# drop sequence analytics_bud_analytics_bud_seq;
ERROR: Relation 'analytics_bud_analytics_bud_seq' does not exist
agi_db=# drop sequence analytics_budget_analytics_budget_seq;
NOTICE: identifier "analytics_budget_analytics_budget_seq" will be
truncated to "analytics_budget_analytics_budg"
ERROR: Relation 'analytics_budget_analytics_budg' does not exist
So... How do I get rid of this sequence?
Also how do I get a listing of the sequences already created?
TIA
--
Jason Nielsen Aero-Graphics, Inc.
Computer Grunt (Systems Administrator) www.aero-graphics.com
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-admin@postgresql.org
Cc: jnielsen@aero-graphics.com
Subject: Re: Cannot drop sequence...
In-Reply-To: <3B02E283.6082956@aero-graphics.com>
References: <3B02E283.6082956@aero-graphics.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