Re: [HACKERS] [PATCH] Lockable views - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: [HACKERS] [PATCH] Lockable views
Date
Msg-id 20180206.152851.1477076427263493402.t-ishii@sraoss.co.jp
Whole thread Raw
In response to Re: [HACKERS] [PATCH] Lockable views  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: [HACKERS] [PATCH] Lockable views
List pgsql-hackers
> But what does that have to do with locking?

Well, if the view is not updatable, I think there will be less point
to allow to lock the base tables in the view because locking is
typically used in a case when updates are required.

Of course we could add special triggers to allow to update views that
are not automatically updatable but that kind of views are tend to
complex and IMO there's less need the automatic view locking feature.

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp


pgsql-hackers by date:

Previous
From: Amit Khandekar
Date:
Subject: Re: Query running for very long time (server hanged) with parallel append
Next
From: Rajkumar Raghuwanshi
Date:
Subject: Re: Query running for very long time (server hanged) with parallel append