From ab7d2b6a7376a7a3542201899aff9e953414ca81 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interfaces/libpq/libpq-int.h b/src/interfaces/libpq/libpq-int.h index a0728599a9..08a6bd1bb5 100644 --- a/src/interfaces/libpq/libpq-int.h +++ b/src/interfaces/libpq/libpq-int.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/interfaces/libpq/libpq-int.h,v 1.125 2007/07/23 17:52:06 mha Exp $ + * $PostgreSQL: pgsql/src/interfaces/libpq/libpq-int.h,v 1.126 2007/07/23 18:59:50 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -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.40.0