head	1.5;
access;
symbols
	REL7_4_29:1.1
	REL8_0_25:1.3.4.1
	REL7_4_28:1.1
	REL8_0_24:1.3.4.1
	REL7_4_27:1.1
	REL8_0_23:1.3.4.1
	REL7_4_26:1.1
	REL8_0_22:1.3.4.1
	REL7_4_25:1.1
	REL8_0_21:1.3.4.1
	REL7_4_24:1.1
	REL8_0_20:1.3.4.1
	REL7_4_23:1.1
	REL8_0_19:1.3.4.1
	REL7_4_22:1.1
	REL8_0_18:1.3.4.1
	REL7_4_21:1.1
	REL8_0_17:1.3.4.1
	REL7_4_20:1.1
	REL8_0_16:1.3.4.1
	REL7_4_19:1.1
	REL8_0_15:1.3.4.1
	REL7_4_18:1.1
	REL8_0_14:1.3.4.1
	REL7_4_17:1.1
	REL8_0_13:1.3.4.1
	REL8_0_12:1.3.4.1
	REL7_4_16:1.1
	REL8_0_11:1.3.4.1
	REL8_0_10:1.3.4.1
	REL7_4_15:1.1
	REL8_0_9:1.3.4.1
	REL7_4_14:1.1
	REL7_4_13:1.1
	REL8_0_8:1.3.4.1
	REL7_4_12:1.1
	REL8_0_7:1.3.4.1
	REL7_4_11:1.1
	REL8_0_6:1.3.4.1
	REL7_4_10:1.1
	REL8_0_5:1.3.4.1
	REL7_4_9:1.1
	REL8_0_4:1.3.4.1
	REL7_4_8:1.1
	REL8_0_3:1.3.4.1
	REL8_0_2:1.3.4.1
	REL7_4_7:1.1
	REL8_0_1:1.3
	REL8_0_STABLE:1.3.0.4
	REL8_0_0:1.3.0.2
	REL8_0_0RC5:1.3
	REL8_0_0RC4:1.3
	REL8_0_0RC3:1.3
	REL8_0_0RC2:1.3
	REL8_0_0RC1:1.3
	REL8_0_0BETA5:1.3
	REL8_0_0BETA4:1.3
	REL7_4_6:1.1
	REL8_0_0BETA3:1.2
	REL8_0_0BETA2:1.2
	REL7_4_5:1.1
	REL7_4_4:1.1
	REL8_0_0BETA1:1.1
	REL7_4_3:1.1
	REL7_4_2:1.1
	REL7_4_1:1.1
	REL7_4:1.1
	REL7_4_RC2:1.1
	REL7_4_STABLE:1.1.0.4
	REL7_4_RC1:1.1
	REL7_4_BETA5:1.1
	REL7_4_BETA4:1.1
	REL7_4_BETA3:1.1
	REL7_4_BETA2:1.1
	WIN32_DEV:1.1.0.2
	REL7_4_BETA1:1.1;
locks; strict;
comment	@# @;


1.5
date	2005.07.29.19.38.22;	author tgl;	state dead;
branches;
next	1.4;

1.4
date	2005.03.25.18.17.11;	author momjian;	state Exp;
branches;
next	1.3;

1.3
date	2004.10.16.21.50.02;	author tgl;	state Exp;
branches
	1.3.4.1;
next	1.2;

1.2
date	2004.08.20.20.13.05;	author momjian;	state Exp;
branches;
next	1.1;

1.1
date	2003.03.20.18.14.46;	author momjian;	state Exp;
branches;
next	;

1.3.4.1
date	2005.03.25.18.18.38;	author momjian;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Remove contrib version of pg_autovacuum --- superseded by integrated
version.
@
text
@PROGRAM = pg_autovacuum
OBJS	= pg_autovacuum.o dllist.o

PG_CPPFLAGS = -I$(libpq_srcdir) -DFRONTEND
PG_LIBS = $(libpq_pgport)

DOCS = README.pg_autovacuum

EXTRA_CLEAN = dllist.c

ifdef USE_PGXS
PGXS = $(shell pg_config --pgxs)
include $(PGXS)
else
subdir = contrib/pg_autovacuum
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif

dllist.c: $(top_srcdir)/src/backend/lib/dllist.c
	rm -f $@@ && $(LN_S) $< .
@


1.4
log
@Have libpgport link before libpq so that PG client applications are more
immunte to changes in libpq's usage of pgport between major versions.
@
text
@@


1.3
log
@Include dllist.c directly instead of assuming that libpq will provide it.
Whack some semblance of project-conventions-conformance into pg_autovacuum.h.
@
text
@d5 1
a5 1
PG_LIBS = $(libpq)
@


1.3.4.1
log
@Have libpgport link before libpq so that PG client applications are more
immunte to changes in libpq's usage of pgport between major versions.

Backpatch to 8.0.X.
@
text
@d5 1
a5 1
PG_LIBS = $(libpq_pgport)
@


1.2
log
@> Please find enclose a submission to fix these problems.
>
> The patch adds missing the "libpgport.a" file to the installation under
> "install-all-headers". It is needed by some contribs. I install the
> library in "pkglibdir", but I was wondering whether it should be "libdir"?
> I was wondering also whether it would make sense to have a "libpgport.so"?
>
> It fixes various macros which are used by contrib makefiles, especially
> libpq_*dir and LDFLAGS when used under PGXS. It seems to me that they are
> needed to
>
> It adds the ability to test and use PGXS with contribs, with "make
> USE_PGXS=1". Without the macro, this is exactly as before, there should be
> no difference, esp. wrt the vpath feature that seemed broken by previous
> submission. So it should not harm anybody, and it is useful at least to me.
>
> It fixes some inconsistencies in various contrib makefiles
> (useless override, ":=" instead of "=").

Fabien COELHO
@
text
@d2 1
a2 1
OBJS	= pg_autovacuum.o
d4 1
a4 1
PG_CPPFLAGS = -I$(libpq_srcdir)
d9 2
d20 3
@


1.1
log
@I have updated my pg_autovacuum program (formerly pg_avd, the name
changed as per discussion on the patches list).

This version should be a good bit better.  It addresses all the issues
pointed out by Neil Conway. Vacuum and Analyze are now handled
separately.  It now monitors for xid wraparound.  The number of database
connections and queries has been significantly reduced compared the
previous version.  I have moved it from bin to contrib.  More detail on
the changes are in the TODO file.

I have not tested the xid wraparound code as I have to let my AthlonXP
1600 run select 1 in a tight loop for approx. two days in order to
perform the required 500,000,000 xacts.

Matthew T. O'Connor
@
text
@a0 5

subdir = contrib/pg_autovacuum
top_builddir = ../..
include $(top_builddir)/src/Makefile.global

d9 7
d17 1
@

