Re: Is it possible to call Postgres directly? - Mailing list pgsql-general

From Tom Lane
Subject Re: Is it possible to call Postgres directly?
Date
Msg-id 31882.1461247023@sss.pgh.pa.us
Whole thread Raw
In response to Re: Is it possible to call Postgres directly?  (<david@andl.org>)
Responses Re: Is it possible to call Postgres directly?
List pgsql-general
<david@andl.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


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: error while installing auto_explain contrib module
Next
From: Adrian Klaver
Date:
Subject: Re: Invalid data read from synchronously replicated hot standby