exchange/src/exchangedb/spi/README.md
Christian Grothoff 8463572bea
fix SPI build
2023-04-16 22:07:36 +02:00

38 lines
633 B
Markdown

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"