Re: Embedding postgresql in my application - Mailing list pgsql-interfaces

From Jeroen T. Vermeulen
Subject Re: Embedding postgresql in my application
Date
Msg-id 6147.125.24.243.222.1166270151.squirrel@webmail.xs4all.nl
Whole thread Raw
In response to Re: Embedding postgresql in my application  (Murray Cumming <murrayc@murrayc.com>)
Responses Re: Embedding postgresql in my application  (Murray Cumming <murrayc@murrayc.com>)
List 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 by date:

Previous
From: Murray Cumming
Date:
Subject: Re: Embedding postgresql in my application
Next
From: Murray Cumming
Date:
Subject: Re: Embedding postgresql in my application