Increase MAX_INFO_STRING to 256 to avoid errors with long info strings such as:
authorDave Page <dpage@pgadmin.org>
Thu, 2 Jan 2003 11:45:41 +0000 (11:45 +0000)
committerDave Page <dpage@pgadmin.org>
Thu, 2 Jan 2003 11:45:41 +0000 (11:45 +0000)
07.02.0005 PostgreSQL 7.3 on i386-redhat-linux-gnu, compiled by GCC i386-redhat-linux-gcc (GCC) 3.2.1 20021207 (Red Hat Linux 8.0 3.2.1-2)

See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=80394 for more details.

psqlodbc.h

index 3c434b2e46835980296623f7ceb1491702b3a8ab..86cf8efc5bfc0b8e67ece2ca4391d7e8cb497bc3 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Comments:       See "notice.txt" for copyright and license information.
  *
- * $Id: psqlodbc.h,v 1.73 2002/12/16 15:01:34 hinoue Exp $
+ * $Id: psqlodbc.h,v 1.74 2003/01/02 11:45:41 dpage Exp $
  *
  */
 
@@ -165,7 +165,7 @@ typedef UInt4 Oid;
 #define KEYS_TABLE                 "dd_fkey"
 
 /* Info limits */
-#define MAX_INFO_STRING                128
+#define MAX_INFO_STRING                256
 #define MAX_KEYPARTS               20
 #define MAX_KEYLEN                 512 /* max key of the form
                                         * "date+outlet+invoice" */