From: Michael Fuhr <mike@fuhr.org>
To: Roderick A. Anderson <raa@mailporter.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: SET command
Date: Fri, 28 Jan 2005 16:45:07 -0700
Message-ID: <20050128234507.GA66863@winnie.fuhr.org> (raw)
In-Reply-To: <41FAC133.40102@mailporter.net>
References: <41FAC133.40102@mailporter.net>
On Fri, Jan 28, 2005 at 02:48:19PM -0800, Roderick A. Anderson wrote:
> I'm reading up on schema and trying to remember from when I last
> researched them what the process is to make the
>
> SET search_path TO myschema,public;
>
> permanent for users when they sign on. The documentation implies that
> it is only per SESSION or transaction (LOCAL). I seem to remember some
> setting that cause these to be stored and then executed each time a user
> connected.
You can set variables globally in postgresql.conf, per database with
ALTER DATABASE, or per user with ALTER USER.
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
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-admin@postgresql.org
Cc: mike@fuhr.org, raa@mailporter.net
Subject: Re: SET command
In-Reply-To: <20050128234507.GA66863@winnie.fuhr.org>
References: <41FAC133.40102@mailporter.net> <20050128234507.GA66863@winnie.fuhr.org>
* 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