aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistproc.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-03-12 00:53:48 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-03-12 00:53:48 +0000
commit6578c68207f25fe10d77ec2dda90bce567a4326c (patch)
treea8195ba4f11022a7c0d4ba4a285533336b62c7e9 /src/backend/access/gist/gistproc.c
parent2723d927e64a45452806f713d6eee90f1a1c50b4 (diff)
downloadpostgresql-6578c68207f25fe10d77ec2dda90bce567a4326c.tar.gz
postgresql-6578c68207f25fe10d77ec2dda90bce567a4326c.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/gistproc.c')
0 files changed, 0 insertions, 0 deletions