Re: Feature Proposal: Column-Level DELETE Operation in SQL - Mailing list pgsql-general

From Karsten Hilbert
Subject Re: Feature Proposal: Column-Level DELETE Operation in SQL
Date
Msg-id aAeK30JVllBwfXqN@hermes.hilbert.loc
Whole thread Raw
In response to Feature Proposal: Column-Level DELETE Operation in SQL  (Abhishek Hatgine <hatgineabhishek99@gmail.com>)
Responses Re: Feature Proposal: Column-Level DELETE Operation in SQL
List 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



pgsql-general by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Oracle_fdw
Next
From: Amul Sul
Date:
Subject: Re: Feature Proposal: Column-Level DELETE Operation in SQL