aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2014-08-16 13:48:46 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2014-08-16 13:48:46 -0400
commitf2d4f45c0ec7073dba75ffec8402b6d61de3bcfc (patch)
tree0c19f591ea1cad1fb3092174425da46bb06fefbc /src/backend/regex
parentbdd62aabb4c3695dbb57155905b8bed7de56fd46 (diff)
downloadpostgresql-f2d4f45c0ec7073dba75ffec8402b6d61de3bcfc.tar.gz
postgresql-f2d4f45c0ec7073dba75ffec8402b6d61de3bcfc.zip
Fix bogus return macros in range_overright_internal().
PG_RETURN_BOOL() should only be used in functions following the V1 SQL function API. This coding accidentally fails to fail since letting the compiler coerce the Datum representation of bool back to plain bool does give the right answer; but that doesn't make it a good idea. Back-patch to older branches just to avoid unnecessary code divergence.
Diffstat (limited to 'src/backend/regex')
0 files changed, 0 insertions, 0 deletions