head	1.79;
access;
symbols
	REL9_0_0:1.78
	REL9_1_ALPHA1:1.79
	REL9_0_RC1:1.78
	REL9_0_BETA4:1.78
	REL9_0_STABLE:1.78.0.2
	REL9_0_BETA3:1.78
	REL9_0_BETA2:1.78
	REL7_4_29:1.47
	REL8_0_25:1.53
	REL8_1_21:1.57
	REL8_2_17:1.60
	REL8_3_11:1.65
	REL8_4_4:1.70
	REL9_0_BETA1:1.77
	REL9_0_ALPHA5_BRANCH:1.77.0.4
	REL9_0_ALPHA5:1.77
	REL7_4_28:1.47
	REL8_0_24:1.53
	REL8_1_20:1.57
	REL8_2_16:1.60
	REL8_3_10:1.65
	REL8_4_3:1.70
	REL9_0_ALPHA4:1.77
	REL9_0_ALPHA4_BRANCH:1.77.0.2
	REL8_5_ALPHA3:1.74
	REL8_5_ALPHA3_BRANCH:1.74.0.2
	REL7_4_27:1.47
	REL8_0_23:1.53
	REL8_1_19:1.57
	REL8_2_15:1.60
	REL8_3_9:1.65
	REL8_4_2:1.70
	REL8_5_ALPHA2:1.73
	REL8_5_ALPHA2_BRANCH:1.73.0.2
	REL7_4_26:1.47
	REL8_0_22:1.53
	REL8_1_18:1.57
	REL8_2_14:1.60
	REL8_3_8:1.65
	REL8_4_1:1.70
	REL8_5_ALPHA1:1.70
	REL8_5_ALPHA1_BRANCH:1.70.0.4
	REL8_4_STABLE:1.70.0.2
	REL8_4_0:1.70
	REL8_4_RC2:1.70
	REL8_4_RC1:1.70
	REL8_4_BETA2:1.70
	REL8_4_BETA1:1.69
	REL7_4_25:1.47
	REL8_0_21:1.53
	REL8_1_17:1.57
	REL8_2_13:1.60
	REL8_3_7:1.65
	REL7_4_24:1.47
	REL8_0_20:1.53
	REL8_1_16:1.57
	REL8_2_12:1.60
	REL8_3_6:1.65
	REL7_4_23:1.47
	REL8_0_19:1.53
	REL8_1_15:1.57
	REL8_2_11:1.60
	REL8_3_5:1.65
	REL7_4_22:1.47
	REL8_0_18:1.53
	REL8_1_14:1.57
	REL8_2_10:1.60
	REL8_3_4:1.65
	REL7_4_21:1.47
	REL8_0_17:1.53
	REL8_1_13:1.57
	REL8_2_9:1.60
	REL8_3_3:1.65
	REL7_4_20:1.47
	REL8_0_16:1.53
	REL8_1_12:1.57
	REL8_2_8:1.60
	REL8_3_2:1.65
	REL8_2_7:1.60
	REL8_3_1:1.65
	REL8_3_STABLE:1.65.0.2
	REL8_3_0:1.65
	REL8_3_RC2:1.65
	REL7_3_21:1.42
	REL7_4_19:1.47
	REL8_0_15:1.53
	REL8_1_11:1.57
	REL8_2_6:1.60
	REL8_3_RC1:1.65
	REL8_3_BETA4:1.65
	REL8_3_BETA3:1.65
	REL8_3_BETA2:1.65
	REL8_3_BETA1:1.65
	REL7_3_20:1.42
	REL7_4_18:1.47
	REL8_0_14:1.53
	REL8_1_10:1.57
	REL8_2_5:1.60
	REL7_3_19:1.42
	REL7_4_17:1.47
	REL8_0_13:1.53
	REL8_1_9:1.57
	REL8_2_4:1.60
	REL8_0_12:1.53
	REL8_1_8:1.57
	REL8_2_3:1.60
	REL7_3_18:1.42
	REL7_4_16:1.47
	REL8_0_11:1.53
	REL8_1_7:1.57
	REL8_2_2:1.60
	REL8_0_10:1.53
	REL8_1_6:1.57
	REL8_2_1:1.60
	REL7_4_15:1.47
	REL7_3_17:1.42
	REL8_2_STABLE:1.60.0.2
	REL8_2_0:1.60
	REL8_2_RC1:1.60
	REL8_2_BETA3:1.60
	REL8_2_BETA2:1.60
	REL8_1_5:1.57
	REL8_0_9:1.53
	REL7_4_14:1.47
	REL7_3_16:1.42
	REL8_2_BETA1:1.60
	REL7_3_15:1.42
	REL7_4_13:1.47
	REL8_0_8:1.53
	REL8_1_4:1.57
	REL7_3_14:1.42
	REL7_4_12:1.47
	REL8_0_7:1.53
	REL8_1_3:1.57
	REL7_3_13:1.42
	REL7_4_11:1.47
	REL8_0_6:1.53
	REL8_1_2:1.57
	REL7_3_12:1.42
	REL7_4_10:1.47
	REL8_0_5:1.53
	REL8_1_1:1.57
	REL8_1_STABLE:1.57.0.2
	REL8_1_0:1.57
	REL8_1_0RC1:1.57
	REL8_1_0BETA4:1.57
	REL8_1_0BETA3:1.57
	REL7_3_11:1.42
	REL7_4_9:1.47
	REL8_0_4:1.53
	REL8_1_0BETA2:1.57
	REL8_1_0BETA1:1.56
	REL7_2_8:1.37
	REL7_3_10:1.42
	REL7_4_8:1.47
	REL8_0_3:1.53
	REL8_0_2:1.53
	REL7_2_7:1.37
	REL7_3_9:1.42
	REL7_4_7:1.47
	REL8_0_1:1.53
	REL8_0_STABLE:1.53.0.4
	REL8_0_0:1.53.0.2
	REL8_0_0RC5:1.53
	REL8_0_0RC4:1.53
	REL8_0_0RC3:1.53
	REL8_0_0RC2:1.53
	REL8_0_0RC1:1.53
	REL8_0_0BETA5:1.53
	REL8_0_0BETA4:1.53
	REL7_4_6:1.47
	REL7_3_8:1.42
	REL7_2_6:1.37
	REL8_0_0BETA3:1.53
	REL8_0_0BETA2:1.53
	REL7_2_5:1.37
	REL7_4_5:1.47
	REL7_3_7:1.42
	REL7_4_4:1.47
	REL8_0_0BETA1:1.53
	REL7_4_3:1.47
	REL7_4_2:1.47
	REL7_3_6:1.42
	REL7_4_1:1.47
	REL7_3_5:1.42
	REL7_4:1.47
	REL7_4_RC2:1.47
	REL7_4_STABLE:1.47.0.4
	REL7_4_RC1:1.47
	REL7_4_BETA5:1.47
	REL7_4_BETA4:1.47
	REL7_4_BETA3:1.47
	REL7_4_BETA2:1.47
	WIN32_DEV:1.47.0.2
	REL7_4_BETA1:1.47
	REL7_3_4:1.42
	REL7_3_2:1.42
	REL7_2_4:1.37
	REL7_3_STABLE:1.42.0.2
	REL7_2_3:1.37
	REL7_2_STABLE:1.37.0.2
	REL7_2:1.37
	REL7_2_RC2:1.37
	REL7_2_RC1:1.37
	REL7_2_BETA5:1.37
	REL7_2_BETA4:1.37
	REL7_2_BETA3:1.37
	REL7_2_BETA2:1.37
	REL7_2_BETA1:1.37
	REL7_1_2:1.32
	REL7_1_STABLE:1.32.0.2
	REL7_1_BETA:1.32
	REL7_1_BETA3:1.32
	REL7_1_BETA2:1.32
	REL7_1:1.32
	REL7_0_PATCHES:1.20.0.2
	REL7_0:1.20
	REL6_5_PATCHES:1.17.0.2
	REL6_5:1.17
	REL6_4:1.14.0.2
	release-6-3:1.9
	REL2_0B:1.2.0.2
	REL2_0:1.2;
locks; strict;
comment	@# @;


1.79
date	2010.08.27.11.47.41;	author rhaas;	state Exp;
branches;
next	1.78;

1.78
date	2010.05.13.11.49.48;	author petere;	state Exp;
branches;
next	1.77;

1.77
date	2010.02.16.22.34.43;	author tgl;	state Exp;
branches;
next	1.76;

1.76
date	2010.01.06.19.56.29;	author tgl;	state Exp;
branches;
next	1.75;

1.75
date	2010.01.05.01.06.56;	author tgl;	state Exp;
branches;
next	1.74;

1.74
date	2009.12.11.03.34.55;	author itagaki;	state Exp;
branches;
next	1.73;

1.73
date	2009.10.07.22.14.16;	author alvherre;	state Exp;
branches;
next	1.72;

1.72
date	2009.10.05.19.24.34;	author tgl;	state Exp;
branches;
next	1.71;

1.71
date	2009.08.26.22.24.43;	author petere;	state Exp;
branches;
next	1.70;

1.70
date	2009.05.12.00.56.05;	author tgl;	state Exp;
branches;
next	1.69;

1.69
date	2009.02.09.20.57.59;	author alvherre;	state Exp;
branches;
next	1.68;

1.68
date	2008.12.19.16.25.16;	author petere;	state Exp;
branches;
next	1.67;

1.67
date	2008.11.19.10.34.51;	author heikki;	state Exp;
branches;
next	1.66;

1.66
date	2008.02.19.10.30.07;	author petere;	state Exp;
branches;
next	1.65;

1.65
date	2007.08.21.01.11.13;	author tgl;	state Exp;
branches;
next	1.64;

1.64
date	2007.04.02.03.49.37;	author tgl;	state Exp;
branches;
next	1.63;

1.63
date	2007.02.09.15.55.58;	author petere;	state Exp;
branches;
next	1.62;

1.62
date	2007.02.06.09.16.08;	author petere;	state Exp;
branches;
next	1.61;

1.61
date	2006.12.23.00.43.09;	author tgl;	state Exp;
branches;
next	1.60;

1.60
date	2006.07.31.01.16.36;	author tgl;	state Exp;
branches;
next	1.59;

1.59
date	2006.02.12.03.22.17;	author momjian;	state Exp;
branches;
next	1.58;

1.58
date	2005.12.09.21.19.35;	author petere;	state Exp;
branches;
next	1.57;

1.57
date	2005.09.08.20.07.41;	author tgl;	state Exp;
branches;
next	1.56;

1.56
date	2005.07.14.05.13.39;	author tgl;	state Exp;
branches;
next	1.55;

1.55
date	2005.07.07.20.39.57;	author tgl;	state Exp;
branches;
next	1.54;

1.54
date	2005.06.28.05.08.52;	author tgl;	state Exp;
branches;
next	1.53;

1.53
date	2004.07.21.20.34.45;	author momjian;	state Exp;
branches;
next	1.52;

1.52
date	2004.07.21.20.22.59;	author momjian;	state Exp;
branches;
next	1.51;

1.51
date	2004.06.18.06.13.19;	author tgl;	state Exp;
branches;
next	1.50;

1.50
date	2004.01.04.05.57.21;	author tgl;	state Exp;
branches;
next	1.49;

1.49
date	2003.11.29.19.51.42;	author pgsql;	state Exp;
branches;
next	1.48;

1.48
date	2003.11.11.01.58.23;	author momjian;	state Exp;
branches;
next	1.47;

1.47
date	2003.08.01.16.12.32;	author petere;	state Exp;
branches;
next	1.46;

1.46
date	2003.04.06.22.45.22;	author petere;	state Exp;
branches;
next	1.45;

1.45
date	2003.01.14.23.19.34;	author petere;	state Exp;
branches;
next	1.44;

1.44
date	2003.01.13.20.37.18;	author tgl;	state Exp;
branches;
next	1.43;

1.43
date	2002.12.14.00.24.24;	author petere;	state Exp;
branches;
next	1.42;

1.42
date	2002.07.18.23.11.27;	author petere;	state Exp;
branches;
next	1.41;

1.41
date	2002.07.12.18.43.13;	author tgl;	state Exp;
branches;
next	1.40;

1.40
date	2002.07.11.07.39.27;	author ishii;	state Exp;
branches;
next	1.39;

1.39
date	2002.03.26.19.15.22;	author tgl;	state Exp;
branches;
next	1.38;

1.38
date	2002.03.22.21.34.43;	author tgl;	state Exp;
branches;
next	1.37;

1.37
date	2001.08.25.18.52.41;	author tgl;	state Exp;
branches;
next	1.36;

1.36
date	2001.08.24.14.07.48;	author petere;	state Exp;
branches;
next	1.35;

1.35
date	2001.06.12.05.55.49;	author tgl;	state Exp;
branches;
next	1.34;

1.34
date	2001.05.14.21.58.10;	author momjian;	state Exp;
branches;
next	1.33;

1.33
date	2001.05.14.20.30.19;	author momjian;	state Exp;
branches;
next	1.32;

1.32
date	2000.10.28.22.14.14;	author petere;	state Exp;
branches;
next	1.31;

1.31
date	2000.10.24.01.38.23;	author tgl;	state Exp;
branches;
next	1.30;

1.30
date	2000.10.22.05.27.10;	author momjian;	state Exp;
branches;
next	1.29;

1.29
date	2000.10.21.15.55.21;	author momjian;	state Exp;
branches;
next	1.28;

1.28
date	2000.10.20.21.03.42;	author petere;	state Exp;
branches;
next	1.27;

1.27
date	2000.10.08.03.53.13;	author momjian;	state Exp;
branches;
next	1.26;

1.26
date	2000.10.08.03.18.53;	author momjian;	state Exp;
branches;
next	1.25;

1.25
date	2000.09.17.13.02.30;	author petere;	state Exp;
branches;
next	1.24;

1.24
date	2000.08.31.16.09.49;	author petere;	state Exp;
branches;
next	1.23;

1.23
date	2000.07.06.21.33.22;	author petere;	state Exp;
branches;
next	1.22;

1.22
date	2000.06.05.07.16.13;	author tgl;	state Exp;
branches;
next	1.21;

1.21
date	2000.05.29.05.44.43;	author tgl;	state Exp;
branches;
next	1.20;

1.20
date	99.12.13.22.32.36;	author momjian;	state Exp;
branches;
next	1.19;

1.19
date	99.12.09.19.14.35;	author momjian;	state Exp;
branches;
next	1.18;

1.18
date	99.11.22.17.55.56;	author momjian;	state Exp;
branches;
next	1.17;

1.17
date	99.03.27.17.25.09;	author tgl;	state Exp;
branches;
next	1.16;

1.16
date	99.01.18.06.32.24;	author momjian;	state Exp;
branches;
next	1.15;

1.15
date	99.01.17.06.18.14;	author momjian;	state Exp;
branches;
next	1.14;

1.14
date	98.10.08.18.29.19;	author momjian;	state Exp;
branches;
next	1.13;

1.13
date	98.08.25.04.19.14;	author momjian;	state Exp;
branches;
next	1.12;

1.12
date	98.07.26.04.30.20;	author scrappy;	state Exp;
branches;
next	1.11;

1.11
date	98.07.24.03.31.09;	author scrappy;	state Exp;
branches;
next	1.10;

1.10
date	98.04.06.00.22.13;	author momjian;	state Exp;
branches;
next	1.9;

1.9
date	98.02.25.13.05.55;	author scrappy;	state Exp;
branches;
next	1.8;

1.8
date	98.01.05.18.42.39;	author momjian;	state Exp;
branches;
next	1.7;

1.7
date	97.12.20.00.23.26;	author scrappy;	state Exp;
branches;
next	1.6;

1.6
date	97.12.17.04.58.25;	author scrappy;	state Exp;
branches;
next	1.5;

1.5
date	97.11.15.20.57.02;	author momjian;	state Exp;
branches;
next	1.4;

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

1.3
date	97.11.02.15.24.52;	author vadim;	state Exp;
branches;
next	1.2;

1.2
date	96.11.03.23.26.58;	author scrappy;	state Exp;
branches;
next	1.1;

1.1
date	96.10.27.09.47.07;	author bryanh;	state Exp;
branches;
next	;


desc
@@


1.79
log
@Rewrite comment code for better modularity, and add necessary locking.

Review by Alvaro Herrera, KaiGai Kohei, and Tom Lane.
@
text
@#-------------------------------------------------------------------------
#
# Makefile for backend/catalog
#
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.78 2010/05/13 11:49:48 petere Exp $
#
#-------------------------------------------------------------------------

subdir = src/backend/catalog
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global

OBJS = catalog.o dependency.o heap.o index.o indexing.o namespace.o aclchk.o \
       objectaddress.o pg_aggregate.o pg_constraint.o pg_conversion.o \
       pg_depend.o pg_enum.o pg_inherits.o pg_largeobject.o pg_namespace.o \
       pg_operator.o pg_proc.o pg_db_role_setting.o pg_shdepend.o pg_type.o \
       storage.o toasting.o

BKIFILES = postgres.bki postgres.description postgres.shdescription

include $(top_srcdir)/src/backend/common.mk

all: $(BKIFILES) schemapg.h

# Note: there are some undocumented dependencies on the ordering in which
# the catalog header files are assembled into postgres.bki.  In particular,
# indexing.h had better be last, and toasting.h just before it.

POSTGRES_BKI_SRCS = $(addprefix $(top_srcdir)/src/include/catalog/,\
	pg_proc.h pg_type.h pg_attribute.h pg_class.h \
	pg_attrdef.h pg_constraint.h pg_inherits.h pg_index.h pg_operator.h \
	pg_opfamily.h pg_opclass.h pg_am.h pg_amop.h pg_amproc.h \
	pg_language.h pg_largeobject_metadata.h pg_largeobject.h pg_aggregate.h \
	pg_statistic.h pg_rewrite.h pg_trigger.h pg_description.h \
	pg_cast.h pg_enum.h pg_namespace.h pg_conversion.h pg_depend.h \
	pg_database.h pg_db_role_setting.h pg_tablespace.h pg_pltemplate.h \
	pg_authid.h pg_auth_members.h pg_shdepend.h pg_shdescription.h \
	pg_ts_config.h pg_ts_config_map.h pg_ts_dict.h \
	pg_ts_parser.h pg_ts_template.h \
	pg_foreign_data_wrapper.h pg_foreign_server.h pg_user_mapping.h \
	pg_default_acl.h \
	toasting.h indexing.h \
    )

# location of Catalog.pm
catalogdir = $(top_srcdir)/src/backend/catalog

# locations of headers that genbki.pl needs to read
pg_includes = -I$(top_srcdir)/src/include/catalog -I$(top_builddir)/src/include/catalog

# see explanation in ../parser/Makefile
postgres.description: postgres.bki ;

postgres.shdescription: postgres.bki ;

schemapg.h: postgres.bki ;

postgres.bki: genbki.pl Catalog.pm $(POSTGRES_BKI_SRCS)
	$(PERL) -I $(catalogdir) $< $(pg_includes) --set-version=$(MAJORVERSION) $(POSTGRES_BKI_SRCS)

.PHONY: install-data
install-data: $(BKIFILES) installdirs
	$(INSTALL_DATA) $(call vpathsearch,postgres.bki) '$(DESTDIR)$(datadir)/postgres.bki'
	$(INSTALL_DATA) $(call vpathsearch,postgres.description) '$(DESTDIR)$(datadir)/postgres.description'
	$(INSTALL_DATA) $(call vpathsearch,postgres.shdescription) '$(DESTDIR)$(datadir)/postgres.shdescription'
	$(INSTALL_DATA) $(srcdir)/system_views.sql '$(DESTDIR)$(datadir)/system_views.sql'
	$(INSTALL_DATA) $(srcdir)/information_schema.sql '$(DESTDIR)$(datadir)/information_schema.sql'
	$(INSTALL_DATA) $(srcdir)/sql_features.txt '$(DESTDIR)$(datadir)/sql_features.txt'

installdirs:
	$(MKDIR_P) '$(DESTDIR)$(datadir)'

.PHONY: uninstall-data
uninstall-data:
	rm -f $(addprefix '$(DESTDIR)$(datadir)'/, $(BKIFILES) system_views.sql information_schema.sql sql_features.txt)

# postgres.bki, postgres.description, postgres.shdescription, and schemapg.h
# are in the distribution tarball, so they are not cleaned here.
clean:

maintainer-clean: clean
	rm -f $(BKIFILES)
@


1.78
log
@Fix vpath installation from distribution tarball (bug #5447)
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.77 2010/02/16 22:34:43 tgl Exp $
d14 4
a17 3
       pg_aggregate.o pg_constraint.o pg_conversion.o pg_depend.o pg_enum.o \
       pg_inherits.o pg_largeobject.o pg_namespace.o pg_operator.o pg_proc.o \
       pg_db_role_setting.o pg_shdepend.o pg_type.o storage.o toasting.o
@


1.77
log
@Replace the pg_listener-based LISTEN/NOTIFY mechanism with an in-memory queue.
In addition, add support for a "payload" string to be passed along with
each notify event.

This implementation should be significantly more efficient than the old one,
and is also more compatible with Hot Standby usage.  There is not yet any
facility for HS slaves to receive notifications generated on the master,
although such a thing is possible in future.

Joachim Wieland, reviewed by Jeff Davis; also hacked on by me.
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.76 2010/01/06 19:56:29 tgl Exp $
d62 3
a64 3
	$(INSTALL_DATA) postgres.bki         '$(DESTDIR)$(datadir)/postgres.bki'
	$(INSTALL_DATA) postgres.description '$(DESTDIR)$(datadir)/postgres.description'
	$(INSTALL_DATA) postgres.shdescription '$(DESTDIR)$(datadir)/postgres.shdescription'
@


1.76
log
@Make the makefile pass $MAJORVERSION to genbki.pl, not $VERSION which is
overridden in the snapshot build script.  $MAJORVERSION is what it really
wanted anyway, so we can tighten up the parsing of --set-version's argument.
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.75 2010/01/05 01:06:56 tgl Exp $
d33 1
a33 1
	pg_statistic.h pg_rewrite.h pg_trigger.h pg_listener.h pg_description.h \
@


1.75
log
@Get rid of the need for manual maintenance of the initial contents of
pg_attribute, by having genbki.pl derive the information from the various
catalog header files.  This greatly simplifies modification of the
"bootstrapped" catalogs.

This patch finally kills genbki.sh and Gen_fmgrtab.sh; we now rely entirely on
Perl scripts for those build steps.  To avoid creating a Perl build dependency
where there was not one before, the output files generated by these scripts
are now treated as distprep targets, ie, they will be built and shipped in
tarballs.  But you will need a reasonably modern Perl (probably at least
5.6) if you want to build from a CVS pull.

The changes to the MSVC build process are untested, and may well break ---
we'll soon find out from the buildfarm.

John Naylor, based on ideas from Robert Haas and others
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.74 2009/12/11 03:34:55 itagaki Exp $
d58 1
a58 1
	$(PERL) -I $(catalogdir) $< $(pg_includes) --set-version=$(VERSION) $(POSTGRES_BKI_SRCS)
@


1.74
log
@Add large object access control.

A new system catalog pg_largeobject_metadata manages
ownership and access privileges of large objects.

KaiGai Kohei, reviewed by Jaime Casanova.
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.73 2009/10/07 22:14:16 alvherre Exp $
d22 1
a22 1
all: $(BKIFILES)
d44 5
a48 1
pg_includes = $(sort -I$(top_srcdir)/src/include -I$(top_builddir)/src/include)
d55 4
a58 2
postgres.bki: genbki.sh $(POSTGRES_BKI_SRCS) $(top_builddir)/src/include/pg_config_manual.h
	AWK='$(AWK)' $(SHELL) $< $(pg_includes) --set-version=$(VERSION) -o postgres $(POSTGRES_BKI_SRCS)
d76 2
d79 2
@


1.73
log
@Make it possibly to specify GUC params per user and per database.

Create a new catalog pg_db_role_setting where they are now stored, and better
encapsulate the code that deals with settings into its realm.  The old
datconfig and rolconfig columns are removed.

psql has gained a \drds command to display the settings.

Backwards compatibility warning: while the backwards-compatible system views
still have the config columns, they no longer completely represent the
configuration for a user or database.

Catalog version bumped.
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.72 2009/10/05 19:24:34 tgl Exp $
d32 3
a34 3
	pg_language.h pg_largeobject.h pg_aggregate.h pg_statistic.h \
	pg_rewrite.h pg_trigger.h pg_listener.h pg_description.h pg_cast.h \
	pg_enum.h pg_namespace.h pg_conversion.h pg_depend.h \
@


1.72
log
@Create an ALTER DEFAULT PRIVILEGES command, which allows users to adjust
the privileges that will be applied to subsequently-created objects.

Such adjustments are always per owning role, and can be restricted to objects
created in particular schemas too.  A notable benefit is that users can
override the traditional default privilege settings, eg, the PUBLIC EXECUTE
privilege traditionally granted by default for functions.

Petr Jelinek
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.71 2009/08/26 22:24:43 petere Exp $
d16 1
a16 1
       pg_shdepend.o pg_type.o storage.o toasting.o
d35 1
a35 1
	pg_database.h pg_tablespace.h pg_pltemplate.h \
@


1.71
log
@Update of install-sh, mkinstalldirs, and associated configury

Update install-sh to that from Autoconf 2.63, plus our Darwin-specific
changes (which I simplified a bit).  install-sh is now able to install
multiple files in one run, so we could simplify our makefiles sometime.

install-sh also now has a -d option to create directories, so we don't need
mkinstalldirs anymore.

Use AC_PROG_MKDIR_P in configure.in, so we can use mkdir -p when available
instead of install-sh -d.  For consistency with the rest of the world,
the corresponding make variable has been renamed from $(mkinstalldirs) to
$(MKDIR_P).
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.70 2009/05/12 00:56:05 tgl Exp $
d40 1
@


1.70
log
@Do some minor code refactoring in preparation for changing the APIs of
find_inheritance_children() and find_all_inheritors().  I got annoyed that
these are buried inside the planner but mostly used elsewhere.  So, create
a new file catalog/pg_inherits.c and put them there, along with a couple
of other functions that search pg_inherits.

The code that modifies pg_inherits is (still) in tablecmds.c --- it's
kind of entangled with unrelated code that modifies pg_depend and other
stuff, so pulling it out seemed like a bigger change than I wanted to make
right now.  But this file provides a natural home for it if anyone ever
gets around to that.

This commit just moves code around; it doesn't change anything, except
I succumbed to the temptation to make a couple of trivial optimizations
in typeInheritsFrom().
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.69 2009/02/09 20:57:59 alvherre Exp $
d63 1
a63 1
	$(mkinstalldirs) '$(DESTDIR)$(datadir)'
@


1.69
log
@Update autovacuum to use reloptions instead of a system catalog, for
per-table overrides of parameters.

This removes a whole class of problems related to misusing the catalog,
and perhaps more importantly, gives us pg_dump support for the parameters.

Based on a patch by Euler Taveira de Oliveira, heavily reworked by me.
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.68 2008/12/19 16:25:16 petere Exp $
d15 2
a16 2
       pg_largeobject.o pg_namespace.o pg_operator.o pg_proc.o pg_shdepend.o \
       pg_type.o storage.o toasting.o
@


1.68
log
@SQL/MED catalog manipulation facilities

This doesn't do any remote or external things yet, but it gives modules
like plproxy and dblink a standardized and future-proof system for
managing their connection information.

Martin Pihlak and Peter Eisentraut
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.67 2008/11/19 10:34:51 heikki Exp $
d29 1
a29 1
	pg_proc.h pg_type.h pg_attribute.h pg_class.h pg_autovacuum.h \
@


1.67
log
@Rethink the way FSM truncation works. Instead of WAL-logging FSM
truncations in FSM code, call FreeSpaceMapTruncateRel from smgr_redo. To
make that cleaner from modularity point of view, move the WAL-logging one
level up to RelationTruncate, and move RelationTruncate and all the
related WAL-logging to new src/backend/catalog/storage.c file. Introduce
new RelationCreateStorage and RelationDropStorage functions that are used
instead of calling smgrcreate/smgrscheduleunlink directly. Move the
pending rel deletion stuff from smgrcreate/smgrscheduleunlink to the new
functions. This leaves smgr.c as a thin wrapper around md.c; all the
transactional stuff is now in storage.c.

This will make it easier to add new forks with similar truncation logic,
like the visibility map.
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.66 2008/02/19 10:30:07 petere Exp $
d39 1
@


1.66
log
@Refactor backend makefiles to remove lots of duplicate code
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.65 2007/08/21 01:11:13 tgl Exp $
d16 1
a16 1
       pg_type.o toasting.o
@


1.65
log
@Tsearch2 functionality migrates to core.  The bulk of this work is by
Oleg Bartunov and Teodor Sigaev, but I did a lot of editorializing,
so anything that's broken is probably my fault.

Documentation is nonexistent as yet, but let's land the patch so we can
get some portability testing done.
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.64 2007/04/02 03:49:37 tgl Exp $
d20 1
a20 1
all: SUBSYS.o $(BKIFILES)
d22 1
a22 2
SUBSYS.o: $(OBJS)
	$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
d69 1
a69 1
	rm -f SUBSYS.o $(OBJS) $(BKIFILES)
@


1.64
log
@Support enum data types.  Along the way, use macros for the values of
pg_type.typtype whereever practical.  Tom Dunstan, with some kibitzing
from Tom Lane.
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.63 2007/02/09 15:55:58 petere Exp $
d38 2
@


1.63
log
@Replace useless uses of := by = in makefiles.
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.62 2007/02/06 09:16:08 petere Exp $
d14 1
a14 1
       pg_aggregate.o pg_constraint.o pg_conversion.o pg_depend.o \
d35 1
a35 1
	pg_namespace.h pg_conversion.h pg_depend.h \
@


1.62
log
@Move NAMEDATALEN definition from postgres_ext.h to pg_config_manual.h. It
used to be part of libpq's exported interface many releases ago, but now
it's no longer necessary to make it accessible to clients.
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.61 2006/12/23 00:43:09 tgl Exp $
d29 1
a29 1
POSTGRES_BKI_SRCS := $(addprefix $(top_srcdir)/src/include/catalog/,\
d41 1
a41 1
pg_includes := $(sort -I$(top_srcdir)/src/include -I$(top_builddir)/src/include)
@


1.61
log
@Restructure operator classes to allow improved handling of cross-data-type
cases.  Operator classes now exist within "operator families".  While most
families are equivalent to a single class, related classes can be grouped
into one family to represent the fact that they are semantically compatible.
Cross-type operators are now naturally adjunct parts of a family, without
having to wedge them into a particular opclass as we had done originally.

This commit restructures the catalogs and cleans up enough of the fallout so
that everything still works at least as well as before, but most of the work
needed to actually improve the planner's behavior will come later.  Also,
there are not yet CREATE/DROP/ALTER OPERATOR FAMILY commands; the only way
to create a new family right now is to allow CREATE OPERATOR CLASS to make
one by default.  I owe some more documentation work, too.  But that can all
be done in smaller pieces once this infrastructure is in place.
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.60 2006/07/31 01:16:36 tgl Exp $
d48 1
a48 2
postgres.bki: genbki.sh $(POSTGRES_BKI_SRCS) \
    $(top_srcdir)/src/include/postgres_ext.h $(top_builddir)/src/include/pg_config_manual.h
@


1.60
log
@Change the bootstrap sequence so that toast tables for system catalogs are
created in the bootstrap phase proper, rather than added after-the-fact
by initdb.  This is cleaner than before because it allows us to retire the
undocumented ALTER TABLE ... CREATE TOAST TABLE command, but the real reason
I'm doing it is so that toast tables of shared catalogs will now have
predetermined OIDs.  This will allow a reasonably clean solution to the
problem of locking tables before we load their relcache entries, to appear
in a forthcoming patch.
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.59 2006/02/12 03:22:17 momjian Exp $
d31 2
a32 2
	pg_attrdef.h pg_constraint.h pg_inherits.h pg_index.h \
	pg_operator.h pg_opclass.h pg_am.h pg_amop.h pg_amproc.h \
@


1.59
log
@I've created a new shared catalog table pg_shdescription to store
comments on cluster global objects like databases, tablespaces, and
roles.

It touches a lot of places, but not much in the way of big changes.  The
only design decision I made was to duplicate the query and manipulation
functions rather than to try and have them handle both shared and local
comments.  I believe this is simpler for the code and not an issue for
callers because they know what type of object they are dealing with.
This has resulted in a shobj_description function analagous to
obj_description and backend functions [Create/Delete]SharedComments
mirroring the existing [Create/Delete]Comments functions.

pg_shdescription.h goes into src/include/catalog/

Kris Jurka
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.58 2005/12/09 21:19:35 petere Exp $
d16 1
a16 1
       pg_type.o
d27 1
a27 1
# indexing.h had better be last.
d38 1
a38 1
	indexing.h \
@


1.58
log
@Allow installation into directories containing spaces in the name.
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.57 2005/09/08 20:07:41 tgl Exp $
d18 1
a18 1
BKIFILES = postgres.bki postgres.description
d37 1
a37 1
	pg_authid.h pg_auth_members.h pg_shdepend.h \
d46 2
d56 1
@


1.57
log
@Create the pg_pltemplate system catalog to hold template information
for procedural languages.  This replaces the hard-wired table I had
originally proposed as a stopgap solution.  For the moment, the initial
contents only include languages shipped with the core distribution.
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.56 2005/07/14 05:13:39 tgl Exp $
d52 5
a56 5
	$(INSTALL_DATA) postgres.bki         $(DESTDIR)$(datadir)/postgres.bki
	$(INSTALL_DATA) postgres.description $(DESTDIR)$(datadir)/postgres.description
	$(INSTALL_DATA) $(srcdir)/system_views.sql $(DESTDIR)$(datadir)/system_views.sql
	$(INSTALL_DATA) $(srcdir)/information_schema.sql $(DESTDIR)$(datadir)/information_schema.sql
	$(INSTALL_DATA) $(srcdir)/sql_features.txt $(DESTDIR)$(datadir)/sql_features.txt
d59 1
a59 1
	$(mkinstalldirs) $(DESTDIR)$(datadir)
d63 1
a63 1
	rm -f $(addprefix $(DESTDIR)$(datadir)/, $(BKIFILES) system_views.sql information_schema.sql sql_features.txt)
@


1.56
log
@Integrate autovacuum functionality into the backend.  There's still a
few loose ends to be dealt with, but it seems to work.  Alvaro Herrera,
based on the contrib code by Matthew O'Connor.
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.55 2005/07/07 20:39:57 tgl Exp $
d35 3
a37 2
	pg_namespace.h pg_conversion.h pg_database.h pg_shdepend.h \
	pg_authid.h pg_auth_members.h pg_tablespace.h pg_depend.h \
@


1.55
log
@Track dependencies on shared objects (which is to say, roles; we already
have adequate mechanisms for tracking the contents of databases and
tablespaces).  This solves the longstanding problem that you can drop a
user who still owns objects and/or has access permissions.
Alvaro Herrera, with some kibitzing from Tom Lane.
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.54 2005/06/28 05:08:52 tgl Exp $
d30 1
a30 1
	pg_proc.h pg_type.h pg_attribute.h pg_class.h \
@


1.54
log
@Replace pg_shadow and pg_group by new role-capable catalogs pg_authid
and pg_auth_members.  There are still many loose ends to finish in this
patch (no documentation, no regression tests, no pg_dump support for
instance).  But I'm going to commit it now anyway so that Alvaro can
make some progress on shared dependencies.  The catalog changes should
be pretty much done.
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.53 2004/07/21 20:34:45 momjian Exp $
d15 2
a16 1
       pg_largeobject.o pg_namespace.o pg_operator.o pg_proc.o pg_type.o
d35 1
a35 1
	pg_namespace.h pg_conversion.h pg_database.h \
@


1.53
log
@Back out pg_autovacuum commit after cvs clean failure causes commit.
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql-server/src/backend/catalog/Makefile,v 1.51 2004/06/18 06:13:19 tgl Exp $
d34 3
a36 2
	pg_namespace.h pg_conversion.h pg_database.h pg_shadow.h pg_group.h \
	pg_tablespace.h pg_depend.h indexing.h \
@


1.52
log
@lease find enclosed a patch that matches the PL/Perl documentation
(fairly closely, I hope) to the current PL/Perl implementation.

David Fetter
@
text
@d35 1
a35 1
	pg_tablespace.h pg_depend.h pg_autovacuum.h indexing.h \
@


1.51
log
@Tablespaces.  Alternate database locations are dead, long live tablespaces.

There are various things left to do: contrib dbsize and oid2name modules
need work, and so does the documentation.  Also someone should think about
COMMENT ON TABLESPACE and maybe RENAME TABLESPACE.  Also initlocation is
dead, it just doesn't know it yet.

Gavin Sherry and Tom Lane.
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql-server/src/backend/catalog/Makefile,v 1.50 2004/01/04 05:57:21 tgl Exp $
d35 1
a35 1
	pg_tablespace.h pg_depend.h indexing.h \
@


1.50
log
@There's no longer any good reason for genbki.sh and Gen_fmgrtab.sh to
run the data through cpp, and we know of at least one platform where
unusual cpp behavior breaks the process.  So remove the cpp step,
and make consequent simplifications.
@
text
@d5 1
a5 1
# $PostgreSQL: pgsql-server/src/backend/catalog/Makefile,v 1.49 2003/11/29 19:51:42 pgsql Exp $
d35 1
a35 1
	pg_depend.h indexing.h \
d62 1
a62 1
clean: 
@


1.49
log
@
$Header: -> $PostgreSQL Changes ...
@
text
@d5 1
a5 1
# $PostgreSQL: /cvsroot/pgsql-server/src/backend/catalog/Makefile,v 1.48 2003/11/11 01:58:23 momjian Exp $
d45 1
a45 1
	CPP='$(CPP)' AWK='$(AWK)' $(SHELL) $< $(BKIOPTS) -o postgres $(pg_includes) $(POSTGRES_BKI_SRCS) --set-version=$(VERSION)
@


1.48
log
@Move system_views.sql into backend/catalog, per Tom.
@
text
@d5 1
a5 1
# $Header: /cvsroot/pgsql-server/src/backend/catalog/Makefile,v 1.47 2003/08/01 16:12:32 petere Exp $
@


1.47
log
@While having a parallel-make-safe genbki.sh is good, it's better not to
uselessly invoke it in parallel in the first place.
@
text
@d5 1
a5 1
# $Header: /cvsroot/pgsql-server/src/backend/catalog/Makefile,v 1.46 2003/04/06 22:45:22 petere Exp $
d51 1
d60 1
a60 2
	rm -f $(addprefix $(DESTDIR)$(datadir)/, $(BKIFILES) information_schema.sql sql_features.txt)

@


1.46
log
@Generate pg_config.h.in by autoheader.  Separate out manually editable
parts.  Standardize spelling of comments in pg_config.h.
@
text
@d5 1
a5 1
# $Header: /cvsroot/pgsql-server/src/backend/catalog/Makefile,v 1.45 2003/01/14 23:19:34 petere Exp $
d40 4
a43 1
postgres.bki postgres.description: genbki.sh $(POSTGRES_BKI_SRCS) \
@


1.45
log
@Add sql_features table to information schema.  Generate the features list
in the documentation from that same data.
@
text
@d5 1
a5 1
# $Header: /cvsroot/pgsql-server/src/backend/catalog/Makefile,v 1.44 2003/01/13 20:37:18 tgl Exp $
d41 1
a41 1
    $(top_srcdir)/src/include/postgres_ext.h $(top_builddir)/src/include/pg_config.h
@


1.44
log
@Fix information_schema.sql install to work when building outside
source tree.
@
text
@d5 1
a5 1
# $Header: /cvsroot/pgsql-server/src/backend/catalog/Makefile,v 1.43 2002/12/14 00:24:24 petere Exp $
d49 1
d56 1
a56 1
	rm -f $(addprefix $(DESTDIR)$(datadir)/, $(BKIFILES) information_schema.sql)
@


1.43
log
@Initial version of the SQL information schema
@
text
@d5 1
a5 1
# $Header: /cvsroot/pgsql-server/src/backend/catalog/Makefile,v 1.42 2002/07/18 23:11:27 petere Exp $
d48 1
a48 1
	$(INSTALL_DATA) information_schema.sql $(DESTDIR)$(datadir)/information_schema.sql
@


1.42
log
@pg_cast table, and standards-compliant CREATE/DROP CAST commands, plus
extension to create binary compatible casts.  Includes dependency tracking
as well.

pg_proc.proimplicit is now defunct, but will be removed in a separate
commit.

pg_dump provides a migration path from the previous scheme to declare
casts.  Dumping binary compatible casts is currently impossible, though.
@
text
@d5 1
a5 1
# $Header: /cvsroot/pgsql/src/backend/catalog/Makefile,v 1.41 2002/07/12 18:43:13 tgl Exp $
d44 2
a45 2
.PHONY: install-bki
install-bki: $(BKIFILES) installdirs
d48 1
d53 3
a55 3
.PHONY: uninstall-bki
uninstall-bki:
	rm -f $(addprefix $(DESTDIR)$(datadir)/, $(BKIFILES))
@


1.41
log
@Second phase of committing Rod Taylor's pg_depend/pg_constraint patch.
pg_relcheck is gone; CHECK, UNIQUE, PRIMARY KEY, and FOREIGN KEY
constraints all have real live entries in pg_constraint.  pg_depend
exists, and RESTRICT/CASCADE options work on most kinds of DROP;
however, pg_depend is not yet very well populated with dependencies.
(Most of the ones that are present at this point just replace formerly
hardwired associations, such as the implicit drop of a relation's pg_type
entry when the relation is dropped.)  Need to add more logic to create
dependency entries, improve pg_dump to dump constraints in place of
indexes and triggers, and add some regression tests.
@
text
@d5 1
a5 1
# $Header: /cvsroot/pgsql/src/backend/catalog/Makefile,v 1.40 2002/07/11 07:39:27 ishii Exp $
d33 1
a33 1
	pg_rewrite.h pg_trigger.h pg_listener.h pg_description.h \
@


1.40
log
@Add new CREATE CONVERSION/DROP CONVERSION command.
This is the first cut toward CREATE CONVERSION/DROP CONVERSION implementaion.
The commands can now add/remove tuples to the new pg_conversion system
catalog, but that's all. Still need work to make them actually working.
Documentations, regression tests also need work.
@
text
@d5 1
a5 1
# $Header: /cvsroot/pgsql/src/backend/catalog/Makefile,v 1.39 2002/03/26 19:15:22 tgl Exp $
d13 3
a15 3
OBJS = catalog.o heap.o index.o indexing.o namespace.o aclchk.o \
       pg_aggregate.o pg_largeobject.o pg_namespace.o \
       pg_operator.o pg_proc.o pg_type.o pg_conversion.o
d30 1
a30 1
	pg_attrdef.h pg_relcheck.h pg_inherits.h pg_index.h \
d35 1
a35 1
	indexing.h \
@


1.39
log
@pg_class has a relnamespace column.  You can create and access tables
in schemas other than the system namespace; however, there's no search
path yet, and not all operations work yet on tables outside the system
namespace.
@
text
@d5 1
a5 1
# $Header: /cvsroot/pgsql/src/backend/catalog/Makefile,v 1.38 2002/03/22 21:34:43 tgl Exp $
d15 1
a15 1
       pg_operator.o pg_proc.o pg_type.o
d34 2
a35 1
	pg_namespace.h pg_database.h pg_shadow.h pg_group.h indexing.h \
@


1.38
log
@Create the pg_namespace system catalog.  Doesn't do much yet, but it's
there and CREATE SCHEMA will make entries in it...
@
text
@d5 1
a5 1
# $Header: /cvsroot/pgsql/src/backend/catalog/Makefile,v 1.37 2001/08/25 18:52:41 tgl Exp $
d13 1
a13 1
OBJS = catalog.o heap.o index.o indexing.o aclchk.o \
@


1.37
log
@Replace implementation of pg_log as a relation accessed through the
buffer manager with 'pg_clog', a specialized access method modeled
on pg_xlog.  This simplifies startup (don't need to play games to
open pg_log; among other things, OverrideTransactionSystem goes away),
should improve performance a little, and opens the door to recycling
commit log space by removing no-longer-needed segments of the commit
log.  Actual recycling is not there yet, but I felt I should commit
this part separately since it'd still be useful if we chose not to
do transaction ID wraparound.
@
text
@d3 1
a3 1
# Makefile for catalog
d5 1
a5 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.36 2001/08/24 14:07:48 petere Exp $
d14 2
a15 2
       pg_aggregate.o pg_largeobject.o pg_operator.o pg_proc.o \
       pg_type.o
d34 1
a34 1
	pg_database.h pg_shadow.h pg_group.h indexing.h \
@


1.36
log
@Rename config.h to pg_config.h and os.h to pg_config_os.h, fix a number of
places that were including the wrong files.
@
text
@d5 1
a5 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.35 2001/06/12 05:55:49 tgl Exp $
d34 1
a34 1
	pg_database.h pg_shadow.h pg_group.h pg_log.h indexing.h \
@


1.35
log
@Clean up various to-do items associated with system indexes:
pg_database now has unique indexes on oid and on datname.
pg_shadow now has unique indexes on usename and on usesysid.
pg_am now has unique index on oid.
pg_opclass now has unique index on oid.
pg_amproc now has unique index on amid+amopclaid+amprocnum.
Remove pg_rewrite's unnecessary index on oid, delete unused RULEOID syscache.
Remove index on pg_listener and associated syscache for performance reasons
(caching rows that are certain to change before you need 'em again is
rather pointless).
Change pg_attrdef's nonunique index on adrelid into a unique index on
adrelid+adnum.

Fix various incorrect settings of pg_class.relisshared, make that the
primary reference point for whether a relation is shared or not.
IsSharedSystemRelationName() is now only consulted to initialize relisshared
during initial creation of tables and indexes.  In theory we might now
support shared user relations, though it's not clear how one would get
entries for them into pg_class &etc of multiple databases.

Fix recently reported bug that pg_attribute rows created for an index all have
the same OID.  (Proof that non-unique OID doesn't matter unless it's
actually used to do lookups ;-))

There's no need to treat pg_trigger, pg_attrdef, pg_relcheck as bootstrap
relations.  Convert them into plain system catalogs without hardwired
entries in pg_class and friends.

Unify global.bki and template1.bki into a single init script postgres.bki,
since the alleged distinction between them was misleading and pointless.
Not to mention that it didn't work for setting up indexes on shared
system relations.

Rationalize locking of pg_shadow, pg_group, pg_attrdef (no need to use
AccessExclusiveLock where ExclusiveLock or even RowExclusiveLock will do).
Also, hold locks until transaction commit where necessary.
@
text
@d5 1
a5 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.34 2001/05/14 21:58:10 momjian Exp $
d40 1
a40 1
    $(top_srcdir)/src/include/postgres_ext.h $(top_builddir)/src/include/config.h
a57 8


depend dep:
	$(CC) -MM $(CFLAGS) *.c >depend

ifeq (depend,$(wildcard depend))
include depend
endif
@


1.34
log
@Pg_varaiable removal cleanup found from regression.
@
text
@d5 1
a5 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.33 2001/05/14 20:30:19 momjian Exp $
d17 1
a17 1
BKIFILES = global.bki template1.bki global.description template1.description
d24 3
d28 1
a28 5
GLOBAL_BKI_SRCS := $(addprefix $(top_srcdir)/src/include/catalog/,\
	pg_database.h pg_shadow.h pg_group.h pg_log.h \
    )

TEMPLATE1_BKI_SRCS := $(addprefix $(top_srcdir)/src/include/catalog/,\
d30 1
a30 1
	pg_inherits.h pg_index.h pg_statistic.h \
d32 3
a34 2
	pg_language.h pg_largeobject.h pg_aggregate.h \
	pg_rewrite.h pg_listener.h pg_description.h indexing.h \
d39 1
a39 5
global.bki global.description: genbki.sh $(GLOBAL_BKI_SRCS) $(top_srcdir)/src/include/catalog/indexing.h \
    $(top_srcdir)/src/include/postgres_ext.h $(top_builddir)/src/include/config.h
	CPP='$(CPP)' AWK='$(AWK)' $(SHELL) $< $(BKIOPTS) -o global $(pg_includes) $(GLOBAL_BKI_SRCS) --set-version=$(VERSION)

template1.bki template1.description: genbki.sh $(TEMPLATE1_BKI_SRCS) \
d41 1
a41 1
	CPP='$(CPP)' AWK='$(AWK)' $(SHELL) $< $(BKIOPTS) -o template1 $(pg_includes) $(TEMPLATE1_BKI_SRCS) --set-version=$(VERSION)
d45 2
a46 4
	$(INSTALL_DATA) global.bki            $(DESTDIR)$(datadir)/global.bki
	$(INSTALL_DATA) global.description    $(DESTDIR)$(datadir)/global.description
	$(INSTALL_DATA) template1.bki         $(DESTDIR)$(datadir)/template1.bki
	$(INSTALL_DATA) template1.description $(DESTDIR)$(datadir)/template1.description
@


1.33
log
@Remove unused tables pg_variable, pg_inheritproc, pg_ipl tables.  Initdb
forced.
@
text
@d5 1
a5 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.32 2000/10/28 22:14:14 petere Exp $
d26 1
a26 1
	pg_database.h pg_variable.h pg_shadow.h pg_group.h pg_log.h \
@


1.32
log
@Make initdb safe against using
a) mismatching backend program, by checking --version output
b) mismatching bki files, by putting a version-identifying comment atop
   those files.
@
text
@d5 1
a5 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.31 2000/10/24 01:38:23 tgl Exp $
d33 1
a33 2
	pg_language.h pg_largeobject.h \
	pg_aggregate.h pg_ipl.h pg_inheritproc.h \
@


1.31
log
@Major overhaul of large-object implementation, by Denis Perchine with
kibitzing from Tom Lane.  Large objects are now all stored in a single
system relation "pg_largeobject" --- no more xinv or xinx files, no more
relkind 'l'.  This should offer substantial performance improvement for
large numbers of LOs, since there won't be directory bloat anymore.
It'll also fix problems like running out of locktable space when you
access thousands of LOs in one transaction.
Also clean up cruft in read/write routines.  LOs with "holes" in them
(never-written byte ranges) now work just like Unix files with holes do:
a hole reads as zeroes but doesn't occupy storage space.
INITDB forced!
@
text
@d5 1
a5 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.30 2000/10/22 05:27:10 momjian Exp $
d42 1
a42 1
	CPP='$(CPP)' AWK='$(AWK)' $(SHELL) $< $(BKIOPTS) -o global $(pg_includes) $(GLOBAL_BKI_SRCS)
d46 1
a46 1
	CPP='$(CPP)' AWK='$(AWK)' $(SHELL) $< $(BKIOPTS) -o template1 $(pg_includes) $(TEMPLATE1_BKI_SRCS)
@


1.30
log
@BACKED OUT.


> Regression tests opr_sanity and sanity_check are now failing.

Um, Bruce, I've said several times that I didn't think Perchine's large
object changes should be applied until someone had actually reviewed
them.
@
text
@d5 1
a5 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.28 2000/10/20 21:03:42 petere Exp $
d14 2
a15 1
       pg_aggregate.o pg_operator.o pg_proc.o pg_type.o
d33 1
a33 1
	pg_language.h \
@


1.29
log
@here it is as requested by Bruce.
I tested it restoring my database with > 100000 BLOBS, and dumping it out.
But unfortunatly I can not restore it back due to problems in pg_dump.

--
Sincerely Yours,
Denis Perchine
@
text
@d14 1
a14 2
       pg_aggregate.o pg_largeobject.o pg_operator.o pg_proc.o \
       pg_type.o
d32 1
a32 1
	pg_language.h pg_largeobject.h \
@


1.28
log
@Add support for VPATH builds, that is, building somewhere else than in the
source directory.  This involves mostly makefiles using $(srcdir) when they
might have used ".".  (Regression tests don't work with this, yet.)

Sort out usage of CPPFLAGS, CFLAGS (and CXXFLAGS).  Add "override" keyword
in most places, to preserve necessary flags even when the user overrode the
flags.
@
text
@d5 1
a5 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.27 2000/10/08 03:53:13 momjian Exp $
d14 2
a15 1
       pg_aggregate.o pg_operator.o pg_proc.o pg_type.o
d33 1
a33 1
	pg_language.h \
@


1.27
log
@Back out:

> this is patch v 0.4 to support transactions with BLOBs.
> All BLOBs are in one table. You need to make initdb.
>
> --
> Sincerely Yours,
> Denis Perchine
@
text
@d5 1
a5 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.25 2000/09/17 13:02:30 petere Exp $
d37 1
d39 7
a45 5
global.bki global.description: genbki.sh $(GLOBAL_BKI_SRCS) $(top_srcdir)/src/include/catalog/indexing.h
	CPP='$(CPP)' AWK='$(AWK)' $(SHELL) $< $(BKIOPTS) -o global -I$(top_srcdir)/src/include $(GLOBAL_BKI_SRCS)

template1.bki template1.description: genbki.sh $(TEMPLATE1_BKI_SRCS)
	CPP='$(CPP)' AWK='$(AWK)' $(SHELL) $< $(BKIOPTS) -o template1 -I$(top_srcdir)/src/include $(TEMPLATE1_BKI_SRCS)
@


1.26
log
@Hello,

this is patch v 0.4 to support transactions with BLOBs.
All BLOBs are in one table. You need to make initdb.

--
Sincerely Yours,
Denis Perchine
@
text
@d14 1
a14 2
       pg_aggregate.o pg_largeobject.o pg_operator.o pg_proc.o \
       pg_type.o
@


1.25
log
@Support for DESTDIR make variable. This is used as in `make install
DESTDIR=/else/where' and prepends the value of DESTDIR to the full
installation paths (e.g., /else/where/usr/local/pgsql/bin). This allows
users to install the package into a location different from the one that
was configured and hard-coded into various scripts, e.g., for creating
binary packages.

DESTDIR is in many cases preferrable over `make install
prefix=/else/where' because

a) `prefix' affects the path that is hard-coded into the files, which can
lead to a `make install prefix=xxx' (as done by the regression test
driver) corrupting the files in the source tree with wrong paths.

b) it doesn't work at all if a directory was overridden to not depend on
`prefix', e.g., --sysconfdir=/etc.

(Updating the regression test driver to use DESTDIR is a separate
undertaking.)

See also autoconf@@gnu.org, From: Akim Demaille <akim@@epita.fr>, Date: 08
Sep 2000 12:48:59 +0200, Message-ID:
<mv4em2vb1lw.fsf@@nostromo.lrde.epita.fr>, Subject: Re: HTML format
documentation.
@
text
@d5 1
a5 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.24 2000/08/31 16:09:49 petere Exp $
d14 2
a15 1
       pg_aggregate.o pg_operator.o pg_proc.o pg_type.o
@


1.24
log
@Fix relative path references so that make knowns which dependencies refer
to one another. Sort out builddir vs srcdir variable namings. Remove some
now obsoleted make variables.
@
text
@d5 1
a5 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.23 2000/07/06 21:33:22 petere Exp $
d46 4
a49 4
	$(INSTALL_DATA) global.bki            $(datadir)/global.bki
	$(INSTALL_DATA) global.description    $(datadir)/global.description
	$(INSTALL_DATA) template1.bki         $(datadir)/template1.bki
	$(INSTALL_DATA) template1.description $(datadir)/template1.description
d52 1
a52 1
	$(mkinstalldirs) $(datadir)
d56 1
a56 1
	rm -f $(addprefix $(datadir)/, $(BKIFILES))
@


1.23
log
@Backend makefile cleanup. make maintainer-clean is now completely
functional.

Handle include file installation in src/include/Makefile

genbki.sh improvements: Don't substitute anything by config.status,
instead pass in AWK and CPP through environment. Change calling
convention to support named output files, so we get to see error
messages on stderr.

Rename bootstrap template files and install them into PREFIX/share.
Update initdb to that effect and other readability improvements
in initdb.
@
text
@d5 1
a5 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.22 2000/06/05 07:16:13 tgl Exp $
d11 1
a11 1
include ../../Makefile.global
@


1.22
log
@Simplify build/install process for bki and description files.  There's
no reason for them to be copied into src/backend rather than being
installed straight from the catalog subdirectory.  This also avoids
some peculiar behavior (bugs?) present in at least gmake 3.78.1: it
won't always update the bki files in backend/ even when the ones in
backend/catalog/ are newer.
@
text
@d3 1
a3 2
# Makefile--
#    Makefile for catalog
d5 1
a5 2
# IDENTIFICATION
#    $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.21 2000/05/29 05:44:43 tgl Exp $
d9 3
a11 2
SRCDIR = ../..
include $(SRCDIR)/Makefile.global
d16 1
a16 2
BKIFILES = global1.bki.source local1_template1.bki.source \
       global1.description local1_template1.description
a22 1
GENBKI= ./genbki.sh
d24 33
a56 38
GLOBALBKI_SRCS= $(addprefix $(SRCDIR)/include/catalog/, \
                  pg_database.h pg_variable.h pg_shadow.h \
                  pg_group.h pg_log.h \
                 )

LOCALBKI_SRCS= $(addprefix $(SRCDIR)/include/catalog/, \
                 pg_proc.h pg_type.h pg_attribute.h pg_class.h \
                 pg_inherits.h pg_index.h pg_statistic.h \
                 pg_operator.h pg_opclass.h pg_am.h pg_amop.h pg_amproc.h \
                 pg_language.h \
                 pg_aggregate.h pg_ipl.h pg_inheritproc.h \
                 pg_rewrite.h pg_listener.h pg_description.h indexing.h \
                )

global1.bki.source: $(GENBKI) $(GLOBALBKI_SRCS) \
		$(addprefix $(SRCDIR)/include/catalog/, indexing.h)
ifneq ($(PORTNAME), win)
	sh $(SHOPTS) $(GENBKI) $(BKIOPTS) $(GLOBALBKI_SRCS) > $@@ 2>global1.description
else
	$(GENBKI) $(BKIOPTS) $(GLOBALBKI_SRCS) > $@@ 2>global1.description
endif

local1_template1.bki.source: $(GENBKI) $(LOCALBKI_SRCS)
ifneq ($(PORTNAME), win)
	sh $(SHOPTS) $(GENBKI) $(BKIOPTS) $(LOCALBKI_SRCS) > $@@ 2>local1_template1.description
else
	$(GENBKI) $(BKIOPTS) $(LOCALBKI_SRCS) > $@@ 2>local1_template1.description
endif

install-bki-templates: $(BKIFILES)
	$(INSTALL) $(INSTLOPTS) global1.bki.source \
	  $(TEMPLATEDIR)/global1.bki.source
	$(INSTALL) $(INSTLOPTS) global1.description \
	  $(TEMPLATEDIR)/global1.description
	$(INSTALL) $(INSTLOPTS) local1_template1.bki.source \
	  $(TEMPLATEDIR)/local1_template1.bki.source
	$(INSTALL) $(INSTLOPTS) local1_template1.description \
	  $(TEMPLATEDIR)/local1_template1.description
a57 2
depend dep:
	$(CC) -MM $(CFLAGS) *.c >depend
d61 4
@


1.21
log
@Generated header files parse.h and fmgroids.h are now copied into
the src/include tree, so that -I backend is no longer necessary anywhere.
Also, clean up some bit rot in contrib tree.
@
text
@d7 1
a7 1
#    $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.20 1999/12/13 22:32:36 momjian Exp $
d12 1
a12 1
include ../../Makefile.global
d17 4
a20 2
all: SUBSYS.o global1.bki.source local1_template1.bki.source \
		global1.description local1_template1.description
d27 1
a27 1
GLOBALBKI_SRCS= $(addprefix ../../include/catalog/, \
d32 1
a32 1
LOCALBKI_SRCS= $(addprefix ../../include/catalog/, \
d42 1
a42 1
		$(addprefix ../../include/catalog/, indexing.h)
d56 10
d70 1
a70 2
	rm -f SUBSYS.o $(OBJS) global1.bki.source local1_template1.bki.source \
				global1.description local1_template1.description
a74 1

@


1.20
log
@New LDOUT makefile variable for QNX os.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.19 1999/12/09 19:14:35 momjian Exp $
a12 2

CFLAGS += -I..
@


1.19
log
@Make LD -r as macros that can be changed for QNX.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.18 1999/11/22 17:55:56 momjian Exp $
d23 1
a23 1
	$(LD) $(LDREL) -o SUBSYS.o $(OBJS)
@


1.18
log
@Add system indexes to match all caches.
Make all system indexes unique.
Make all cache loads use system indexes.
Rename *rel to *relid in inheritance tables.
Rename cache names to be clearer.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.17 1999/03/27 17:25:09 tgl Exp $
d23 1
a23 1
	$(LD) -r -o SUBSYS.o $(OBJS)
@


1.17
log
@Delete unused system table pg_parg.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.16 1999/01/18 06:32:24 momjian Exp $
d41 2
a42 1
global1.bki.source: $(GENBKI) $(GLOBALBKI_SRCS)
@


1.16
log
@Fix for typo in gram.y
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.15 1999/01/17 06:18:14 momjian Exp $
d36 1
a36 1
                 pg_language.h pg_parg.h \
@


1.15
log
@Apply Win32 patch from Horak Daniel.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.14 1998/10/08 18:29:19 momjian Exp $
d60 1
a60 2
				global1.description local1_template1.description \
				$(GENBKI)
@


1.14
log
@Make functions static or ifdef NOT_USED.  Prevent pg_version creation.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.13 1998/08/25 04:19:14 momjian Exp $
d42 1
d44 3
d49 1
d51 3
d60 2
a61 1
				global1.description local1_template1.description
@


1.13
log
@>Applied.

Thanks. But patches for src/backend/catalog/Makefile seems missing
in the current source tree. Please apply attached patches.

It also includes some corrections to src/backend/util/mb/wchar.c.
-- Tatsuo Ishii t-ishii@@sra.co.jp
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.12 1998/07/26 04:30:20 scrappy Exp $
d34 1
a34 1
                 pg_inherits.h pg_index.h pg_version.h pg_statistic.h \
@


1.12
log
@
From: t-ishii@@sra.co.jp

As Bruce mentioned, this is due to the conflict among changes we made.
Included patches should fix the problem(I changed all MB to
MULTIBYTE). Please let me know if you have further problem.

P.S. I did not include pathces to configure and gram.c to save the
file size(configure.in and gram.y modified).
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.11 1998/07/24 03:31:09 scrappy Exp $
a26 6
ifdef MULTIBYTE
GLOBALBKI_SRCS= $(addprefix ../../include/catalog/, \
                  pg_database_mb.h pg_variable.h pg_shadow.h \
                  pg_group.h pg_log.h \
                 )
else
a30 1
endif
a31 10
ifdef MULTIBYTE
LOCALBKI_SRCS= $(addprefix ../../include/catalog/, \
                 pg_proc.h pg_type.h pg_attribute_mb.h pg_class_mb.h \
                 pg_inherits.h pg_index.h pg_version.h pg_statistic.h \
                 pg_operator.h pg_opclass.h pg_am.h pg_amop.h pg_amproc.h \
                 pg_language.h pg_parg.h \
                 pg_aggregate.h pg_ipl.h pg_inheritproc.h \
                 pg_rewrite.h pg_listener.h pg_description.h indexing.h \
                )
else
d40 1
a40 1
endif
@


1.11
log
@
I really hope that I haven't missed anything in this one...

From: t-ishii@@sra.co.jp

Attached are patches to enhance the multi-byte support.  (patches are
against 7/18 snapshot)

* determine encoding at initdb/createdb rather than compile time

Now initdb/createdb has an option to specify the encoding. Also, I
modified the syntax of CREATE DATABASE to accept encoding option. See
README.mb for more details.

For this purpose I have added new column "encoding" to pg_database.
Also pg_attribute and pg_class are changed to catch up the
modification to pg_database.  Actually I haved added pg_database_mb.h,
pg_attribute_mb.h and pg_class_mb.h. These are used only when MB is
enabled. The reason having separate files is I couldn't find a way to
use ifdef or whatever in those files. I have to admit it looks
ugly. No way.

* support for PGCLIENTENCODING when issuing COPY command

commands/copy.c modified.

* support for SQL92 syntax "SET NAMES"

See gram.y.

* support for LATIN2-5
* add UNICODE regression test case
* new test suite for MB

New directory test/mb added.

* clean up source files

Basic idea is to have MB's own subdirectory for easier maintenance.
These are include/mb and backend/utils/mb.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.10 1998/04/06 00:22:13 momjian Exp $
d27 1
a27 1
ifdef MB
d39 1
a39 1
ifdef MB
@


1.10
log
@Hi,

Attached you'll find a (big) patch that fixes make dep and make
depend in all Makefiles where I found it to be appropriate.

It also removes the dependency in Makefile.global for NAMEDATALEN
and OIDNAMELEN by making backend/catalog/genbki.sh and bin/initdb/initdb.sh
a little smarter.

This no longer requires initdb.sh that is turned into initdb with
a sed script when installing Postgres, hence initdb.sh should be
renamed to initdb (after the patch has been applied :-) )

This patch is against the 6.3 sources, as it took a while to
complete.

Please review and apply,

Cheers,

Jeroen van Vianen
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.9 1998/02/25 13:05:55 scrappy Exp $
d27 6
d37 1
d39 10
d57 1
a57 1

@


1.9
log
@From: Jan Wieck <jwieck@@debis.com>

    seems  that  my last post didn't make it through. That's good
    since  the  diff  itself  didn't  covered  the  renaming   of
    pg_user.h to pg_shadow.h and it's new content.

    Here  it's  again.  The  complete regression test passwd with
    only some  float  diffs.  createuser  and  destroyuser  work.
    pg_shadow cannot be read by ordinary user.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.8 1998/01/05 18:42:39 momjian Exp $
d14 1
a14 3
INCLUDE_OPT = -I.. 

CFLAGS+=$(INCLUDE_OPT)
d48 1
a48 1
	$(CC) -MM $(INCLUDE_OPT) *.c >depend
@


1.8
log
@Move variable.c to commands/ and aclchk.c to catalog/.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.7 1997/12/20 00:23:26 scrappy Exp $
d30 1
a30 1
                  pg_database.h pg_variable.h pg_user.h \
@


1.7
log
@Major cleanout of PORTNAME variables from Makefiles...bound to screw up
some of the ports...
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.6 1997/12/17 04:58:25 scrappy Exp $
d18 1
a18 1
OBJS = catalog.o heap.o index.o indexing.o \
@


1.6
log
@First pass through, of many to come, towards making the whole source
tree "non-PORTNAME" dependent.  Technically, anything that is PORTNAME
dependent should be able to be derived at compile time, through configure
or through gcc
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.5 1997/11/15 20:57:02 momjian Exp $
a14 4

ifdef PORTNAME
INCLUDE_OPT+=-I../port/$(PORTNAME) 
endif
@


1.5
log
@Remove pg_magic, defaults, server, hosts, and demon tables.  unused.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.4 1997/11/13 03:22:18 momjian Exp $
d14 5
a18 3
INCLUDE_OPT = -I.. \
              -I../port/$(PORTNAME) \
              -I../../include
@


1.4
log
@Add pg_description table for info on tables, columns, operators, types, and aggregates.  Modify psql with new \dd operator to access description
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.3 1997/11/02 15:24:52 vadim Exp $
d32 1
a32 2
                  pg_database.h pg_demon.h pg_magic.h pg_defaults.h \
                  pg_variable.h pg_server.h pg_user.h pg_hosts.h \
@


1.3
log
@Good Bye, Time Travel!
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/catalog/Makefile,v 1.2 1996/11/03 23:26:58 scrappy Exp $
d23 2
a24 1
all: SUBSYS.o global1.bki.source local1_template1.bki.source
d43 1
a43 1
                 pg_rewrite.h pg_listener.h indexing.h \
d47 1
a47 1
	sh $(SHOPTS) $(GENBKI) $(BKIOPTS) $(GLOBALBKI_SRCS) > $@@
d50 1
a50 1
	sh $(SHOPTS) $(GENBKI) $(BKIOPTS) $(LOCALBKI_SRCS) > $@@
d56 2
a57 2
	rm -f SUBSYS.o $(OBJS) global1.bki.source local1_template1.bki.source

@


1.2
log
@first pass at cleaning up include files
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/postgres95/src/backend/catalog/Makefile,v 1.1 1996/10/27 09:47:07 bryanh Exp $
d33 1
a33 1
                  pg_group.h pg_log.h pg_time.h \
@


1.1
log
@Simplify make files, add full dependencies.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/postgres95/src/backend/access/common/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:09 scrappy Exp $
a15 1
              -I../include \
@
