Re: DROP TABLE Appears to Fail - Mailing list pgsql-general

From Andy Firel
Subject Re: DROP TABLE Appears to Fail
Date
Msg-id 24113260.55.1309300873247.JavaMail.root@store1.zcs.ext.wpsrv.net
Whole thread Raw
In response to DROP TABLE Appears to Fail  (Rich Shepard <rshepard@appl-ecosys.com>)
Responses Re: DROP TABLE Appears to Fail  (Rich Shepard <rshepard@appl-ecosys.com>)
List pgsql-general
Hi Rich,

it might be sufficient to add a semicolon to your drop statement:

# drop table station_type;

HTH,
Andy

----- Ursprüngliche Mail -----
> I cannot recall issuing a DROP TABLE command from psql that did not
> work,
> but seem to have this as a new experience.
>
> When I look at the database table list with '\d' I see
>
> public | station_type | table | rshepard
> public | station_type_statype_seq | sequence | rshepard
>
> and I want to drop and recreate these with a typo fixed. But, the drop
> commands do not appear to work:
>
> # drop table station_type
>
> # \d
>
> public | station_type | table | rshepard
> public | station_type_statype_seq | sequence | rshepard
>
> I fail to see what I'm doing incorrectly and would appreciate a clue
> stick
> to set me on the proper path.
>
> TIA,
>
> Rich
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Rick Genter
Date:
Subject: Re: DROP TABLE Appears to Fail
Next
From: Rich Shepard
Date:
Subject: Re: DROP TABLE Appears to Fail