From: Adrian Klaver <adrian.klaver@aklaver.com>
To: stan <stanb@panix.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Search path
Date: Thu, 24 Oct 2019 09:45:44 -0700
Message-ID: <dbbc7dfc-180e-a65c-8c1c-2b2ec33a338e@aklaver.com> (raw)
In-Reply-To: <20191024164137.GA29487@panix.com>
References: <20191024164137.GA29487@panix.com>
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
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: adrian.klaver@aklaver.com, stanb@panix.com
Subject: Re: Search path
In-Reply-To: <dbbc7dfc-180e-a65c-8c1c-2b2ec33a338e@aklaver.com>
References: <20191024164137.GA29487@panix.com> <dbbc7dfc-180e-a65c-8c1c-2b2ec33a338e@aklaver.com>
* 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