mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-15 08:20:16 +08:00
initdb: remove unnecessary VACUUM FULL
Report by Peter Eisentraut
This commit is contained in:
parent
0badb069bc
commit
ed7b3b3811
@ -2325,7 +2325,8 @@ vacuum_db(void)
|
||||
|
||||
PG_CMD_OPEN;
|
||||
|
||||
PG_CMD_PUTS("ANALYZE;\nVACUUM FULL;\nVACUUM FREEZE;\n");
|
||||
/* Run analyze before VACUUM so the statistics are frozen. */
|
||||
PG_CMD_PUTS("ANALYZE;\nVACUUM FREEZE;\n");
|
||||
|
||||
PG_CMD_CLOSE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user