Re: Enhancement Request

From: M Sarwar <sarwarmd02(at)outlook(dot)com>
To: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Enhancement Request
Date: 2024-02-02 01:50:41
Message-ID: DM4PR19MB5978ACC9AC9216F5A2AFAC3AD3422@DM4PR19MB5978.namprd19.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Ron,

I appreciate asking this question. For me, it is a complex question and it is an evolving idea.
When we use LIMIT clause in the SQL, SQL may be used in with / without ORDER of ASC / DESC, UUID, Pseudo columns, ROWNUM, etc clauses. When we use ORDER by, LIMIT may be ok to DELETE but in the ROWNUM, other pseudo columns presence impact is hard to foresee.
In the DELETE statement, there may be WHERE conditions. It is likely to complicate. If it is a simple DELETE statement with just LIMIT clause, it is hard to foresee and likely to complicate. Without a ORDER BY clause in the SQL, LIMIT will complicate the scenario.

You may collect the opinion from few others and make a decision on this.

Thanks,
Sarwar

________________________________
From: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
Sent: Wednesday, January 31, 2024 8:31 PM
To: pgsql-admin(at)postgresql(dot)org <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Enhancement Request

On Wed, Jan 31, 2024 at 3:55 PM M Sarwar <sarwarmd02(at)outlook(dot)com<mailto:sarwarmd02(at)outlook(dot)com>> wrote:
If they allow DELETE FROM-LIMT to work, it is going to harm the general interest of the database.
In my opinion, that should not be implemented.

Why would it harm the general interest of the database?

What even does "the general interest of the database" mean?

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message David G. Johnston 2024-02-02 02:15:36 Re: Enhancement Request
Previous Message Servet Kahraman Turan 2024-02-01 20:48:34 Re: Postgres alerting tools?