Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dv3mN-0007IZ-8W for pgsql-bugs@arkaria.postgresql.org; Thu, 21 Sep 2017 15:52:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dv3mM-0001nW-L8 for pgsql-bugs@arkaria.postgresql.org; Thu, 21 Sep 2017 15:52:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dv3mM-0001lv-2G for pgsql-bugs@postgresql.org; Thu, 21 Sep 2017 15:52:42 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dv3mJ-0007nf-8a for pgsql-bugs@postgresql.org; Thu, 21 Sep 2017 15:52:41 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v8LFqbKr020304; Thu, 21 Sep 2017 11:52:37 -0400 From: Tom Lane To: "Ian R. Campbell" cc: pgsql-bugs@postgresql.org Subject: Re: pg_dump does not fully include the schema, causing runtime errors In-reply-to: References: Comments: In-reply-to "Ian R. Campbell" message dated "Thu, 21 Sep 2017 14:20:28 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <20302.1506009157.1@sss.pgh.pa.us> Date: Thu, 21 Sep 2017 11:52:37 -0400 Message-ID: <20303.1506009157@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org "Ian R. Campbell" writes: > pg_dump uses SET search_path in order to simplify schema references. Yes, it does that intentionally to make the output script easier to edit. > Can pg_dump have an option to output fully qualified schema? I do not care to have to maintain such an option and guarantee that both cases work. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs