appendPQExpBufferStr(&buf, "ORDER BY 1, 2, 4;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1, 2, 4;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1, 2;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1, 2, 3, 4;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
NULL, "d.datname", NULL, NULL);
appendPQExpBufferStr(&buf, "ORDER BY 1;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1, 2;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
if (!res)
{
termPQExpBuffer(&buf);
appendPQExpBufferStr(&buf, "ORDER BY 1, 2, 3;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
if (!res)
{
termPQExpBuffer(&buf);
appendPQExpBufferStr(&buf, "ORDER BY 1, 2, 3;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 2, 3;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
oid);
}
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
if (!res)
goto error_return;
/* must be separate because fmtId isn't reentrant */
appendPQExpBuffer(&buf, ".%s;", fmtId(relationname));
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
if (!res)
goto error_return;
appendPQExpBuffer(&buf, "\nWHERE a.attrelid = '%s' AND a.attnum > 0 AND NOT a.attisdropped", oid);
appendPQExpBufferStr(&buf, "\nORDER BY a.attnum;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
if (!res)
goto error_return;
numrows = PQntuples(res);
printfPQExpBuffer(&buf,
"SELECT pg_catalog.pg_get_viewdef('%s'::pg_catalog.oid, true);",
oid);
- result = PSQLexec(buf.data, false);
+ result = PSQLexec(buf.data);
if (!result)
goto error_return;
"AND i.indrelid = c2.oid;",
oid);
- result = PSQLexec(buf.data, false);
+ result = PSQLexec(buf.data);
if (!result)
goto error_return;
else if (PQntuples(result) != 1)
"\n AND d.deptype='a'",
oid);
- result = PSQLexec(buf.data, false);
+ result = PSQLexec(buf.data);
if (!result)
goto error_return;
else if (PQntuples(result) == 1)
"WHERE c.oid = '%s' AND c.oid = i.indrelid AND i.indexrelid = c2.oid\n"
"ORDER BY i.indisprimary DESC, i.indisunique DESC, c2.relname;",
oid);
- result = PSQLexec(buf.data, false);
+ result = PSQLexec(buf.data);
if (!result)
goto error_return;
else
"WHERE r.conrelid = '%s' AND r.contype = 'c'\n"
"ORDER BY 1;",
oid);
- result = PSQLexec(buf.data, false);
+ result = PSQLexec(buf.data);
if (!result)
goto error_return;
else
"FROM pg_catalog.pg_constraint r\n"
"WHERE r.conrelid = '%s' AND r.contype = 'f' ORDER BY 1;",
oid);
- result = PSQLexec(buf.data, false);
+ result = PSQLexec(buf.data);
if (!result)
goto error_return;
else
"FROM pg_catalog.pg_constraint c\n"
"WHERE c.confrelid = '%s' AND c.contype = 'f' ORDER BY 1;",
oid);
- result = PSQLexec(buf.data, false);
+ result = PSQLexec(buf.data);
if (!result)
goto error_return;
else
"WHERE rs.rsecrelid = '%s' ORDER BY 1;",
oid);
- result = PSQLexec(buf.data, false);
+ result = PSQLexec(buf.data);
if (!result)
goto error_return;
else
"WHERE r.ev_class = '%s' ORDER BY 1;",
oid);
}
- result = PSQLexec(buf.data, false);
+ result = PSQLexec(buf.data);
if (!result)
goto error_return;
else
"FROM pg_catalog.pg_rewrite r\n"
"WHERE r.ev_class = '%s' AND r.rulename != '_RETURN' ORDER BY 1;",
oid);
- result = PSQLexec(buf.data, false);
+ result = PSQLexec(buf.data);
if (!result)
goto error_return;
" WHERE d.classid = t.tableoid AND d.objid = t.oid AND d.deptype = 'i' AND c.contype = 'f'))");
appendPQExpBufferStr(&buf, "\nORDER BY 1;");
- result = PSQLexec(buf.data, false);
+ result = PSQLexec(buf.data);
if (!result)
goto error_return;
else
" pg_catalog.pg_foreign_server s\n"
"WHERE f.ftrelid = %s AND s.oid = f.ftserver;",
oid);
- result = PSQLexec(buf.data, false);
+ result = PSQLexec(buf.data);
if (!result)
goto error_return;
else if (PQntuples(result) != 1)
/* print inherited tables */
printfPQExpBuffer(&buf, "SELECT c.oid::pg_catalog.regclass FROM pg_catalog.pg_class c, pg_catalog.pg_inherits i WHERE c.oid=i.inhparent AND i.inhrelid = '%s' ORDER BY inhseqno;", oid);
- result = PSQLexec(buf.data, false);
+ result = PSQLexec(buf.data);
if (!result)
goto error_return;
else
else
printfPQExpBuffer(&buf, "SELECT c.oid::pg_catalog.regclass FROM pg_catalog.pg_class c, pg_catalog.pg_inherits i WHERE c.oid=i.inhrelid AND i.inhparent = '%s' ORDER BY c.relname;", oid);
- result = PSQLexec(buf.data, false);
+ result = PSQLexec(buf.data);
if (!result)
goto error_return;
else
printfPQExpBuffer(&buf,
"SELECT spcname FROM pg_catalog.pg_tablespace\n"
"WHERE oid = '%u';", tablespace);
- result = PSQLexec(buf.data, false);
+ result = PSQLexec(buf.data);
if (!result)
return;
/* Should always be the case, but.... */
appendPQExpBufferStr(&buf, "ORDER BY 1;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
if (!res)
return false;
return false;
}
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1,2;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1, 2;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1, 2;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, ") )\nORDER BY 1, 2;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1, 2;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1, 2;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1, 2;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
gettext_noop("Get token types"),
oid);
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
gettext_noop("Description"),
oid);
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1, 2;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1, 2;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1, 2;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 3, 2;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
gettext_noop("Dictionaries"),
oid);
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1, 2;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1, 2;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
appendPQExpBufferStr(&buf, "ORDER BY 1;");
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;
gettext_noop("Object Description"),
oid);
- res = PSQLexec(buf.data, false);
+ res = PSQLexec(buf.data);
termPQExpBuffer(&buf);
if (!res)
return false;