Re: PoC: Make it possible to disallow WHERE-less UPDATE and DELETE

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: David Fetter <david(at)fetter(dot)org>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PoC: Make it possible to disallow WHERE-less UPDATE and DELETE
Date: 2016-09-20 19:24:18
Message-ID: dd4254a6-652d-4ac4-fd89-e0b31d7a6c07@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 9/20/16 3:04 PM, David Fetter wrote:
> On Fri, Sep 09, 2016 at 09:57:21AM -0400, Peter Eisentraut wrote:
>> Review of the patch in the commit fest:
>>
>> - The documentation is a bit incorrect about the ways to load this
>> module. shared_preload_libraries is not necessary. session_ and
>> local_ (with prep) should also work.
>
> Would you be so kind as to describe how you got
> local_preload_libraries to work? I'm stuck on getting Makefile to
> realize that the hook should be installed in $libdir/plugins rather
> than $libdir itself.

There is no Makefile support for that, and AFAICT, that particular
feature is kind of obsolescent. I wouldn't worry about it too much.
The main point was, there are multiple ways to load modules.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2016-09-20 19:31:58 Re: Rename max_parallel_degree?
Previous Message David Fetter 2016-09-20 19:04:03 Re: PoC: Make it possible to disallow WHERE-less UPDATE and DELETE