Skip to content
Snippets Groups Projects
Commit 9b0e142a authored by Joshua Colp's avatar Joshua Colp Committed by Gerrit Code Review
Browse files

Merge "res_config_pgsql: Make 'require' return consistent with other backends"

parents 9c55a717 1dacf317
No related branches found
No related tags found
No related merge requests found
......@@ -1284,6 +1284,7 @@ static int require_pgsql(const char *database, const char *tablename, va_list ap
if (!column) {
if (requirements == RQ_WARN) {
ast_log(LOG_WARNING, "Table %s requires a column '%s' of size '%d', but no such column exists.\n", tablename, elm, size);
res = -1;
} else {
struct ast_str *sql = ast_str_create(100);
char fieldtype[15];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment