aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-03-12 00:53:32 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-03-12 00:53:32 +0000
commitabc48bedc274e1ead6f1e7ad45b48fae0941dc95 (patch)
tree55bda68c26ca66aebfd9f9ff78db3403188a8187 /src/backend/access/gist
parent9a1dd6ed4bb9d7eee25defff149e93cc9e76b109 (diff)
downloadpostgresql-abc48bedc274e1ead6f1e7ad45b48fae0941dc95.tar.gz
postgresql-abc48bedc274e1ead6f1e7ad45b48fae0941dc95.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