-
*.sql
files can be added by executing the file or the SQL as DDL- may need pgRouting installed
-
There's more in my Gists
-
All function listed here are implemented in my custom PostGIS source, either build from there, or use the original source to build:
- get latest tarball from https://postgis.net/source/
- copy
*.c
files topostgis-<version>/postgis/
- add function names (as per
Datum <funcname>
definition in source file) topostgis-<version>/postgis/Makefile.in
- add SQL function definitions (in same name
*.sql
file) topostgis-<version>/postgis/postgis.sql.in
(look for appropriate category in comments) - run
./configure sudo make && sudo make install
- restart PostgreSQL server