Re: Can I create multiple schema for one user

From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "'Sunil Vasanta *EXTERN*'" <sunilvasanta(at)gmail(dot)com>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Can I create multiple schema for one user
Date: 2017-02-17 10:48:21
Message-ID: A737B7A37273E048B164557ADEF4A58B539FAD2E@ntex2010i.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Sunil Vasanta wrote:
> I want application to access multiple scheme based on call context but only one user is created for
> application and application should access different schema using same user privilege and credentials.
>
> is this possible in Postgres. Plz share u thoughts.
>
> If possible then how to configure search path.

That shouldn't be a problem.

Just issue
SET serach_path = <whatever>
after you have determined the context.

Yours,
Laurenz Albe

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message stevenchang1213 2017-02-17 15:52:53 Re: Can I create multiple schema for one user
Previous Message Sunil Vasanta 2017-02-17 10:15:33 Can I create multiple schema for one user