From: Steve Wampler <swampler@nso.edu>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Postgres-General <pgsql-general@postgresql.org>
Subject: Re: Odd messages on reloading DB table
Date: Mon, 11 Feb 2019 12:29:57 -0700
Message-ID: <69add2d8-f3ba-3e06-ce13-008cd8696ce0@nso.edu> (raw)
In-Reply-To: <CAKFQuwYYhb9d6dQ8Q-hLumTL5awGzQsQTO1S8NbL2i-Ew64gSg@mail.gmail.com>
References: <862e9109-6544-8d87-31fd-5fe9b88819dc@nso.edu>
<CAKFQuwYYhb9d6dQ8Q-hLumTL5awGzQsQTO1S8NbL2i-Ew64gSg@mail.gmail.com>
On 2/7/19 3:24 PM, David G. Johnston wrote:
> On Thursday, February 7, 2019, Steve Wampler <swampler@nso.edu <mailto:swampler@nso.edu>> wrote:
>
> (1) the table already exist and the immediately doesn't exist?
> (2) report ERROR on UPDATE when there are no UPDATES in the input file
>
>
>
> Most likely the first attempt was schema qualified and so found the existing targets table while the second attempt was
> not schema qualified and targets is not in the search path.
>
> One guess I have is that triggers are involved here and those triggers need to be more resiliant in face of the recent
> search_path security update.
Thanks - but I thought the search_path update was a PG 10 change and so shouldn't reflect on 9.5.15 behavior. Did it
get back-ported?
In any event I'm surprised that pg_dump for 9.5.15 can produce a dump that can't be restored by either pg_restore
(when -Fc is used on both ends) or with psql (without -Fc used on pg_dump). I would have expected some message
from pg_dump if it ran into issues preventing this.
--
Steve Wampler -- swampler@nso.edu
The gods that smiled on your birth are now laughing out loud.
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-general@postgresql.org
Cc: swampler@nso.edu, david.g.johnston@gmail.com
Subject: Re: Odd messages on reloading DB table
In-Reply-To: <69add2d8-f3ba-3e06-ce13-008cd8696ce0@nso.edu>
References: <862e9109-6544-8d87-31fd-5fe9b88819dc@nso.edu> <CAKFQuwYYhb9d6dQ8Q-hLumTL5awGzQsQTO1S8NbL2i-Ew64gSg@mail.gmail.com> <69add2d8-f3ba-3e06-ce13-008cd8696ce0@nso.edu>
* 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