From: | "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> |
---|---|
To: | "Adrian Klaver" <aklaver(at)comcast(dot)net> |
Cc: | pgsql-general(at)postgresql(dot)org, johnf <jfabiani(at)yolo(dot)com> |
Subject: | Re: schema name in SQL statement. |
Date: | 2008-08-20 15:35:44 |
Message-ID: | dcc563d10808200835o5565b3ap58506fef110b8b2b@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, Aug 20, 2008 at 8:13 AM, Adrian Klaver <aklaver(at)comcast(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | hubert depesz lubaczewski | 2008-08-20 15:47:52 | Re: Time of 'pg_ctl reload'. |
Previous Message | Joao Ferreira gmail | 2008-08-20 15:09:18 | negative values for vacuum threshold check !!! |