Обсуждение: Version 8.1

Поиск
Список
Период
Сортировка

Version 8.1

От
"Saloom, Joe \(Space Technology\)"
Дата:

Is this database just standalone or can it be embedded.  All the info that you can find concerning this would be greatly appreciated.

Thank you,

joe

Re: Version 8.1

От
Дата:
--- "Saloom, Joe (Space Technology)"
<joe.saloom@ngc.com> wrote:

> Is this database just standalone or can it be
> embedded.  All the info
> that you can find concerning this would be greatly
> appreciated.
>
> Thank you,
>
> joe

Joe, i'm no guru, but it would probably help if you
defined "embedded."

i've never heard of an embedded database and i'm
curious as to what it is.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Re: Version 8.1

От
John DeSoi
Дата:
On Feb 16, 2006, at 2:05 PM, Saloom, Joe ((Space Technology)) wrote:

> Is this database just standalone or can it be embedded.  All the
> info that you can find concerning this would be greatly appreciated.


PostgreSQL is designed to be a multi-user client/server database. You
won't find an easy way to embed it in another application.

Search the mailing list archives for previous discussions about this.


John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


Re: Version 8.1

От
Christopher Browne
Дата:
The world rejoiced as joe.saloom@ngc.com ("Saloom, Joe \(Space Technology\)") wrote:
> Is this database just standalone or can it be embedded.  All the
> info that you can find concerning this would be greatly appreciated.

If, by "embedded," you mean that the database would run inside some
existing process, the answer is a clear "no, not gonna do that."

If you *truly* need an "embedded" database, you should probably look
into SQLite.

It would be possible to mostly hide a PostgreSQL instance, via:
 - creating some local directory inside your application filesystem
   where it would hide
 - don't turn on TCP/IP; only use Unix Domain Sockets to communicate
   with the instance
 - make sure the UDS is created somewhere "hidden" in the application
   filesystem so it isn't readily visible to users on the system

That would still consist of multiple processes independent of the
application...
--
let name="cbbrowne" and tld="cbbrowne.com" in name ^ "@" ^ tld;;
http://linuxdatabases.info/info/slony.html
Rules of the Evil Overlord #218. "I will not pick up a glowing ancient
artifact and shout "Its power is now mine!!!" Instead I will grab some
tongs, transfer  it to a hazardous materials  container, and transport
it back to my lab for study." <http://www.eviloverlord.com/>