Re: user name doesn't seem to resolve to $user in search_path

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: frank(dot)messie(at)osix(dot)nl
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: user name doesn't seem to resolve to $user in search_path
Date: 2003-10-17 06:35:59
Message-ID: 20267.1066372559@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

frank(dot)messie(at)osix(dot)nl writes:
> SET search_path TO $user
> gives an parsing error caused by the $ sign.

You need quotes around '$user'.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message frank.messie 2003-10-17 07:44:35 Re: user name doesn't seem to resolve to $user in search_path
Previous Message A.Bhuvaneswaran 2003-10-17 05:10:33 Re: problems with missing bin