Re: embedded/"serverless" (Re: serverless postgresql) - Mailing list pgsql-general

From Tom Lane
Subject Re: embedded/"serverless" (Re: serverless postgresql)
Date
Msg-id 14323.1074800087@sss.pgh.pa.us
Whole thread Raw
In response to Re: embedded/"serverless" (Re: serverless postgresql)  ("Rick Gigger" <rick@alpinenetworking.com>)
List pgsql-general
"Rick Gigger" <rick@alpinenetworking.com> writes:
>> All of this explains why an embedded PostgreSQL isn't a great idea. It
>> being a true multi-user database means that even if you went though
>> all the work needed to turn it into an embedded database you wouldn't
>> get most of the advantages.

> Is it true that postgres is not suited for this and should not be used as
> such or is it just a matter of spending the time to allow you maybe compile
> an embedded version?

I think that Steve has it exactly right here.  Postgres isn't designed
to be an embedded database in that sense, and none of the developers are
interested in moving it in that direction.  It would require too many
compromises versus the full-fledged-server situation.

This is definitely a case where one size does not fit all.  Rather
than trying to force-fit Postgres to an application it's not suited for,
you should use another product that is designed for that application.
In short: your time would be better spent on upgrading SQLite to do what
you need.

            regards, tom lane

pgsql-general by date:

Previous
From: Julian North
Date:
Subject: Re: tablespaces a priority for 7.5?
Next
From: "Rick Gigger"
Date:
Subject: Re: embedded/"serverless" (Re: serverless postgresql)