Thread: how to use postgre sql from inside process
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? if possible what are the impact on licensing. thank you
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.
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