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 1iNsqX-0001Ma-4o for pgsql-general@arkaria.postgresql.org; Fri, 25 Oct 2019 06:13:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iNsqV-0004EZ-TA for pgsql-general@arkaria.postgresql.org; Fri, 25 Oct 2019 06:13:11 +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 1iNsqV-0004ER-GA for pgsql-general@lists.postgresql.org; Fri, 25 Oct 2019 06:13:11 +0000 Received: from mout.kundenserver.de ([212.227.17.10]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iNsqS-0008DE-E7 for pgsql-general@lists.postgresql.org; Fri, 25 Oct 2019 06:13:10 +0000 Received: from [10.8.0.75] ([185.40.248.10]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.145]) with ESMTPSA (Nemesis) id 1MfHxt-1hm43H1Hch-00gm5m for ; Fri, 25 Oct 2019 08:13:04 +0200 Subject: Re: Search path To: pgsql-general@lists.postgresql.org References: <20191024164137.GA29487@panix.com> From: Thomas Kellerer Message-ID: Date: Fri, 25 Oct 2019 08:13:03 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 MIME-Version: 1.0 In-Reply-To: <20191024164137.GA29487@panix.com> Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:c/x102i6SFU75r4y8V3a2qb86BIHT2C8ZanXY7SgESqX3P99RWL Ou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e4k3Zg155GyMdO0acGeYS3Gl/lCsOCjTHo7VErmlj6lEYRSW GgJS/V9kh0mx6wY97NzQ/qy3G+1u3gQoTruWUjKlw= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk stan schrieb am 24.10.2019 um 18:41: > 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. As Adrian already pointed out, yes this will work for any connection including one from MS Access. Note that you can also set this on a per user level, if you don't want all users having the same setting. ALTER USER ms_access_user SET search_path = ica , "$user", public;