Cannot drop column - Mailing list pgsql-general

From Rich Shepard
Subject Cannot drop column
Date
Msg-id bd67f1ba-7a58-36f8-a081-1dc6cac4e278@appl-ecosys.com
Whole thread Raw
Responses Re: Cannot drop column
Re: Cannot drop column
Re: Cannot drop column
List pgsql-general
I'm not seeing why postgres won't drop a table's column:

bustrac=# select * from statustypes order by stat_name;
      stat_name 
--------------------
  Client
  Lead
  No further contact
  Opportunity
  Proposal submitted
  Prospect
  Qualified
  Referral
  Suspect
(9 rows)

bustrac=# alter table statustypes drop column Suspect;
ERROR:  column "suspect" of relation "statustypes" does not exist
bustrac=#

What have I done incorrectly?

TIA,

Rich



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Documentation enancement regarding NULL and operators
Next
From: "David G. Johnston"
Date:
Subject: Re: Cannot drop column