Re: schema name in SQL statement. - Mailing list pgsql-general

From Scott Marlowe
Subject Re: schema name in SQL statement.
Date
Msg-id dcc563d10808200835o5565b3ap58506fef110b8b2b@mail.gmail.com
Whole thread Raw
In response to Re: schema name in SQL statement.  (Adrian Klaver <aklaver@comcast.net>)
List pgsql-general
On Wed, Aug 20, 2008 at 8:13 AM, Adrian Klaver <aklaver@comcast.net> wrote:
> From postgresql.conf.sample in ~pgsql/share:
>
>
> #---------------------------------------------------------------------------
> # CLIENT CONNECTION DEFAULTS
> #---------------------------------------------------------------------------
>
> # - Statement Behavior -
>
> #search_path = '"$user",public'   # schema names
>
>
> This is how the initial postgresql.conf is set up when you do an initdb. I
> have found the postgresql.conf to be quite well commented.

I have a question (not necessarily to you...)
.  How come that syntax parses for postgresql.conf, but in psql it doesn't:

set search_path = '"$user",public' ;
ERROR:  schema ""$user",public" does not exist

I have to use this:

set search_path = "$user",public ;
SET

pgsql-general by date:

Previous
From: Joao Ferreira gmail
Date:
Subject: negative values for vacuum threshold check !!!
Next
From: hubert depesz lubaczewski
Date:
Subject: Re: Time of 'pg_ctl reload'.