Re: trouble dropping a table

From: "Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu>
To: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: trouble dropping a table
Date: 2009-06-26 18:49:27
Message-ID: FE44E0D7EAD2ED4BB2165071DB8E328C04E84BF1@egcrc-ex01.egcrc.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Many thanks, Scott and Kevin.

Regards,

Tena Sakai
tsakai(at)gallo(dot)ucsf(dot)edu

-----Original Message-----

From: Scott Whitney [swhitney(at)journyx(dot)com] Sent: Fri 6/26/2009 11:26 AM

Try:
drop table "gallo.plate_subject"

with the quotes.

-----Original Message-----
From: Kevin Grittner [mailto:Kevin(dot)Grittner(at)wicourts(dot)gov]
Sent: Fri 6/26/2009 11:31 AM
To: Tena Sakai; pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] trouble dropping a table

"Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu> wrote:

> Schema | Name | Type | Owner
> --------+---------------------+-------+-------
> public | gallo.plate_subject | table | ysu
> (1 row)
>
> and I want to get rid of this table.

How about?:

DROP TABLE public."gallo.plate_subject"

It looks like you have a dot in your table name, which would require
quotes like that.

-Kevin

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2009-06-26 22:17:07 Re: PHP cann't access to postgres databse
Previous Message Kevin Grittner 2009-06-26 18:31:28 Re: trouble dropping a table