pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: pgsql-bugs@lists.postgresql.org
Cc: p.otoole@uwyo.edu
Subject: Re: BUG #15534: Operators from public schema in trigger WHEN-clauses are silently allowed despite breaking restores
Date: Sat, 01 Dec 2018 11:42:59 -0500
Message-ID: <18136.1543682579@sss.pgh.pa.us> (raw)
In-Reply-To: <87k1ktl49y.fsf@news-spur.riddles.org.uk>
References: <15534-b06638e5850f55b7@postgresql.org>
	<87k1ktl49y.fsf@news-spur.riddles.org.uk>

Andrew Gierth <andrew@tao11.riddles.org.uk> writes:
> What's happening here is that IS DISTINCT FROM has a hidden search_path
> search in it, that ruleutils doesn't (and can't) handle.

Right.  A few months ago I posted a list of problems of this ilk
(IS DISTINCT FROM is far from the only trouble spot).  Too lazy to
search the archives for it right now, but the discussion kinda went
nowhere AFAIR.

			regards, tom lane




view thread (3+ messages)

Message-ID: <18136.1543682579@sss.pgh.pa.us>
Permalink:  ../18136.1543682579@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18136.1543682579@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andrew@tao11.riddles.org.uk, p.otoole@uwyo.edu
  Subject: Re: BUG #15534: Operators from public schema in trigger WHEN-clauses are silently allowed despite breaking restores
  In-Reply-To: <18136.1543682579@sss.pgh.pa.us>
  References: <15534-b06638e5850f55b7@postgresql.org> <87k1ktl49y.fsf@news-spur.riddles.org.uk> <18136.1543682579@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox