]> granicus.if.org Git - pgbouncer/commitdiff
Increased maximum length for postgres password
authorJ. Eduardo <j.eduardo@gmail.com>
Tue, 7 Feb 2017 21:34:34 +0000 (22:34 +0100)
committerGitHub <noreply@github.com>
Tue, 7 Feb 2017 21:34:34 +0000 (22:34 +0100)
include/bouncer.h

index 1e6bb920c45de1977b304b650fef10e9fd8f0d44..766cf993a4762be01c2c2271dd40094b30fa0d98 100644 (file)
@@ -110,7 +110,7 @@ extern int cf_sbuf_len;
 /* to avoid allocations will use static buffers */
 #define MAX_DBNAME     64
 #define MAX_USERNAME   64
-#define MAX_PASSWORD   64
+#define MAX_PASSWORD   128
 
 /* no-auth modes */
 #define AUTH_ANY       -1 /* same as trust but without username check */