OSDN Git Service

Fix pg_bigm so that it can be registered properly in PostgreSQL 9.5 or before.
authorMasaoFujii <masao.fujii@gmail.com>
Mon, 5 Sep 2016 03:58:06 +0000 (12:58 +0900)
committerMasaoFujii <masao.fujii@gmail.com>
Mon, 5 Sep 2016 03:58:06 +0000 (12:58 +0900)
commit4ab9ece2aca3c6cc12267e69c84b49115b3361eb
tree6d02d130cb3f3649b92a384729d607b96b978974
parentf2f76e23694e92344da537670f0809cf01210b5f
Fix pg_bigm so that it can be registered properly in PostgreSQL 9.5 or before.

Commit 0b09e86 introduced the bug which caused "CREATE EXTENSION pg_bigm" to
fail in PostgreSQL 9.5 or before. The cause of this failure is that
pg_bigm--1.2.sql included the DO command which tried to mark the functions
with PARALLEL SAFE label which those versions cannot handle. To prevent
those versions from emitting syntax failure when they look at PARALLEL SAFE
label, this commit changes so that "ALTER FUNCTION ... PARALLEL SAFE" command
is executed via EXECUTE command.
pg_bigm--1.1--1.2.sql
pg_bigm--1.2.sql