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 1iNgFS-0003iw-SH for pgsql-general@arkaria.postgresql.org; Thu, 24 Oct 2019 16:46:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iNgFP-0005mw-Ty for pgsql-general@arkaria.postgresql.org; Thu, 24 Oct 2019 16:46:03 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iNgFO-0005mW-4I for pgsql-general@lists.postgresql.org; Thu, 24 Oct 2019 16:46:03 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iNgFA-00012Z-CE for pgsql-general@lists.postgresql.org; Thu, 24 Oct 2019 16:46:00 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id E59AF21D25; Thu, 24 Oct 2019 12:45:46 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 24 Oct 2019 12:45:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=s x5B6OoMYf9B57asBMuw8d7uLHki5NgG8uy/uVW05VI=; b=ghY9TAq8XU7wRVRTG nd704vQyTzjOI3iKiOBH1QyT5Wxpe9TSCGD3bClYwqcxOZZZ8VN8x5uXAkwtXxXY blxEFZ+byh4hSkl14muxW1CwKyePI1RHa2jwTD2XAmX3Suu8lIn6QatSC1vGLcDm XOUJZrRy9/tawQze2DP3dR0Bc+mWDvX6g+AayNu//hh7CP/6E/unADsgKlM94DFI 3J8FCQ6SG1x6h4wpsk4vpGXVU9vAyQAaqcB+YPkfmZYlQNY0mS0OmuXuIY1fiBl9 NSPp+d6ib9rF/AUG/24+uYFC7Nz66BsplHSLdhs3N7+axCK5FYcg6O+Bf7UalmCR 72Nzw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=fm1; bh=sx5B6OoMYf9B57asBMuw8d7uLHki5NgG8uy/uVW05 VI=; b=ick+3H9HHU+avXwDMEDzHn7/+nW41dxzUkdl9QnwGQCWoXtB97frzL62C pbsVLkmkGDq9IAjQfa9jglAbTdSAV6wVmn4+DliX1CFmKOTkDLEi+bP2WwzM1+zA ovFGpwKewiOH0praPCARrSSfAxGJzxvuGf82IPDHxAyMJigGLXipT8mp7eb4obat KjNn8eCilc9xqeGNs4ZIB8DU+xxKhOq3r0ZBChUZPH/UvDnOF7y3UqUggffFgU/o 6ONO1GP9pPwnjNDXIQgS4EHhiZfGSF7fYCNmvKp632lK5cyLxichdArKIIVvKxcI vAhX6MPlQxx6Z0m6JHdyfmyuk+nbg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrledugddutdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtje ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuffhomhgrihhnpehpohhsthhgrhgvsh hqlhdrohhrghenucfkphepjeegrdelgedrjeefrddvvddvnecurfgrrhgrmhepmhgrihhl fhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmnecuvehluh hsthgvrhfuihiivgeptd X-ME-Proxy: Received: from ranger.suse (unknown [74.94.73.222]) by mail.messagingengine.com (Postfix) with ESMTPA id E1742D60065; Thu, 24 Oct 2019 12:45:45 -0400 (EDT) Subject: Re: Search path To: stan , pgsql-general@lists.postgresql.org References: <20191024164137.GA29487@panix.com> From: Adrian Klaver Message-ID: Date: Thu, 24 Oct 2019 09:45:44 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 In-Reply-To: <20191024164137.GA29487@panix.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 10/24/19 9:41 AM, stan wrote: > I just was educated on the security issues of search path. As a result > I am going to define a schema for the project we are working on. > I set this in postgresql.conf > > search_path = 'ica , "$user", public' > > Here is the question. Will this path be in effect for users connecting from > MS Access clients? The name of this file makes me think that it only > controls instances of psql, but I need this to be effective for all > connections to the database. > It is under: Client Connection Defaults https://www.postgresql.org/docs/11/runtime-config-client.html so it works for clients that connect to Postgres not just psql. I can confirm it works with Access. -- Adrian Klaver adrian.klaver@aklaver.com