Merge "cdr_pgsql, cel_pgsql: Store maximum buffer size to prevent reallocation"
authorJoshua Colp <jcolp@digium.com>
Wed, 13 May 2015 20:17:48 +0000 (15:17 -0500)
committerGerrit Code Review <gerrit2@gerrit.digium.api>
Wed, 13 May 2015 20:17:48 +0000 (15:17 -0500)
1  2 
cdr/cdr_pgsql.c
cel/cel_pgsql.c

diff --cc cdr/cdr_pgsql.c
Simple merge
diff --cc cel/cel_pgsql.c
@@@ -71,9 -69,9 +71,10 @@@ static char *pgpassword
  static char *pgappname;
  static char *pgdbport;
  static char *table;
 +static char *schema;
  
  static int connected = 0;
+ /* Optimization to reduce number of memory allocations */
  static int maxsize = 512, maxsize2 = 512;
  static int usegmtime = 0;