Unix Technical Forum

how to use postgre sql from inside process

This is a discussion on how to use postgre sql from inside process within the Pgsql General forums, part of the PostgreSQL category; --> hi, i would like to get services of postgresql from inside the process (to use it as a library ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 06:14 PM
CMOS
 
Posts: n/a
Default 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 06:14 PM
Scott Marlowe
 
Posts: n/a
Default Re: how to use postgre sql from inside process

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.

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-11-2008, 01:53 AM
Douglas McNaught
 
Posts: n/a
Default Re: how to use postgre sql from inside process

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

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:16 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com