Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use SPI_restore_connection only in PG < 10
SPI_restore_connection was defined as a noop since PostgreSQL 10, and the compatibility macro has been removed in postgres/postgres@75680c3. Because PL/Java 1.6 purports to still run on PostgreSQL 9.5, continue to use the function in PG < 10. Credit to Francisco Miguel Biete Banon in PR #501.
- Loading branch information