Re: updatable/deletable terminology

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: updatable/deletable terminology
Date: 2013-08-12 23:01:50
Message-ID: 1376348510.23146.1.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 2013-08-07 at 21:19 -0400, Peter Eisentraut wrote:
> To make the view updatable, provide an unconditional ON DELETE DO
> INSTEAD rule or an INSTEAD OF DELETE trigger.
>
> I think it's a bit strange to claim that adding a DELETE rule/trigger
> makes a view *updatable*. I suspect someone thought they would apply
> the term "updatable" in an SQL standard sense, but that seems
> backwards,
> because you get to these error conditions exactly because the view as
> defined was not Updatable(tm).

After some consideration, I think the best fix here is to revert to the
9.2 wording

"You need an unconditional ON DELETE DO INSTEAD rule or an INSTEAD OF
DELETE trigger."

The addition of the term "updatable" was simply wrong here.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2013-08-13 03:16:00 Re: WITH ORDINALITY planner improvements
Previous Message Greg Stark 2013-08-12 23:01:41 Re: killing pg_dump leaves backend process