exchange/src/exchangedb/spi
Christian Grothoff 8463572bea
fix SPI build
2023-04-16 22:07:36 +02:00
..
Makefile fix SPI build 2023-04-16 22:07:36 +02:00
own_test.c fix SPI build 2023-04-16 22:07:36 +02:00
own_test.control New spi files 2023-03-27 09:55:00 -04:00
own_test.sql fix SPI build 2023-04-16 22:07:36 +02:00
perf_own_test.c New spi files 2023-03-27 09:55:00 -04:00
pg_aggregate.c -spelling, typos, indentation 2023-04-04 17:26:51 +02:00
README.md fix SPI build 2023-04-16 22:07:36 +02:00

            Server Programming Interface (SPI)

Overview

This folder contains results from an experiment by Joseph Xu to use the Postgres SPI. They are not currently used at all by the GNU Taler exchange.

Dependencies

These are the direct dependencies for compiling the code:

apt-get install libpq-dev postgresql-server-dev-13

apt-get install libkrb5-dev

apt-get install libssl-dev

Compilation

$ make

Loading functions

make install

$ psql "$DB_NAME" < own_test.sql

Calling functions

$ psql -c "SELECT $FUNCTION_NAME($ARGS);" "$DB_NAME"