Re: Is it possible to call Postgres directly?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: david(at)andl(dot)org
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Is it possible to call Postgres directly?
Date: 2016-04-21 13:57:03
Message-ID: 31882.1461247023@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

<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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2016-04-21 14:03:55 Re: Invalid data read from synchronously replicated hot standby
Previous Message Adrian Klaver 2016-04-21 13:50:19 Re: error while installing auto_explain contrib module