git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: e04810e) | patch
Fix core dump due to null-pointer dereference in to_char() when datetime
2009年3月12日 00:53:25 +0000 (00:53 +0000)
2009年3月12日 00:53:25 +0000 (00:53 +0000)
commit 2cdec8b3086f703d52a1e51d5642d282b38543a3
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.
src/backend/utils/adt/formatting.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /