Commit 35096b56 authored by Bruce Momjian's avatar Bruce Momjian

Split vacuum and analyze into separate files

parent 3d669b50
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# Makefile for commands # Makefile for commands
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/commands/Makefile,v 1.24 2000/05/29 05:44:44 tgl Exp $ # $Header: /cvsroot/pgsql/src/backend/commands/Makefile,v 1.25 2000/05/29 17:40:43 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -12,7 +12,7 @@ SRCDIR = ../.. ...@@ -12,7 +12,7 @@ SRCDIR = ../..
include $(SRCDIR)/Makefile.global include $(SRCDIR)/Makefile.global
OBJS = async.o creatinh.o command.o comment.o copy.o indexcmds.o define.o \ OBJS = async.o creatinh.o command.o comment.o copy.o indexcmds.o define.o \
remove.o rename.o vacuum.o view.o cluster.o \ remove.o rename.o vacuum.o analyze.o view.o cluster.o \
explain.o sequence.o trigger.o user.o proclang.o \ explain.o sequence.o trigger.o user.o proclang.o \
dbcommands.o variable.o dbcommands.o variable.o
......
This diff is collapsed.
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $Id: vacuum.h,v 1.30 2000/05/29 17:06:15 momjian Exp $ * $Id: vacuum.h,v 1.31 2000/05/29 17:40:44 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -133,6 +133,7 @@ extern bool VacuumRunning; ...@@ -133,6 +133,7 @@ extern bool VacuumRunning;
extern void vc_abort(void); extern void vc_abort(void);
extern void vacuum(char *vacrel, bool verbose, bool analyze, List *anal_cols); extern void vacuum(char *vacrel, bool verbose, bool analyze, List *anal_cols);
extern void analyze_rel(Oid relid, List *anal_cols2, int MESSAGE_LEVEL);
#define ATTNVALS_SCALE 1000000000 /* XXX so it can act as a float4 */ #define ATTNVALS_SCALE 1000000000 /* XXX so it can act as a float4 */
......
: :
# mark includes as <> or ""
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15 trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15
find . \( -name CVS -a -prune \) -o -type f -print | find . \( -name CVS -a -prune \) -o -type f -print |
while read FILE while read FILE
......
: :
# report which include files can not compile on their own
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a" 0 1 2 3 15 trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a" 0 1 2 3 15
find . \( -name CVS -a -prune \) -o -name '*.[ch]' -type f -print | while read FILE find . \( -name CVS -a -prune \) -o -name '*.[ch]' -type f -print | while read FILE
do do
......
: :
# report which files have extra includes
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15 trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15
find . \( -name CVS -a -prune \) -o -type f -print | find . \( -name CVS -a -prune \) -o -type f -print |
grep -v '\./postgres.h' | grep -v '\./postgres.h' |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment