Re: Embedding postgresql in my application

Поиск
Список
Период
Сортировка
От Jeroen T. Vermeulen
Тема Re: Embedding postgresql in my application
Дата
Msg-id 6147.125.24.243.222.1166270151.squirrel@webmail.xs4all.nl
обсуждение исходный текст
Ответ на Re: Embedding postgresql in my application  (Murray Cumming <murrayc@murrayc.com>)
Ответы Re: Embedding postgresql in my application
Список pgsql-interfaces
On Sat, December 16, 2006 18:47, Murray Cumming wrote:

> Well, I want multiple users, from multiple networked computers to be
> able to use the database simultaneously. TCP/IP seems the logical way to
> do this.

Ah--I had not understood that you wanted to access the database remotely. 
But in that case, in what sense would the database be "embedded" in your
application!?


>> Yes.  Except for the createuser: if user X owns these directories and
>> postgres is started under user identity X, then X is automatically
>> (well,
>> by default) the superuser for that database.  No need to create it.
>
> Are we talking about a Linux user or Postgres user as "user X"? I
> thought they were separate lists of users.

They are.  But if you're on a local connection, as I had been assuming,
you can couple them which is often both safe and convenient.


>> There's the configuration files, of course, in /etc/postgresql*.  You'll
>> have to look up the necessary options to replace those with local
>> versions.
>
> Is there no way to put the configuration file in the directory too?

Certainly.  You'll just have to look up the necessary options to replace
the default configuration files with your local versions.


Jeroen




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

Предыдущее
От: Murray Cumming
Дата:
Сообщение: Re: Embedding postgresql in my application
Следующее
От: Murray Cumming
Дата:
Сообщение: Re: Embedding postgresql in my application