Re: [HACKERS] PoC: Make it possible to disallow WHERE-less UPDATEand DELETE - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] PoC: Make it possible to disallow WHERE-less UPDATEand DELETE
Date
Msg-id 20170202153443.GA6187@momjian.us
Whole thread Raw
In response to Re: [HACKERS] PoC: Make it possible to disallow WHERE-less UPDATEand DELETE  (David Fetter <david@fetter.org>)
Responses Re: [HACKERS] PoC: Make it possible to disallow WHERE-less UPDATEand DELETE
Re: [HACKERS] PoC: Make it possible to disallow WHERE-less UPDATE and DELETE
List pgsql-hackers
On Thu, Feb  2, 2017 at 07:18:45AM -0800, David Fetter wrote:
> On Thu, Feb 02, 2017 at 03:16:29PM +0000, Bruce Momjian wrote:
> > I just don't see this patch going in.  I think it needs are larger
> > approach to the problems it is trying to solve.  I think it then
> > will be very useful.
> 
> What problems that it's trying to solve are not addressed?

Unjoined tables.  Inconsistent alias references.  I think there are a
bunch of things and if we can make a list and get a mode to warn about
all of them, it would be very useful.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +



pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: [HACKERS] Some patch triage from Brussels
Next
From: Konstantin Knizhnik
Date:
Subject: Re: [HACKERS] Deadlock in XLogInsert at AIX