From: | Bill Moran <wmoran(at)potentialtech(dot)com> |
---|---|
To: | marcelo <marcelo(dot)nicolet(at)gmail(dot)com> |
Cc: | Berend Tober <btober(at)computer(dot)org>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: What is exactly a schema? |
Date: | 2017-07-14 12:19:14 |
Message-ID: | 20170714081914.d6c8735219f5982f2cdbb9ad@potentialtech.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri, 14 Jul 2017 08:59:13 -0300
marcelo <marcelo(dot)nicolet(at)gmail(dot)com> wrote:
> Thank you.
> Now I have a related question.
> Could I select a specific schema in the connection string? Say, by
> example database=mydb.schemanumbertwo ?
>
> I'm asking this because I will be using Devart's dotConnect and Entity
> developer to access the database. I have not full control, so I cannot
> set the search path immediately after the connection.
>
> If the first example is possible, I will replace the schema name on the
> fly, before connection attempt.
I don't think you can do exactly what you're asking. However, you should
be able to achieve the same result by setting a default schema for the
user that you're connecting as. See the docs for ALTER ROLE and SET.
--
Bill Moran <wmoran(at)potentialtech(dot)com>
From | Date | Subject | |
---|---|---|---|
Next Message | marcelo | 2017-07-14 12:35:37 | Re: What is exactly a schema? |
Previous Message | marcelo | 2017-07-14 11:59:13 | Re: What is exactly a schema? |