[GENERAL] Accessiing database from inside of postgresql C function - Mailing list pgsql-general

From Yan Pas
Subject [GENERAL] Accessiing database from inside of postgresql C function
Date
Msg-id CADceNN5OjRiD2HBtMD68G+eBxMMReDQdHie1m9KAHBJbsXOqkg@mail.gmail.com
Whole thread Raw
Responses Re: [GENERAL] Accessiing database from inside of postgresql C function  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
High!

I'm writing C postgresql module with postgresql functions and want to access the tables from inside (SELECT mostly and maybe INSERT). Is it possible? If yes what API can I use except classic TCP connection (not sure if it's even legal)?

Kind Regards,
Yan

pgsql-general by date:

Previous
From: Yan Pas
Date:
Subject: [GENERAL] Postgresql init and cleanup module functions
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] Accessiing database from inside of postgresql C function