mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03: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…
x
Reference in New Issue
Block a user