From: | <david(at)andl(dot)org> |
---|---|
To: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Is it possible to call Postgres directly? |
Date: | 2016-04-22 00:11:20 |
Message-ID: | 002301d19c2b$8468ea10$8d3abe30$@andl.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
That's OK. I can set things up so that the Thrift or Web servers call the
Andl runtime directly, pass generated SQL queries in through libpq, and call
the Andl runtime recursively from the plandl handler as needed. It's just
one more API to deal with.
Thanks for the suggestion, but I already did an Sqlite implementation. It
was the obvious place to start, but now I need a real server.
Regards
David M Bennett FACS
Andl - A New Database Language - andl.org
> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
> Sent: Thursday, 21 April 2016 11:57 PM
> To: david(at)andl(dot)org
> Cc: pgsql-general(at)postgresql(dot)org
> Subject: Re: [GENERAL] Is it possible to call Postgres directly?
>
> <david(at)andl(dot)org> writes:
> > So the question is: Can a C program link to the Postgres DLL and call
> > SPI directly, rather than through a language function?
>
> No, there is no provision for non-server usage of the code. If that's
what
> you're after you might be happier with SQLite or something similar.
>
> regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Ribe | 2016-04-22 02:20:13 | different empty array syntax requirements |
Previous Message | drum.lucas@gmail.com | 2016-04-21 23:07:01 | Re: Update field to a column from another table |