pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: ceccareb@talusmusic.com <ceccareb@talusmusic.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: Fri, 13 Jul 2018 10:19:14 +0200
Message-ID: <5a5639f6-5807-2856-8893-1d81c0102b24@2ndquadrant.com> (raw)
In-Reply-To: <CB84C791-BAA6-4BAC-AF94-BFF2D67FCD8B@talusmusic.com>
References: <153089394654.1402.10720489116717364594@wrigleys.postgresql.org>
	<9d9fb168-027d-8cf5-8020-19cb188f2433@2ndquadrant.com>
	<CB84C791-BAA6-4BAC-AF94-BFF2D67FCD8B@talusmusic.com>

On 07.07.18 16:50, ceccareb@talusmusic.com wrote:
> Seems like a reasonable diagnosis.   Apparently someone introduced this problem into 10.x.  9 works fine.  
> 
> Is there anything I can do?   Or do know if someone is trying to fix this one?

It looks like you might need to fix up your functions to handle schema
search path changes.  Either do SET search_path inside the function or
attached to the function definition, or explicitly schema-qualify the
function calls.

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




view thread (8+ messages)  latest in thread

Message-ID: <5a5639f6-5807-2856-8893-1d81c0102b24@2ndquadrant.com>
Permalink:  ../5a5639f6-5807-2856-8893-1d81c0102b24@2ndquadrant.com/
Also on:    postgresql.org/message-id/5a5639f6-5807-2856-8893-1d81c0102b24@2ndquadrant.com

 · 

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: peter.eisentraut@2ndquadrant.com, ceccareb@talusmusic.com
  Subject: Re: BUG #15263: pg_dump / psql failure. When loading, psql does not see function-based constraints or indices
  In-Reply-To: <5a5639f6-5807-2856-8893-1d81c0102b24@2ndquadrant.com>
  References: <153089394654.1402.10720489116717364594@wrigleys.postgresql.org> <9d9fb168-027d-8cf5-8020-19cb188f2433@2ndquadrant.com> <CB84C791-BAA6-4BAC-AF94-BFF2D67FCD8B@talusmusic.com> <5a5639f6-5807-2856-8893-1d81c0102b24@2ndquadrant.com>

* 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