Re: Does it exist a embedded server ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Yannick Tailliez <yannickta(at)yahoo(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Does it exist a embedded server ?
Date: 2003-11-21 06:56:12
Message-ID: 9878.1069397772@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

=?iso-8859-1?q?Yannick=20Tailliez?= <yannickta(at)yahoo(dot)com> writes:
> I would like to know if it exist, in Postgresql, the same possibility offer
> by Mysql with Embedded Mysql : Put the database server in the client, to have
> one binary with both the client and the server inside ?

Nope, and most of the PG developers think that such a thing would be an
actively bad idea. If you do that, any error in the client code has the
direct potential for corrupting the internal state of the database.
With a client/server model, the database has some chance of defending
itself, because it's not sharing an address space with client code.

Just because MySQL will do it doesn't make it a good idea ;-)

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2003-11-21 07:01:37 Re: SQL statement is too long
Previous Message Tom Lane 2003-11-21 06:45:16 Re: Expressional Indexes