Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f4ICkrA36676 for ; Fri, 18 May 2001 08:46:53 -0400 (EDT) (envelope-from pgsql-admin-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f4GMRUA42402 for ; Wed, 16 May 2001 18:27:30 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.1/8.11.1) id f4GMO3i83654 for pgsql-admin@postgresql.org; Wed, 16 May 2001 18:24:03 -0400 (EDT) (envelope-from news) From: D0 X-Newsgroups: comp.databases.postgresql.admin Subject: Cannot drop sequence... Date: Wed, 16 May 2001 16:26:43 -0400 Organization: Aero-Graphics, Inc. Lines: 33 Message-ID: <3B02E283.6082956@aero-graphics.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: scrappy@hub.org X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12-20 i686) X-Accept-Language: en To: pgsql-admin@postgresql.org X-Archive-Number: 200105/83 X-Sequence-Number: 1430 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