public inbox for [email protected]  
help / color / mirror / Atom feed
Re: Cannot drop column
2+ messages / 2 participants
[nested] [flat]

* Re: Cannot drop column
@ 2024-12-18 18:49  David G. Johnston <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: David G. Johnston @ 2024-12-18 18:49 UTC (permalink / raw)
  To: Rich Shepard <[email protected]>; +Cc: pgsql-general

On Wed, Dec 18, 2024 at 11:47 AM Rich Shepard <[email protected]>
wrote:

> 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?
>

Failed to double-quote your column name.

David J.


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Cannot drop column
@ 2024-12-18 19:05  Rich Shepard <[email protected]>
  parent: David G. Johnston <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Rich Shepard @ 2024-12-18 19:05 UTC (permalink / raw)
  To: pgsql-general

On Wed, 18 Dec 2024, David G. Johnston wrote:

> Failed to double-quote your column name.

David,

Thanks. That's a new one on me.

Regards,

Rich






^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2024-12-18 19:05 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-12-18 18:49 Re: Cannot drop column David G. Johnston <[email protected]>
2024-12-18 19:05 ` Rich Shepard <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox