mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
Oops, buffer wasn't long enough for query
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -455,7 +455,7 @@ static int config_module(int reload)
|
|||||||
|
|
||||||
conn = PQsetdbLogin(pghostname, pgdbport, NULL, NULL, pgdbname, pgdbuser, pgpassword);
|
conn = PQsetdbLogin(pghostname, pgdbport, NULL, NULL, pgdbname, pgdbuser, pgpassword);
|
||||||
if (PQstatus(conn) != CONNECTION_BAD) {
|
if (PQstatus(conn) != CONNECTION_BAD) {
|
||||||
char sqlcmd[256];
|
char sqlcmd[512];
|
||||||
char *fname, *ftype, *flen, *fnotnull, *fdef;
|
char *fname, *ftype, *flen, *fnotnull, *fdef;
|
||||||
int i, rows;
|
int i, rows;
|
||||||
ast_debug(1, "Successfully connected to PostgreSQL database.\n");
|
ast_debug(1, "Successfully connected to PostgreSQL database.\n");
|
||||||
|
Reference in New Issue
Block a user