pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: firstname lastname <ceccareb@talusmusic.com>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15263: pg_dump / psql failure. When loading, psql does not see function-based constraints or indices
Date: Wed, 18 Jul 2018 18:04:31 -0400
Message-ID: <20180718220431.b6dmz7z3i7imi2ux@alvherre.pgsql> (raw)
In-Reply-To: <136380404.83820.1531950460781@webmail.hostway.com>

On 2018-Jul-18, firstname lastname wrote:

> Peter,
> 
> Both of your suggestions work.    I opted to change the search path in
> the dump file.  The alternative is is to prefix "public" to hundreds
> of functions.   I do not want to do that.  Too much work.

Hmm, surely you can just do "ALTER FUNCTION ... SET search_path" in a DO
block that processes all functions, or something to that effect.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




view thread (8+ messages)  latest in thread

Message-ID: <20180718220431.b6dmz7z3i7imi2ux@alvherre.pgsql>
Permalink:  ../20180718220431.b6dmz7z3i7imi2ux@alvherre.pgsql/
Also on:    postgresql.org/message-id/20180718220431.b6dmz7z3i7imi2ux@alvherre.pgsql

 · 

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: alvherre@2ndquadrant.com, ceccareb@talusmusic.com, peter.eisentraut@2ndquadrant.com
  Subject: Re: BUG #15263: pg_dump / psql failure. When loading, psql does not see function-based constraints or indices
  In-Reply-To: <20180718220431.b6dmz7z3i7imi2ux@alvherre.pgsql>
  References: <136380404.83820.1531950460781@webmail.hostway.com> <20180718220431.b6dmz7z3i7imi2ux@alvherre.pgsql>

* 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