Re: trouble dropping a table - Mailing list pgsql-admin

From Tena Sakai
Subject Re: trouble dropping a table
Date
Msg-id FE44E0D7EAD2ED4BB2165071DB8E328C04E84BF1@egcrc-ex01.egcrc.org
Whole thread Raw
In response to trouble dropping a table  ("Tena Sakai" <tsakai@gallo.ucsf.edu>)
List pgsql-admin

Many thanks, Scott and Kevin.

Regards,

Tena Sakai
tsakai@gallo.ucsf.edu


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

From:    Scott Whitney [swhitney@journyx.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.Grittner@wicourts.gov]
Sent: Fri 6/26/2009 11:31 AM
To: Tena Sakai; pgsql-admin@postgresql.org
Subject: Re: [ADMIN] trouble dropping a table

"Tena Sakai" <tsakai@gallo.ucsf.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

pgsql-admin by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: trouble dropping a table
Next
From: Tom Lane
Date:
Subject: Re: PHP cann't access to postgres databse