Thread: pgsql: Revert "Convert contrib/seg's bool-returning SQL functions to V1

Revert "Convert contrib/seg's bool-returning SQL functions to V1 call convention."

This reverts commit b1dd2f86ce7d43f23f6aae307bb22de826849e7d.
That turns out to have been based on a faulty diagnosis of why the
VS2015 build was misbehaving.  Instead, we need to fix DatumGetBool().

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/695718f99c4b9581fe6cc12543b69f2654a07f3b

Modified Files
--------------
contrib/seg/seg.c | 300 +++++++++++++++++++-----------------------------------
1 file changed, 105 insertions(+), 195 deletions(-)