projects
/
pgbouncer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f5fa18
)
Increase room for DateStyle storage.
author
Marko Kreen
<markokr@gmail.com>
Mon, 19 Apr 2010 07:05:45 +0000
(07:05 +0000)
committer
Marko Kreen
<markokr@gmail.com>
Mon, 19 Apr 2010 07:05:45 +0000
(07:05 +0000)
If value is larger than buffer, it stays empty and libpq will drop connection.
include/varcache.h
patch
|
blob
|
blame
|
history
diff --git
a/include/varcache.h
b/include/varcache.h
index 226418026f47d2af61f304f4b46d97964ef1c9dd..1cf48210c334e20d6c73413ce2892f9bc0cd4f31 100644
(file)
--- a/
include/varcache.h
+++ b/
include/varcache.h
@@
-1,6
+1,6
@@
#define VAR_ENCODING_LEN 16
-#define VAR_DATESTYLE_LEN
16
+#define VAR_DATESTYLE_LEN
32
#define VAR_TIMEZONE_LEN 36
#define VAR_STDSTR_LEN 4