aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistscan.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-01-29 19:25:15 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-01-29 19:25:15 +0000
commit20112509bcd86152ec6462637bbf85b2bf9402d8 (patch)
tree61ea5fac537a43b59cc132ba637dffdfa5491c71 /src/backend/access/gist/gistscan.c
parentd8b324ebd898c9555a3503f907fc3bbe4ffdd3d8 (diff)
downloadpostgresql-20112509bcd86152ec6462637bbf85b2bf9402d8.tar.gz
postgresql-20112509bcd86152ec6462637bbf85b2bf9402d8.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 'src/backend/access/gist/gistscan.c')
0 files changed, 0 insertions, 0 deletions