Cannot drop column

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Cannot drop column
Date: 2024-12-18 18:47:13
Message-ID: bd67f1ba-7a58-36f8-a081-1dc6cac4e278@appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2024-12-18 18:49:56 Re: Cannot drop column
Previous Message Adrian Klaver 2024-12-18 16:11:35 Re: Documentation enancement regarding NULL and operators