head	1.3;
access;
symbols
	REL7_4_29:1.1
	REL8_0_25:1.2
	REL7_4_28:1.1
	REL8_0_24:1.2
	REL7_4_27:1.1
	REL8_0_23:1.2
	REL7_4_26:1.1
	REL8_0_22:1.2
	REL7_4_25:1.1
	REL8_0_21:1.2
	REL7_4_24:1.1
	REL8_0_20:1.2
	REL7_4_23:1.1
	REL8_0_19:1.2
	REL7_4_22:1.1
	REL8_0_18:1.2
	REL7_4_21:1.1
	REL8_0_17:1.2
	REL7_4_20:1.1
	REL8_0_16:1.2
	REL7_3_21:1.1
	REL7_4_19:1.1
	REL8_0_15:1.2
	REL7_3_20:1.1
	REL7_4_18:1.1
	REL8_0_14:1.2
	REL7_3_19:1.1
	REL7_4_17:1.1
	REL8_0_13:1.2
	REL8_0_12:1.2
	REL7_3_18:1.1
	REL7_4_16:1.1
	REL8_0_11:1.2
	REL8_0_10:1.2
	REL7_4_15:1.1
	REL7_3_17:1.1
	REL8_0_9:1.2
	REL7_4_14:1.1
	REL7_3_16:1.1
	REL7_3_15:1.1
	REL7_4_13:1.1
	REL8_0_8:1.2
	REL7_3_14:1.1
	REL7_4_12:1.1
	REL8_0_7:1.2
	REL7_3_13:1.1
	REL7_4_11:1.1
	REL8_0_6:1.2
	REL7_3_12:1.1
	REL7_4_10:1.1
	REL8_0_5:1.2
	REL7_3_11:1.1
	REL7_4_9:1.1
	REL8_0_4:1.2
	REL7_3_10:1.1
	REL7_4_8:1.1
	REL8_0_3:1.2
	REL8_0_2:1.2
	REL7_3_9:1.1
	REL7_4_7:1.1
	REL8_0_1:1.2
	REL8_0_STABLE:1.2.0.4
	REL8_0_0:1.2.0.2
	REL8_0_0RC5:1.2
	REL8_0_0RC4:1.2
	REL8_0_0RC3:1.2
	REL8_0_0RC2:1.2
	REL8_0_0RC1:1.2
	REL8_0_0BETA5:1.2
	REL8_0_0BETA4:1.2
	REL7_4_6:1.1
	REL7_3_8:1.1
	REL8_0_0BETA3:1.2
	REL8_0_0BETA2:1.2
	REL7_4_5:1.1
	REL7_3_7:1.1
	REL7_4_4:1.1
	REL8_0_0BETA1:1.1
	REL7_4_3:1.1
	REL7_4_2:1.1
	REL7_3_6:1.1
	REL7_4_1:1.1
	REL7_3_5:1.1
	REL7_4:1.1
	REL7_4_RC2:1.1
	REL7_4_STABLE:1.1.0.6
	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.4
	REL7_4_BETA1:1.1
	REL7_3_4:1.1
	REL7_3_2:1.1
	REL7_3_STABLE:1.1.0.2;
locks; strict;
comment	@# @;


1.3
date	2005.07.29.14.46.55;	author momjian;	state dead;
branches;
next	1.2;

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

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


desc
@@


1.3
log
@Move dbsize functions into the backend.  New functions:

	pg_tablespace_size
	pg_database_size
	pg_relation_size
	pg_complete_relation_size
	pg_size_pretty

Remove /contrib/dbsize.

Dave Page
@
text
@MODULES = dbsize
DATA_built = dbsize.sql
DOCS = README.dbsize

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


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
@@


1.1
log
@I've written on like that a while ago:

http://webmail.postgresql.org/~petere/dbsize.html

The tarball can be rolled into contrib -- now that I think of it I don't
know why I never did that.

Never imagined this would have anything to do with that TODO item,
though.
I figured oid2name accomplished that.

Peter Eisentraut   peter_e@@gmx.net
@
text
@a0 4
subdir = contrib/dbsize
top_builddir = ../..
include $(top_builddir)/src/Makefile.global

d5 7
d13 1
@

