README.md (633B)
1 Server Programming Interface (SPI) 2 3 4 Overview 5 ======== 6 7 This folder contains results from an experiment by Joseph Xu 8 to use the Postgres SPI. They are not currently used at all 9 by the GNU Taler exchange. 10 11 12 Dependencies 13 ============ 14 15 These are the direct dependencies for compiling the code: 16 17 # apt-get install libpq-dev postgresql-server-dev-13 18 # apt-get install libkrb5-dev 19 # apt-get install libssl-dev 20 21 22 Compilation 23 =========== 24 25 $ make 26 27 Loading functions 28 ================= 29 30 # make install 31 $ psql "$DB_NAME" < own_test.sql 32 33 34 Calling functions 35 ================== 36 37 $ psql -c "SELECT $FUNCTION_NAME($ARGS);" "$DB_NAME"