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

From Jim Nasby
Subject Re: [HACKERS] PoC: Make it possible to disallow WHERE-less UPDATE andDELETE
Date
Msg-id 6bbc4bf5-64c8-06aa-615b-afa2c205bde7@BlueTreble.com
Whole thread Raw
In response to Re: PoC: Make it possible to disallow WHERE-less UPDATE and DELETE  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: [HACKERS] PoC: Make it possible to disallow WHERE-less UPDATEand DELETE  (David Fetter <david@fetter.org>)
List pgsql-hackers
On 1/5/17 12:04 AM, David Fetter wrote:
> +                     errmsg("UPDATE requires a WHERE clause when require_where.delete is set to on"),

ISTM that message is no longer true.

The second if could also be an else if too.
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)



pgsql-hackers by date:

Previous
From: Haribabu Kommi
Date:
Subject: Re: [HACKERS] pg_hba_file_settings view patch
Next
From: Dilip Kumar
Date:
Subject: Re: [HACKERS] Parallel bitmap heap scan