Re: SET command

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: "Roderick A(dot) Anderson" <raa(at)mailporter(dot)net>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: SET command
Date: 2005-01-28 23:45:07
Message-ID: 20050128234507.GA66863@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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/

In response to

  • SET command at 2005-01-28 22:48:19 from Roderick A. Anderson

Browse pgsql-admin by date

  From Date Subject
Next Message "Miquel van Smoorenburg" 2005-01-29 17:16:38 Re: Installing PostgreSQL as "postgress" versus "root" Debate!
Previous Message Tom Lane 2005-01-28 22:53:10 Re: Help with access control settings in pg_hba.conf --