mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
pgindent C file, per patch request.
This commit is contained in:
parent
3bf080daaf
commit
2056f8a7da
@ -96,8 +96,10 @@ init_table_info(PGresult *res, int row, db_info * dbi)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Put both the schema and table name in quotes so that
|
||||
we can work with mixed case table names */
|
||||
/*
|
||||
* Put both the schema and table name in quotes so that we can work
|
||||
* with mixed case table names
|
||||
*/
|
||||
strcpy(new_tbl->table_name, "\"");
|
||||
strcat(new_tbl->table_name, new_tbl->schema_name);
|
||||
strcat(new_tbl->table_name, "\".\"");
|
||||
@ -1084,7 +1086,10 @@ main(int argc, char *argv[])
|
||||
*/
|
||||
if ((tbl->curr_vacuum_count - tbl->CountAtLastVacuum) >= tbl->vacuum_threshold)
|
||||
{
|
||||
/* if relisshared = t and database != template1 then only do an analyze */
|
||||
/*
|
||||
* if relisshared = t and database !=
|
||||
* template1 then only do an analyze
|
||||
*/
|
||||
if ((tbl->relisshared > 0) && (strcmp("template1", dbs->dbname)))
|
||||
snprintf(buf, sizeof(buf), "ANALYZE %s", tbl->table_name);
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user