mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-30 00:04:49 -04:00 
			
		
		
		
	Seems like a good idea for template1 to contain ANALYZE stats for the
system tables.
This commit is contained in:
		
							parent
							
								
									012288d565
								
							
						
					
					
						commit
						5b69f695ac
					
				| @ -27,7 +27,7 @@ | ||||
| # Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group | ||||
| # Portions Copyright (c) 1994, Regents of the University of California | ||||
| # | ||||
| # $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.172 2002/09/03 22:17:35 tgl Exp $ | ||||
| # $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.173 2002/09/05 19:56:57 tgl Exp $ | ||||
| # | ||||
| #------------------------------------------------------------------------- | ||||
| 
 | ||||
| @ -1042,6 +1042,7 @@ echo "ok" | ||||
| $ECHO_N "vacuuming database template1... "$ECHO_C | ||||
| 
 | ||||
| "$PGPATH"/postgres $PGSQL_OPT template1 >/dev/null <<EOF | ||||
| ANALYZE; | ||||
| VACUUM FULL FREEZE; | ||||
| EOF | ||||
| if [ "$?" -ne 0 ]; then | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user