From: | marcelo <marcelo(dot)nicolet(at)gmail(dot)com> |
---|---|
To: | Berend Tober <btober(at)computer(dot)org>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: What is exactly a schema? |
Date: | 2017-07-14 11:59:13 |
Message-ID: | b8bf3138-fe18-2a6b-2e7e-1846ccf01e74@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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.
TIA
On 14/07/17 07:58, Berend Tober wrote:
> marcelo wrote:
>> The question is not trivial. Could I maintain two or three
>> separate/distinct "versions" of same
>> database using one schema for every of them?
>> Could some tables (in the public schema) be shared among all the
>> schemas?
>>
>>
>
> Yes and yes. In the Postgresql world, the word "schema" is maybe
> unfortunately overloaded, but whenever you read it think "namespace".
> In fact, in the systems catalog there are columns named "namespace"
> that store data referring to named schemas.
>
> -- B
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Bill Moran | 2017-07-14 12:19:14 | Re: What is exactly a schema? |
Previous Message | Berend Tober | 2017-07-14 10:58:20 | Re: What is exactly a schema? |