aboutsummaryrefslogtreecommitdiff
path: root/contrib/rtree_gist/rtree_gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-03-12 00:53:56 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-03-12 00:53:56 +0000
commitc62b17c874f901eeb1040d449e69015126c2a5ea (patch)
tree6e3b6d457d44c1b8e4f18e950e74ce8bc2726ba1 /contrib/rtree_gist/rtree_gist.c
parentfeee205a3cf49dafbc9846126227d6903f62787d (diff)
downloadpostgresql-c62b17c874f901eeb1040d449e69015126c2a5ea.tar.gz
postgresql-c62b17c874f901eeb1040d449e69015126c2a5ea.zip
Fix core dump due to null-pointer dereference in to_char() when datetime
format codes are misapplied to a numeric argument. (The code still produces a pretty bogus error message in such cases, but I'll settle for stopping the crash for now.) Per bug #4700 from Sergey Burladyan. Problem exists in all supported branches, so patch all the way back. In HEAD, also clean up some ugly coding in the nearby cache management code.
Diffstat (limited to 'contrib/rtree_gist/rtree_gist.c')
0 files changed, 0 insertions, 0 deletions