pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Igal @ Lucee.org <igal@lucee.org>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: pg_dump and search_path
Date: Mon, 8 Jul 2019 23:48:25 -0700
Message-ID: <1f5111a5-e49e-e44a-67df-b367e5d31fdf@lucee.org> (raw)

I have a custom search_path:

# show search_path;
            search_path
----------------------------------
  "staging, transient, pg_catalog"
(1 row)

I ran `pg_dump --schema-only` and the only reference in the output to 
search_path is:

   SELECT pg_catalog.set_config('search_path', '', false);

Then one of my functions which does not reference the full name of a 
table with its schema fails with "relation [rel-name] does not exist".

Is that a bug?  I have seen some old posts about this issue but am not 
sure if there is a ticket or why it still is an issue.

Thanks,

Igal Sapir
Lucee Core Developer
Lucee.org <http://lucee.org/;

view thread (17+ messages)  latest in thread

Message-ID: <1f5111a5-e49e-e44a-67df-b367e5d31fdf@lucee.org>
Permalink:  ../1f5111a5-e49e-e44a-67df-b367e5d31fdf@lucee.org/
Also on:    postgresql.org/message-id/1f5111a5-e49e-e44a-67df-b367e5d31fdf@lucee.org

 · 

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-general@postgresql.org
  Cc: igal@lucee.org
  Subject: Re: pg_dump and search_path
  In-Reply-To: <1f5111a5-e49e-e44a-67df-b367e5d31fdf@lucee.org>
  References: <1f5111a5-e49e-e44a-67df-b367e5d31fdf@lucee.org>

* 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