Re: Feature Proposal: Column-Level DELETE Operation in SQL

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: pgsql-general(at)lists(dot)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: Feature Proposal: Column-Level DELETE Operation in SQL
Date: 2025-04-22 12:26:07
Message-ID: aAeK30JVllBwfXqN@hermes.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Am Mon, Apr 21, 2025 at 10:23:30PM +0530 schrieb Abhishek Hatgine:

> *deleting* a value is conceptually different from *updating* it to NULL.

In what way ?

In other words, you'll have to much better define what you
mean be "deleting a value".

DROP COLUMN already exists, for that matter.

Updating a column to its DEFAULT value may also be closer to
what you envision a "column-delete" to do.

Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Amul Sul 2025-04-22 13:28:39 Re: Feature Proposal: Column-Level DELETE Operation in SQL
Previous Message Laurenz Albe 2025-04-22 11:54:44 Re: Oracle_fdw