search for: pqerrormessage

Displaying 5 results from an estimated 5 matches for "pqerrormessage".

Did you mean: errormessage
2007 Mar 08
2
RE: Apache Install error on Centos 4.3
...undefined reference to `PQcmdTuples' /usr/lib/libaprutil-1.so: undefined reference to `PQescapeString' /usr/lib/libaprutil-1.so: undefined reference to `PQsendQueryPrepared' /usr/lib/libaprutil-1.so: undefined reference to `PQfinish' /usr/lib/libaprutil-1.so: undefined reference to `PQerrorMessage' /usr/lib/libaprutil-1.so: undefined reference to `PQsendQuery' collect2: ld returned 1 exit status make[2]: *** [htpasswd] Error 1 make[2]: Leaving directory `/home/odege/Desktop/httpd-2.2.4/support' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/odege/Deskt...
2005 Mar 05
2
cant compile app_meetme2
...tme2.c:151: warning: implicit declaration of function `PQsetdbLogin' app_meetme2.c:152: warning: implicit declaration of function `PQstatus' app_meetme2.c:152: error: `CONNECTION_BAD' undeclared (first use in this functio n) app_meetme2.c:154: warning: implicit declaration of function `PQerrorMessage' app_meetme2.c:154: warning: format argument is not a pointer (arg 6) app_meetme2.c:155: warning: implicit declaration of function `PQfinish' app_meetme2.c:162: warning: implicit declaration of function `PQexec' app_meetme2.c:163: warning: implicit declaration of function `PQresultStatu...
2004 Jun 23
0
UPDATE Patch for postgres enabled app_voicemail.c
...options); ! //fprintf (stdout, "Sending: %s %s %s\n", context, mailbox, optionsToPass); ! append_mailbox(context, mailbox, optionsToPass); ! } ! } ! PQclear(PGSQLres); ! ast_mutex_unlock(&postgreslock); ! } else { ! ast_log(LOG_WARNING,"PGSQL_query: Connection Error (%s)\n",PQerrorMessage(dbhandler)); ! ast_mutex_unlock(&postgreslock); ! } ! /* not reached */ } static struct ast_vm_user *find_user(struct ast_vm_user *ivm, char *context, char *mailbox) { + fprintf (stderr, "postgres find user"); PGresult *PGSQLres; *************** *** 276,282 **** retval=...
2004 Jun 23
0
Patch for postgres enabled app_voicemail.c
...options); ! //fprintf (stdout, "Sending: %s %s %s\n", context, mailbox, optionsToPass); ! append_mailbox(context, mailbox, optionsToPass); ! } ! } ! PQclear(PGSQLres); ! ast_mutex_unlock(&postgreslock); ! } else { ! ast_log(LOG_WARNING,"PGSQL_query: Connection Error (%s)\n",PQerrorMessage(dbhandler)); ! ast_mutex_unlock(&postgreslock); ! } ! /* not reached */ } static struct ast_vm_user *find_user(struct ast_vm_user *ivm, char *context, char *mailbox) { + fprintf (stderr, "postgres find user"); PGresult *PGSQLres; *************** *** 276,282 **** retval=...
2010 Apr 14
4
PostgreSQL driver supporting [round-robin] load balancing and redundancy [LONG]
...ut); + + pgc->timeout = timeout_add(old.timeout.msecs, + old.timeout.callback, old.timeout.context); + } +} + +static void log_pg_error(struct multi_pgsql_pgc *pgc, char const *fnc, char const *pg_call) +{ + i_error("%s: %p: %s: %s", + fnc, pgc, pg_call, kill_pg_errmsg_newline(PQerrorMessage(pgc->pgc))); +} + +/*** connection establishment */ +static void add_ready_pgc(struct multi_pgsql_db *, struct multi_pgsql_pgc *); + +static void restart_pgc_connect(struct multi_pgsql_pgc *pgc) +{ + timeout_remove(&pgc->timeout); + start_pgc_connect(pgc); +} + +static void continue_pgc_...