Re: What's the point of multiple databases?

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: What's the point of multiple databases?
Дата
Msg-id 395B4C91.230BAD45@cupid.suninternet.com
обсуждение исходный текст
Ответ на What's the point of multiple databases?  (Martin Maney <maney@pobox.com>)
Ответы Re: What's the point of multiple databases?  (Martin Maney <maney@pobox.com>)
Список pgsql-novice
Martin Maney wrote:
>
> I hope I don't regret too much not waiting for morning and a fresh take on
> all this.  :-)
>
> So I've got this nice new postgreSQL and it seems to be working nicely.
> I've setup a user identity with create database priviliges, and set out to
> setup a couple databases for separate projects I want to work on.  That's
> what separately named databases are for, right?
>
> Well, maybe it's just a quirk of the utilities (psql and pgaccess), but it
> seems that no matter which database I open, I can see and access all the
> tables in any database created by this user.  This seems, well, wrong.
>
> This is from the Debian "potato" install, which is based on 6.5.3.  All I
> need is a sanity check, please: is this doable, or is there no point in
> setting up more than one database per postgres user?

First, show us what you're seeing. Next, if you create something
in the template1 DB, then it will appear in all newly created
databases...

HTH,

--
Martijn van Oosterhout <kleptog@cupid.suninternet.com>
http://cupid.suninternet.com/~kleptog/

В списке pgsql-novice по дате отправления:

Предыдущее
От: mat
Дата:
Сообщение: Re: Problems with Installation
Следующее
От: "D. Duccini"
Дата:
Сообщение: Re: What's the point of multiple databases?