aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-03-12 00:53:41 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-03-12 00:53:41 +0000
commit14e504b57bdf197df80225f1ee2a1be33f2ac92f (patch)
treef9820f6f9b0fc8a9b8225f687b4b3c0a7a4b9f62 /src/backend/access/gist
parent9424b22b5e9c538f9c57cd03f0a16a560b18864b (diff)
downloadpostgresql-14e504b57bdf197df80225f1ee2a1be33f2ac92f.tar.gz
postgresql-14e504b57bdf197df80225f1ee2a1be33f2ac92f.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 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions