Re: how to use postgre sql from inside process - Mailing list pgsql-general

From Douglas McNaught
Subject Re: how to use postgre sql from inside process
Date
Msg-id 5ded07e00804101134s40755043yceeef680f1ceb58@mail.gmail.com
Whole thread Raw
In response to Re: how to use postgre sql from inside process  ("Scott Marlowe" <scott.marlowe@gmail.com>)
List pgsql-general
On Thu, Apr 10, 2008 at 11:25 AM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
> On Thu, Apr 10, 2008 at 5:45 AM, CMOS <manusha1980@gmail.com> wrote:
>  > hi,
>  >  i would like to get services of postgresql from inside the process (to
>  >  use it as a library and linking to it), i.e not having a separate
>  >  postgresql process and communicating with it. Is this possible?
>
>  No.
>
>
>  > if possible what are the impact on licensing.
>
>  None.  It's BSD.  If you wanna try and hack up something like that go
>  ahead.  Generally you're better off with SQLLite.

Yes, it's theoretically possible, but making PG into a library would
be a LOT of work.  Don't even think about it.  Use SQLLite if you need
that kind of functionality.

-Doug

pgsql-general by date:

Previous
From: "W S"
Date:
Subject: Way to shutdown/freeze/stop an individual database without taking postmaster down?
Next
From: Ben
Date:
Subject: Re: Way to shutdown/freeze/stop an individual database without taking postmaster down?