projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6368c39
)
Just noticed that libpq thinks the maximum command tag length is 40,
author
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 23 Jul 2007 18:59:50 +0000
(18:59 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 23 Jul 2007 18:59:50 +0000
(18:59 +0000)
whereas in the backend it's been 64 for some time. Hasn't mattered
because no actual tags exceed 40 bytes, but for consistency they should
be alike.
src/interfaces/libpq/libpq-int.h
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/libpq/libpq-int.h
b/src/interfaces/libpq/libpq-int.h
index 2255624d406556e1b0dbf7074496cf321aff3faf..d4d3f3e3b1bafd3163ec30530e22a1be040e7db1 100644
(file)
--- a/
src/interfaces/libpq/libpq-int.h
+++ b/
src/interfaces/libpq/libpq-int.h
@@
-76,7
+76,7
@@
typedef struct {
/*
* POSTGRES backend dependent Constants.
*/
-#define CMDSTATUS_LEN
40
+#define CMDSTATUS_LEN
64 /* should match COMPLETION_TAG_BUFSIZE */
/*
* PGresult and the subsidiary types PGresAttDesc, PGresAttValue