From 952cc1ec61b55582941ede33d9d6443bbe0bf9eb Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 23 Jul 2007 18:59:50 +0000 Subject: [PATCH] Just noticed that libpq thinks the maximum command tag length is 40, 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interfaces/libpq/libpq-int.h b/src/interfaces/libpq/libpq-int.h index 2255624d40..d4d3f3e3b1 100644 --- 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 -- 2.39.5