Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
MasaoFujii committed Sep 21, 2024
1 parent 54562c9 commit 01d19cf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/bin/scripts/vacuumdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,11 @@ vacuum_one_database(ConnParams *cparams,
has_where = true;
}

/*
* Exclude temporary tables
*/
appendPQExpBufferStr(&catalog_query, " AND c.relpersistence <> 't'");

/*
* Execute the catalog query. We use the default search_path for this
* query for consistency with table lookups done elsewhere by the user.
Expand Down

0 comments on commit 01d19cf

Please sign in to comment.