head	1.26;
access;
symbols
	REL9_0_0:1.26
	REL9_1_ALPHA1:1.26
	REL9_0_RC1:1.26
	REL9_0_BETA4:1.26
	REL9_0_STABLE:1.26.0.12
	REL9_0_BETA3:1.26
	REL9_0_BETA2:1.26
	REL7_4_29:1.19
	REL8_0_25:1.20
	REL8_1_21:1.20
	REL8_2_17:1.22
	REL8_3_11:1.23
	REL8_4_4:1.25
	REL9_0_BETA1:1.26
	REL9_0_ALPHA5_BRANCH:1.26.0.10
	REL9_0_ALPHA5:1.26
	REL7_4_28:1.19
	REL8_0_24:1.20
	REL8_1_20:1.20
	REL8_2_16:1.22
	REL8_3_10:1.23
	REL8_4_3:1.25
	REL9_0_ALPHA4:1.26
	REL9_0_ALPHA4_BRANCH:1.26.0.8
	REL8_5_ALPHA3:1.26
	REL8_5_ALPHA3_BRANCH:1.26.0.6
	REL7_4_27:1.19
	REL8_0_23:1.20
	REL8_1_19:1.20
	REL8_2_15:1.22
	REL8_3_9:1.23
	REL8_4_2:1.25
	REL8_5_ALPHA2:1.26
	REL8_5_ALPHA2_BRANCH:1.26.0.4
	REL7_4_26:1.19
	REL8_0_22:1.20
	REL8_1_18:1.20
	REL8_2_14:1.22
	REL8_3_8:1.23
	REL8_4_1:1.25
	REL8_5_ALPHA1:1.26
	REL8_5_ALPHA1_BRANCH:1.26.0.2
	REL8_4_STABLE:1.25.0.2
	REL8_4_0:1.25
	REL8_4_RC2:1.25
	REL8_4_RC1:1.25
	REL8_4_BETA2:1.25
	REL8_4_BETA1:1.25
	REL7_4_25:1.19
	REL8_0_21:1.20
	REL8_1_17:1.20
	REL8_2_13:1.22
	REL8_3_7:1.23
	REL7_4_24:1.19
	REL8_0_20:1.20
	REL8_1_16:1.20
	REL8_2_12:1.22
	REL8_3_6:1.23
	REL7_4_23:1.19
	REL8_0_19:1.20
	REL8_1_15:1.20
	REL8_2_11:1.22
	REL8_3_5:1.23
	REL7_4_22:1.19
	REL8_0_18:1.20
	REL8_1_14:1.20
	REL8_2_10:1.22
	REL8_3_4:1.23
	REL7_4_21:1.19
	REL8_0_17:1.20
	REL8_1_13:1.20
	REL8_2_9:1.22
	REL8_3_3:1.23
	REL7_4_20:1.19
	REL8_0_16:1.20
	REL8_1_12:1.20
	REL8_2_8:1.22
	REL8_3_2:1.23
	REL8_2_7:1.22
	REL8_3_1:1.23
	REL8_3_STABLE:1.23.0.2
	REL8_3_0:1.23
	REL8_3_RC2:1.23
	REL7_3_21:1.19
	REL7_4_19:1.19
	REL8_0_15:1.20
	REL8_1_11:1.20
	REL8_2_6:1.22
	REL8_3_RC1:1.23
	REL8_3_BETA4:1.23
	REL8_3_BETA3:1.23
	REL8_3_BETA2:1.23
	REL8_3_BETA1:1.23
	REL7_3_20:1.19
	REL7_4_18:1.19
	REL8_0_14:1.20
	REL8_1_10:1.20
	REL8_2_5:1.22
	REL7_3_19:1.19
	REL7_4_17:1.19
	REL8_0_13:1.20
	REL8_1_9:1.20
	REL8_2_4:1.22
	REL8_0_12:1.20
	REL8_1_8:1.20
	REL8_2_3:1.22
	REL7_3_18:1.19
	REL7_4_16:1.19
	REL8_0_11:1.20
	REL8_1_7:1.20
	REL8_2_2:1.22
	REL8_0_10:1.20
	REL8_1_6:1.20
	REL8_2_1:1.22
	REL7_4_15:1.19
	REL7_3_17:1.19
	REL8_2_STABLE:1.22.0.2
	REL8_2_0:1.22
	REL8_2_RC1:1.22
	REL8_2_BETA3:1.22
	REL8_2_BETA2:1.22
	REL8_1_5:1.20
	REL8_0_9:1.20
	REL7_4_14:1.19
	REL7_3_16:1.19
	REL8_2_BETA1:1.22
	REL7_3_15:1.19
	REL7_4_13:1.19
	REL8_0_8:1.20
	REL8_1_4:1.20
	REL7_3_14:1.19
	REL7_4_12:1.19
	REL8_0_7:1.20
	REL8_1_3:1.20
	REL7_3_13:1.19
	REL7_4_11:1.19
	REL8_0_6:1.20
	REL8_1_2:1.20
	REL7_3_12:1.19
	REL7_4_10:1.19
	REL8_0_5:1.20
	REL8_1_1:1.20
	REL8_1_STABLE:1.20.0.6
	REL8_1_0:1.20
	REL8_1_0RC1:1.20
	REL8_1_0BETA4:1.20
	REL8_1_0BETA3:1.20
	REL7_3_11:1.19
	REL7_4_9:1.19
	REL8_0_4:1.20
	REL8_1_0BETA2:1.20
	REL8_1_0BETA1:1.20
	REL7_2_8:1.19
	REL7_3_10:1.19
	REL7_4_8:1.19
	REL8_0_3:1.20
	REL8_0_2:1.20
	REL7_2_7:1.19
	REL7_3_9:1.19
	REL7_4_7:1.19
	REL8_0_1:1.20
	REL8_0_STABLE:1.20.0.4
	REL8_0_0:1.20.0.2
	REL8_0_0RC5:1.20
	REL8_0_0RC4:1.20
	REL8_0_0RC3:1.20
	REL8_0_0RC2:1.20
	REL8_0_0RC1:1.20
	REL8_0_0BETA5:1.20
	REL8_0_0BETA4:1.20
	REL7_4_6:1.19
	REL7_3_8:1.19
	REL7_2_6:1.19
	REL8_0_0BETA3:1.20
	REL8_0_0BETA2:1.20
	REL7_2_5:1.19
	REL7_4_5:1.19
	REL7_3_7:1.19
	REL7_4_4:1.19
	REL8_0_0BETA1:1.20
	REL7_4_3:1.19
	REL7_4_2:1.19
	REL7_3_6:1.19
	REL7_4_1:1.19
	REL7_3_5:1.19
	REL7_4:1.19
	REL7_4_RC2:1.19
	REL7_4_STABLE:1.19.0.10
	REL7_4_RC1:1.19
	REL7_4_BETA5:1.19
	REL7_4_BETA4:1.19
	REL7_4_BETA3:1.19
	REL7_4_BETA2:1.19
	WIN32_DEV:1.19.0.8
	REL7_4_BETA1:1.19
	REL7_3_4:1.19
	REL7_3_2:1.19
	REL7_2_4:1.19
	REL7_3_STABLE:1.19.0.6
	REL7_2_3:1.19
	REL7_2_STABLE:1.19.0.4
	REL7_2:1.19
	REL7_2_RC2:1.19
	REL7_2_RC1:1.19
	REL7_2_BETA5:1.19
	REL7_2_BETA4:1.19
	REL7_2_BETA3:1.19
	REL7_2_BETA2:1.19
	REL7_2_BETA1:1.19
	REL7_1_2:1.19
	REL7_1_STABLE:1.19.0.2
	REL7_1_BETA:1.19
	REL7_1_BETA3:1.19
	REL7_1_BETA2:1.19
	REL7_1:1.19
	REL7_0_PATCHES:1.16.0.2
	REL7_0:1.16
	REL6_5_PATCHES:1.13.0.2
	REL6_5:1.13
	REL6_4:1.12.0.2
	release-6-3:1.9
	REL2_0B:1.6.0.2
	REL2_0:1.6;
locks; strict;
comment	@# @;


1.26
date	2009.08.06.20.44.31;	author tgl;	state Exp;
branches;
next	1.25;

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

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

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

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

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

1.20
date	2003.11.29.19.51.39;	author pgsql;	state Exp;
branches;
next	1.19;

1.19
date	2000.08.31.16.09.30;	author petere;	state Exp;
branches;
next	1.18;

1.18
date	2000.05.29.05.44.33;	author tgl;	state Exp;
branches;
next	1.17;

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

1.16
date	2000.01.19.02.58.50;	author petere;	state Exp;
branches;
next	1.15;

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

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

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

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

1.11
date	98.06.16.07.29.18;	author momjian;	state Exp;
branches;
next	1.10;

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

1.9
date	98.01.15.19.41.42;	author pgsql;	state Exp;
branches;
next	1.8;

1.8
date	97.12.20.00.22.11;	author scrappy;	state Exp;
branches;
next	1.7;

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

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

1.5
date	96.11.03.09.06.42;	author scrappy;	state Exp;
branches;
next	1.4;

1.4
date	96.11.01.09.41.33;	author scrappy;	state Exp;
branches;
next	1.3;

1.3
date	96.10.31.07.22.07;	author scrappy;	state Exp;
branches;
next	1.2;

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

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


desc
@@


1.26
log
@Improve plpgsql's ability to cope with rowtypes containing dropped columns,
by supporting conversions in places that used to demand exact rowtype match.

Since this issue is certain to come up elsewhere (in fact, already has,
in ExecEvalConvertRowtype), factor out the support code into new core
functions for tuple conversion.  I chose to put these in a new source
file since heaptuple.c is already overly long.

Heavily revised version of a patch by Pavel Stehule.
@
text
@#-------------------------------------------------------------------------
#
# Makefile--
#    Makefile for access/common
#
# IDENTIFICATION
#    $PostgreSQL: pgsql/src/backend/access/common/Makefile,v 1.25 2008/02/19 11:49:12 petere Exp $
#
#-------------------------------------------------------------------------

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

OBJS = heaptuple.o indextuple.o printtup.o reloptions.o scankey.o \
	tupconvert.o tupdesc.o

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


1.25
log
@Remove another target I forgot during the refactoring
@
text
@d7 1
a7 1
#    $PostgreSQL: pgsql/src/backend/access/common/Makefile,v 1.24 2008/02/19 10:30:06 petere Exp $
d15 2
a16 1
OBJS = heaptuple.o indextuple.o printtup.o reloptions.o scankey.o tupdesc.o  
@


1.24
log
@Refactor backend makefiles to remove lots of duplicate code
@
text
@d7 1
a7 1
#    $PostgreSQL: pgsql/src/backend/access/common/Makefile,v 1.23 2007/01/20 17:16:10 petere Exp $
a16 2
all: SUBSYS.o

@


1.23
log
@Remove remains of old depend target.
@
text
@d7 1
a7 1
#    $PostgreSQL: pgsql/src/backend/access/common/Makefile,v 1.22 2006/07/03 22:45:36 tgl Exp $
d19 1
a19 5
SUBSYS.o: $(OBJS)
	$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)

clean: 
	rm -f SUBSYS.o $(OBJS)
@


1.22
log
@Code review for FILLFACTOR patch.  Change WITH grammar as per earlier
discussion (including making def_arg allow reserved words), add missed
opt_definition for UNIQUE case.  Put the reloptions support code in a less
random place (I chose to make a new file access/common/reloptions.c).
Eliminate header inclusion creep.  Make the index options functions safely
user-callable (seems like client apps might like to be able to test validity
of options before trying to make an index).  Reduce overhead for normal case
with no options by allowing rd_options to be NULL.  Fix some unmaintainably
klugy code, including getting rid of Natts_pg_class_fixed at long last.
Some stylistic cleanup too, and pay attention to keeping comments in sync
with code.

Documentation still needs work, though I did fix the omissions in
catalogs.sgml and indexam.sgml.
@
text
@d7 1
a7 1
#    $PostgreSQL: pgsql/src/backend/access/common/Makefile,v 1.21 2006/01/14 22:03:35 tgl Exp $
a21 3
dep depend:
	$(CC) -MM $(CFLAGS) *.c >depend

a23 4

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


1.21
log
@Some minor code cleanup, falling out from the removal of rtree.  SK_NEGATE
isn't being used anywhere anymore, and there seems no point in a generic
index_keytest() routine when two out of three remaining access methods
aren't using it.  Also, add a comment documenting a convention for
letting access methods define private flag bits in ScanKey sk_flags.
There are no such flags at the moment but I'm thinking about changing
btree's handling of "required keys" to use flag bits in the keys
rather than a count of required key positions.  Also, if some AM did
still want SK_NEGATE then it would be reasonable to treat it as a private
flag bit.
@
text
@d7 1
a7 1
#    $PostgreSQL: pgsql/src/backend/access/common/Makefile,v 1.20 2003/11/29 19:51:39 pgsql Exp $
d15 1
a15 1
OBJS = heaptuple.o indextuple.o printtup.o scankey.o tupdesc.o  
@


1.20
log
@
$Header: -> $PostgreSQL Changes ...
@
text
@d7 1
a7 1
#    $PostgreSQL: /cvsroot/pgsql-server/src/backend/access/common/Makefile,v 1.19 2000/08/31 16:09:30 petere Exp $
d15 1
a15 2
OBJS = heaptuple.o indextuple.o indexvalid.o printtup.o \
       scankey.o tupdesc.o  
@


1.19
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
@d7 1
a7 1
#    $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/access/common/Makefile,v 1.18 2000/05/29 05:44:33 tgl Exp $
@


1.18
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/access/common/Makefile,v 1.17 2000/05/28 17:55:52 tgl Exp $
d11 3
a13 2
SRCDIR = ../../..
include ../../../Makefile.global
@


1.17
log
@First round of changes for new fmgr interface.  fmgr itself and the
key call sites are changed, but most called functions are still oldstyle.
An exception is that the PL managers are updated (so, for example, NULL
handling now behaves as expected in plperl and plpgsql functions).
NOTE initdb is forced due to added column in pg_proc.
@
text
@d7 1
a7 1
#    $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/access/common/Makefile,v 1.16 2000/01/19 02:58:50 petere Exp $
a12 2

CFLAGS+=-I../..
@


1.16
log
@Removed MBFLAGS from makefiles since it's now done in include/config.h.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/access/common/Makefile,v 1.15 1999/12/13 22:32:20 momjian Exp $
d24 1
a24 6
heaptuple.o heapvalid.o tupdesc.o: ../../fmgr.h

../../fmgr.h:
	$(MAKE) -C ../.. fmgr.h

dep depend: ../../fmgr.h
@


1.15
log
@New LDOUT makefile variable for QNX os.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/access/common/Makefile,v 1.14 1999/12/09 19:14:25 momjian Exp $
a14 4

ifdef MULTIBYTE
CFLAGS+= $(MBFLAGS)
endif
@


1.14
log
@Make LD -r as macros that can be changed for QNX.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/access/common/Makefile,v 1.13 1999/05/26 12:55:05 momjian Exp $
d26 1
a26 1
	$(LD) $(LDREL) -o SUBSYS.o $(OBJS)
@


1.13
log
@Make functions static or NOT_USED as appropriate.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/access/common/Makefile,v 1.12 1998/07/26 04:30:16 scrappy Exp $
d26 1
a26 1
	$(LD) -r -o SUBSYS.o $(OBJS)
@


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/access/common/Makefile,v 1.11 1998/06/16 07:29:18 momjian Exp $
d20 1
a20 1
OBJS = heaptuple.o heapvalid.o indextuple.o indexvalid.o printtup.o \
@


1.11
log
@Hi, here are the patches to enhance existing MB handling. This time
I have implemented a framework of encoding translation between the
backend and the frontend. Also I have added a new variable setting
command:

SET CLIENT_ENCODING TO 'encoding';

Other features include:
	Latin1 support more 8 bit cleaness

See doc/README.mb for more details. Note that the pacthes are
against May 30 snapshot.

Tatsuo Ishii
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/access/common/Makefile,v 1.10 1998/04/06 00:20:44 momjian Exp $
d16 2
a17 2
ifdef MB
CFLAGS+= -DMB=$(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/access/common/Makefile,v 1.9 1998/01/15 19:41:42 pgsql Exp $
d15 4
@


1.9
log
@Thank god for searchable mail archives.

Patch by: wieck@@sapserv.debis.de (Jan Wieck)

   One  of  the design rules of PostgreSQL is extensibility. And
   to follow this rule means (at least for me) that there should
   not  only  be a builtin PL.  Instead I would prefer a defined
   interface for PL implemetations.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/access/common/Makefile,v 1.8 1997/12/20 00:22:11 scrappy Exp $
d14 1
a14 3
INCLUDE_OPT = -I../.. 

CFLAGS+=$(INCLUDE_OPT) 
d29 2
a30 2
dep: ../../fmgr.h
	$(CC) -MM $(INCLUDE_OPT) *.c >depend
a37 1

@


1.8
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/access/common/Makefile,v 1.7 1997/12/17 04:30:45 scrappy Exp $
d26 1
a26 1
heapvalid.o tupdesc.o: ../../fmgr.h
@


1.7
log
@Clean up the Makefiles

	Essentially, this cleans things up so that if PORTNAME isn't defined (I'm
    working on getting rid of it for FreeBSD, at least, to see if its possible)
    none of the PORTNAME related stuff gets passed around.

	Had a little bit of -I related redundancy as well
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/access/common/Makefile,v 1.6 1996/11/05 07:42:39 scrappy Exp $
a14 4

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


1.6
log
@Re-add -I../.. for fmgr.h

Change #include "" to #include <>

Remove a few unused #includes

Make sure it compiles with -Wall -Werror
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/postgres95/src/backend/access/common/Makefile,v 1.5 1996/11/03 09:06:42 scrappy Exp $
d14 5
a18 3
INCLUDE_OPT = -I../.. \
              -I../../port/$(PORTNAME) \
              -I../../../include
@


1.5
log
@Finish cleaning up -I lines
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/postgres95/src/backend/access/common/Makefile,v 1.4 1996/11/01 09:41:33 scrappy Exp $
d14 2
a15 1
INCLUDE_OPT = -I../../port/$(PORTNAME) \
@


1.4
log
@More intelligent #include cleanups, as pointed out by Bryan...

Compiled with -Wall -Werror
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/postgres95/src/backend/access/common/Makefile,v 1.3 1996/10/31 07:22:07 scrappy Exp $
d17 1
a17 1
CFLAGS+=$(INCLUDE_OPT) -Wall -Werror
@


1.3
log
@Well, normally there wouldn't be anything in -I../.., and in a minute, there
won't be...
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/postgres95/src/backend/access/common/Makefile,v 1.2 1996/10/31 07:04:50 scrappy Exp $
d17 1
a17 1
CFLAGS+=$(INCLUDE_OPT)
@


1.2
log
@There is no -I../.. include files...
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/postgres95/src/backend/access/common/Makefile,v 1.1 1996/10/27 09:45:49 bryanh Exp $
a14 1
              -I../../include \
@


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 $
d14 1
a14 2
INCLUDE_OPT = -I../.. \
              -I../../port/$(PORTNAME) \
@
