Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hlJs9-00059Q-Q6 for pgsql-general@arkaria.postgresql.org; Wed, 10 Jul 2019 21:11:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hlJs8-0006TI-DS for pgsql-general@arkaria.postgresql.org; Wed, 10 Jul 2019 21:11:28 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1hlJs7-0006T4-B7 for pgsql-general@lists.postgresql.org; Wed, 10 Jul 2019 21:11:28 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hlJs3-0000c1-BQ for pgsql-general@postgresql.org; Wed, 10 Jul 2019 21:11:26 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 17BD121AC2; Wed, 10 Jul 2019 17:11:21 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 10 Jul 2019 17:11:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=C H+Ax8YzfFbztRu8A4ZBrCOt8gdfv27vDnl+vvAaSdg=; b=NJ6VeZSVr0TxD7BKW Pu3DeztT4k+ZJl1zlM8qBsLMfmPAczvoZ4LsDPM7rYcalRIJaM/VcCbklorzQZdZ 0E2wmlxGkt/2wV3NOcuItaw7CoLLgTELU7WlTBI5RoiBpeBRjNQ8wYP6YRvpjpYJ hAgp3fvSNEdJoP7PcqeWuRk524Ljiv/yRZyaqo+EbszLIqIuGj57A3e+eB3mZ56e 56kt3Xr/7XEr/x53hgza6QDoYkpzBB+y/kCKD3Hp5FM8fAkx0t8QbfMabRA3EGmU WUfEaB/a5lCqJ3/u5QvLsXkmV1BuXQJtwwMXlB9h+BzSvkvn2vZ87eScj2jk/FJF oynZw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=CH+Ax8YzfFbztRu8A4ZBrCOt8gdfv27vDnl+vvAaS dg=; b=OVYtITbywqy5Te5biGdpudYg8j/SPPdF1nCFgUoHA6ksdGl2hQBdINV4S fYhd6SvQiwJA1sb4RvTKSHsLNOPojgdu4uZ+pV2FaM9PtMzc152Zb7GI4FHU5m8d 0vIfQ9Q8Tnx2gkSZ2aHcTORpIK8Rgcc4s4U8NZvc+L2hwcpQf/+RA0ORGj6puYwv DWTjQU6NpbUkuCS6n24/WpGx+9DhtS4lsxIJlYkNaXx+ojoB5xlVqKiqB4fjPyuD UeIQ53DeC8HOckHiWas7Wvw9oM/B7mDaszrC2KP7lnZEn7wJldK10AQHHF+jPj4Q V0rk0JL6/l94pq9HPqlxdWysXpTTw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrgeeigdduieduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucfkphepjeegrddvvddtrddvgeeirddvfedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmnecuvehluhhsth gvrhfuihiivgeptd X-ME-Proxy: Received: from ranger.suse (ipv4-074-220-246-230.qdsl.w.sea.openaccess.org [74.220.246.230]) by mail.messagingengine.com (Postfix) with ESMTPA id 8C76A380076; Wed, 10 Jul 2019 17:11:19 -0400 (EDT) Subject: Re: pg_dump and search_path To: Ryan Lambert Cc: "Igal @ Lucee.org" , pgsql-general References: <1f5111a5-e49e-e44a-67df-b367e5d31fdf@lucee.org> <94e28e8c-e5cf-f0b5-a148-43452446d9ec@aklaver.com> <126613fd-e0a9-c79f-a400-028107214439@aklaver.com> <09136454-d905-7cce-d0cd-38158482e269@lucee.org> <9660facc-0bdd-d7fd-8316-02a45a509dd5@aklaver.com> From: Adrian Klaver Message-ID: <4f8a9e35-0797-ddf8-ba1a-68b65eb7d2ec@aklaver.com> Date: Wed, 10 Jul 2019 14:11:18 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 7/10/19 1:19 PM, Ryan Lambert wrote: > I had a similar problem and was able to being the command with the > search_path to work around it.  I did this on Linux and it looks like > you are on Windows but I maybe you can do something similar that will work? > > PGOPTIONS='-c search_path=staging, transient, pg_catalog' Not sure how that worked: export PGOPTIONS="-c search_path=public" psql -d test -U postgres psql (11.4) Type "help" for help. test_(postgres)# show search_path; search_path ------------- public test_(postgres)# SELECT pg_catalog.set_config('search_path', '', false); set_config ------------ (1 row) test_(postgres)# show search_path; search_path ------------- (1 row) > > > *Ryan Lambert* > RustProof Labs > > -- Adrian Klaver adrian.klaver@aklaver.com