mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	One more to go
This commit is contained in:
		@@ -4,14 +4,15 @@
 | 
				
			|||||||
#    Makefile for access/rtree
 | 
					#    Makefile for access/rtree
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# IDENTIFICATION
 | 
					# IDENTIFICATION
 | 
				
			||||||
#    $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/Makefile,v 1.2 1996/10/31 08:52:50 scrappy Exp $
 | 
					#    $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/Makefile,v 1.3 1996/11/05 10:54:15 scrappy Exp $
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
#-------------------------------------------------------------------------
 | 
					#-------------------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SRCDIR = ../../..
 | 
					SRCDIR = ../../..
 | 
				
			||||||
include ../../../Makefile.global
 | 
					include ../../../Makefile.global
 | 
				
			||||||
 | 
					
 | 
				
			||||||
INCLUDE_OPT = -I../../port/$(PORTNAME) \
 | 
					INCLUDE_OPT = -I../.. \
 | 
				
			||||||
 | 
					              -I../../port/$(PORTNAME) \
 | 
				
			||||||
              -I../../../include
 | 
					              -I../../../include
 | 
				
			||||||
 | 
					
 | 
				
			||||||
CFLAGS+=$(INCLUDE_OPT)
 | 
					CFLAGS+=$(INCLUDE_OPT)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,29 +7,25 @@
 | 
				
			|||||||
 *
 | 
					 *
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * IDENTIFICATION
 | 
					 * IDENTIFICATION
 | 
				
			||||||
 *    $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtget.c,v 1.5 1996/11/03 22:58:03 scrappy Exp $
 | 
					 *    $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtget.c,v 1.6 1996/11/05 10:54:16 scrappy Exp $
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 *-------------------------------------------------------------------------
 | 
					 *-------------------------------------------------------------------------
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <postgres.h>
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					#include <storage/bufmgr.h>
 | 
				
			||||||
 | 
					#include <access/sdir.h>
 | 
				
			||||||
 | 
					#include <access/relscan.h>
 | 
				
			||||||
 | 
					#include <access/iqual.h>
 | 
				
			||||||
 | 
					#include <access/rtree.h>
 | 
				
			||||||
 | 
					#include <storage/bufpage.h>
 | 
				
			||||||
 | 
					#ifndef HAVE_MEMMOVE
 | 
				
			||||||
 | 
					# include <regex/utils.h>
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
# include <string.h>
 | 
					# include <string.h>
 | 
				
			||||||
#include <time.h>
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "postgres.h"
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
#include "storage/bufmgr.h"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#include "access/sdir.h"
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
#include "access/htup.h"
 | 
					 | 
				
			||||||
#include "utils/palloc.h"
 | 
					 | 
				
			||||||
#include "access/relscan.h"
 | 
					 | 
				
			||||||
#include "access/itup.h"
 | 
					 | 
				
			||||||
#include "access/iqual.h"
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
#include "access/rtree.h"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#include "storage/bufpage.h"
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
static OffsetNumber findnext(IndexScanDesc s, Page p, OffsetNumber n,
 | 
					static OffsetNumber findnext(IndexScanDesc s, Page p, OffsetNumber n,
 | 
				
			||||||
			     ScanDirection dir);
 | 
								     ScanDirection dir);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,17 +7,19 @@
 | 
				
			|||||||
 *
 | 
					 *
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * IDENTIFICATION
 | 
					 * IDENTIFICATION
 | 
				
			||||||
 *    $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtproc.c,v 1.3 1996/10/23 07:39:23 scrappy Exp $
 | 
					 *    $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtproc.c,v 1.4 1996/11/05 10:54:17 scrappy Exp $
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 *-------------------------------------------------------------------------
 | 
					 *-------------------------------------------------------------------------
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <postgres.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <utils/geo-decls.h>
 | 
				
			||||||
 | 
					#ifndef HAVE_MEMMOVE
 | 
				
			||||||
 | 
					# include <regex/utils.h>
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
# include <string.h>
 | 
					# include <string.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
#include "postgres.h"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#include "utils/geo-decls.h"
 | 
					 | 
				
			||||||
#include "utils/palloc.h"
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
BOX
 | 
					BOX
 | 
				
			||||||
*rt_box_union(BOX *a, BOX *b)
 | 
					*rt_box_union(BOX *a, BOX *b)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,34 +7,30 @@
 | 
				
			|||||||
 *
 | 
					 *
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * IDENTIFICATION
 | 
					 * IDENTIFICATION
 | 
				
			||||||
 *    $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtree.c,v 1.8 1996/11/03 22:58:06 scrappy Exp $
 | 
					 *    $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtree.c,v 1.9 1996/11/05 10:54:18 scrappy Exp $
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 *-------------------------------------------------------------------------
 | 
					 *-------------------------------------------------------------------------
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <stdio.h>
 | 
					#include <postgres.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "postgres.h"
 | 
					#include <access/genam.h>
 | 
				
			||||||
#include "access/genam.h"
 | 
					#include <catalog/index.h>
 | 
				
			||||||
 | 
					#include <access/rtscan.h>
 | 
				
			||||||
 | 
					#include <storage/lmgr.h>
 | 
				
			||||||
 | 
					#include <access/rtree.h>
 | 
				
			||||||
 | 
					#include <storage/bufmgr.h>
 | 
				
			||||||
 | 
					#include <utils/geo-decls.h>
 | 
				
			||||||
 | 
					#include <executor/executor.h>
 | 
				
			||||||
 | 
					#include <access/heapam.h>
 | 
				
			||||||
 | 
					#include <fmgr.h>
 | 
				
			||||||
 | 
					#include <storage/bufpage.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "utils/palloc.h"
 | 
					#ifndef HAVE_MEMMOVE
 | 
				
			||||||
#include "catalog/index.h"
 | 
					# include <regex/utils.h>
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
#include "access/rtscan.h"
 | 
					# include <string.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
#include "storage/lmgr.h"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#include "access/rtree.h"
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
#include "storage/bufmgr.h"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#include "utils/geo-decls.h"
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
#include "executor/executor.h"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#include "access/heapam.h"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#include "storage/bufpage.h"
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
typedef struct SPLITVEC {
 | 
					typedef struct SPLITVEC {
 | 
				
			||||||
    OffsetNumber	*spl_left;
 | 
					    OffsetNumber	*spl_left;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,26 +7,25 @@
 | 
				
			|||||||
 *
 | 
					 *
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * IDENTIFICATION
 | 
					 * IDENTIFICATION
 | 
				
			||||||
 *    $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtscan.c,v 1.7 1996/11/03 22:58:09 scrappy Exp $
 | 
					 *    $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtscan.c,v 1.8 1996/11/05 10:54:19 scrappy Exp $
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 *-------------------------------------------------------------------------
 | 
					 *-------------------------------------------------------------------------
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <postgres.h>
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					#include <storage/bufmgr.h>
 | 
				
			||||||
 | 
					#include <access/genam.h>
 | 
				
			||||||
 | 
					#include <storage/lmgr.h>
 | 
				
			||||||
 | 
					#include <storage/bufpage.h>
 | 
				
			||||||
 | 
					#include <access/rtree.h>
 | 
				
			||||||
 | 
					#include <access/rtstrat.h>
 | 
				
			||||||
 | 
					#ifndef HAVE_MEMMOVE
 | 
				
			||||||
 | 
					# include <regex/utils.h>
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
# include <string.h>
 | 
					# include <string.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "postgres.h"
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
#include "storage/bufmgr.h"
 | 
					 | 
				
			||||||
#include "access/genam.h"
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
#include "utils/palloc.h"
 | 
					 | 
				
			||||||
#include "access/htup.h"
 | 
					 | 
				
			||||||
#include "storage/lmgr.h"
 | 
					 | 
				
			||||||
#include "storage/bufpage.h"
 | 
					 | 
				
			||||||
#include <stdio.h>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#include "access/rtree.h"
 | 
					 | 
				
			||||||
#include "access/rtstrat.h"
 | 
					 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
/* routines defined and used here */
 | 
					/* routines defined and used here */
 | 
				
			||||||
static void rtregscan(IndexScanDesc s);
 | 
					static void rtregscan(IndexScanDesc s);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,20 +7,16 @@
 | 
				
			|||||||
 *
 | 
					 *
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * IDENTIFICATION
 | 
					 * IDENTIFICATION
 | 
				
			||||||
 *    $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtstrat.c,v 1.4 1996/11/03 22:58:10 scrappy Exp $
 | 
					 *    $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtstrat.c,v 1.5 1996/11/05 10:54:20 scrappy Exp $
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 *-------------------------------------------------------------------------
 | 
					 *-------------------------------------------------------------------------
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "postgres.h"
 | 
					#include <postgres.h>
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
#include "utils/rel.h"
 | 
					#include <utils/rel.h>
 | 
				
			||||||
 | 
					#include <access/rtree.h>
 | 
				
			||||||
#include "storage/off.h"
 | 
					#include <access/istrat.h>
 | 
				
			||||||
#include "storage/block.h"
 | 
					 | 
				
			||||||
#include "access/rtree.h"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#include "access/istrat.h"
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 *  Note:  negate, commute, and negatecommute all assume that operators are
 | 
					 *  Note:  negate, commute, and negatecommute all assume that operators are
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user