aboutsummaryrefslogtreecommitdiff
path: root/contrib/rtree_gist/rtree_gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-01-29 19:25:01 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-01-29 19:25:01 +0000
commit7612c1d813e712edc87e0dca678ae014dbfa904b (patch)
treedee3f3ab574a18336b2ddeb241618e8fd3f05821 /contrib/rtree_gist/rtree_gist.c
parent5ecd9dc75a3dd9c2154be94250361878896fc43c (diff)
downloadpostgresql-7612c1d813e712edc87e0dca678ae014dbfa904b.tar.gz
postgresql-7612c1d813e712edc87e0dca678ae014dbfa904b.zip
Replace argument-checking Asserts with regular test-and-elog checks in all
encoding conversion functions. These are not can't-happen cases because it's possible to create a conversion with the wrong conversion function for the specified encoding pair. That would lead to an Assert crash in an Assert-enabled build, or incorrect conversion otherwise, neither of which is desirable. This would be a DOS issue if production databases were customarily built with asserts enabled, but fortunately that's not so. Per an observation by Heikki. Back-patch to all supported branches.
Diffstat (limited to 'contrib/rtree_gist/rtree_gist.c')
0 files changed, 0 insertions, 0 deletions