mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-24 18:55:04 +08:00
There is no more _CWD_ tag in sources...
This commit is contained in:
parent
7cbfb19c46
commit
3e1933bc05
@ -7,7 +7,7 @@
|
||||
#
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $Header: /cvsroot/pgsql/src/test/regress/input/Attic/Makefile,v 1.4 1997/04/27 02:58:15 scrappy Exp $
|
||||
# $Header: /cvsroot/pgsql/src/test/regress/input/Attic/Makefile,v 1.5 1997/05/05 06:53:31 vadim Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
@ -30,9 +30,7 @@ all: $(INFILES)
|
||||
if [ -z "$$USER" ]; then USER=`whoami`; fi; \
|
||||
if [ -z "$$USER" ]; then echo 'Cannot deduce $$USER.'; exit 1; fi; \
|
||||
rm -f $@; \
|
||||
PWD=`pwd`; \
|
||||
OBJ=`pwd`; \
|
||||
sed -e "s:_CWD_:$(PWD):g" \
|
||||
-e "s:_OBJWD_:$$OBJ/\.\.:g" \
|
||||
sed -e "s:_OBJWD_:$$OBJ/\.\.:g" \
|
||||
-e "s:_DLSUFFIX_:$(DLSUFFIX):g" \
|
||||
-e "s/_USER_/$$USER/g" < $< > ../sql/$@
|
||||
|
@ -6,49 +6,51 @@
|
||||
-- CLASS POPULATION
|
||||
-- (any resemblance to real life is purely coincidental)
|
||||
--
|
||||
COPY onek FROM '_CWD_/data/onek.data';
|
||||
COPY aggtest FROM '_OBJWD_/data/agg.data';
|
||||
|
||||
COPY onek TO '_CWD_/results/onek.data';
|
||||
COPY onek FROM '_OBJWD_/data/onek.data';
|
||||
|
||||
COPY onek TO '_OBJWD_/results/onek.data';
|
||||
|
||||
DELETE FROM onek;
|
||||
|
||||
COPY onek FROM '_CWD_/results/onek.data';
|
||||
COPY onek FROM '_OBJWD_/results/onek.data';
|
||||
|
||||
COPY tenk1 FROM '_CWD_/data/tenk.data';
|
||||
COPY tenk1 FROM '_OBJWD_/data/tenk.data';
|
||||
|
||||
COPY slow_emp4000 FROM '_CWD_/data/rect.data';
|
||||
COPY slow_emp4000 FROM '_OBJWD_/data/rect.data';
|
||||
|
||||
COPY person FROM '_CWD_/data/person.data';
|
||||
COPY person FROM '_OBJWD_/data/person.data';
|
||||
|
||||
COPY emp FROM '_CWD_/data/emp.data';
|
||||
COPY emp FROM '_OBJWD_/data/emp.data';
|
||||
|
||||
COPY student FROM '_CWD_/data/student.data';
|
||||
COPY student FROM '_OBJWD_/data/student.data';
|
||||
|
||||
COPY stud_emp FROM '_CWD_/data/stud_emp.data';
|
||||
COPY stud_emp FROM '_OBJWD_/data/stud_emp.data';
|
||||
|
||||
COPY road FROM '_CWD_/data/streets.data';
|
||||
COPY road FROM '_OBJWD_/data/streets.data';
|
||||
|
||||
COPY real_city FROM '_CWD_/data/real_city.data';
|
||||
COPY real_city FROM '_OBJWD_/data/real_city.data';
|
||||
|
||||
COPY hash_i4_heap FROM '_CWD_/data/hash.data';
|
||||
COPY hash_i4_heap FROM '_OBJWD_/data/hash.data';
|
||||
|
||||
COPY hash_c16_heap FROM '_CWD_/data/hash.data';
|
||||
COPY hash_c16_heap FROM '_OBJWD_/data/hash.data';
|
||||
|
||||
COPY hash_txt_heap FROM '_CWD_/data/hash.data';
|
||||
COPY hash_txt_heap FROM '_OBJWD_/data/hash.data';
|
||||
|
||||
COPY hash_f8_heap FROM '_CWD_/data/hash.data';
|
||||
COPY hash_f8_heap FROM '_OBJWD_/data/hash.data';
|
||||
|
||||
-- the data in this file has a lot of duplicates in the index key
|
||||
-- fields, leading to long bucket chains and lots of table expansion.
|
||||
-- this is therefore a stress test of the bucket overflow code (unlike
|
||||
-- the data in hash.data, which has unique index keys).
|
||||
--
|
||||
-- COPY hash_ovfl_heap FROM '_CWD_/data/hashovfl.data';
|
||||
-- COPY hash_ovfl_heap FROM '_OBJWD_/data/hashovfl.data';
|
||||
|
||||
COPY bt_i4_heap FROM '_CWD_/data/desc.data';
|
||||
COPY bt_i4_heap FROM '_OBJWD_/data/desc.data';
|
||||
|
||||
COPY bt_c16_heap FROM '_CWD_/data/hash.data';
|
||||
COPY bt_c16_heap FROM '_OBJWD_/data/hash.data';
|
||||
|
||||
COPY bt_txt_heap FROM '_CWD_/data/desc.data';
|
||||
COPY bt_txt_heap FROM '_OBJWD_/data/desc.data';
|
||||
|
||||
COPY bt_f8_heap FROM '_CWD_/data/hash.data';
|
||||
COPY bt_f8_heap FROM '_OBJWD_/data/hash.data';
|
||||
|
@ -5,11 +5,11 @@
|
||||
|
||||
CREATE FUNCTION widget_in(opaque)
|
||||
RETURNS widget
|
||||
AS '_CWD_/../regress_DLSUFFIX_'
|
||||
AS '_OBJWD_/regress_DLSUFFIX_'
|
||||
LANGUAGE 'c';
|
||||
|
||||
CREATE FUNCTION widget_out(opaque)
|
||||
RETURNS opaque
|
||||
AS '_CWD_/../regress_DLSUFFIX_'
|
||||
AS '_OBJWD_/regress_DLSUFFIX_'
|
||||
LANGUAGE 'c';
|
||||
|
||||
|
@ -29,31 +29,31 @@ CREATE FUNCTION user_relns()
|
||||
|
||||
CREATE FUNCTION pt_in_widget(point, widget)
|
||||
RETURNS int4
|
||||
AS '_CWD_/regress_DLSUFFIX_'
|
||||
AS '_OBJWD_/regress_DLSUFFIX_'
|
||||
LANGUAGE 'c';
|
||||
|
||||
CREATE FUNCTION overpaid(emp)
|
||||
RETURNS bool
|
||||
AS '_CWD_/regress_DLSUFFIX_'
|
||||
AS '_OBJWD_/regress_DLSUFFIX_'
|
||||
LANGUAGE 'c';
|
||||
|
||||
CREATE FUNCTION boxarea(box)
|
||||
RETURNS int4
|
||||
AS '_CWD_/regress_DLSUFFIX_'
|
||||
AS '_OBJWD_/regress_DLSUFFIX_'
|
||||
LANGUAGE 'c';
|
||||
|
||||
CREATE FUNCTION interpt_pp(path, path)
|
||||
RETURNS point
|
||||
AS '_CWD_/regress_DLSUFFIX_'
|
||||
AS '_OBJWD_/regress_DLSUFFIX_'
|
||||
LANGUAGE 'c';
|
||||
|
||||
CREATE FUNCTION reverse_c16(char16)
|
||||
RETURNS char16
|
||||
AS '_CWD_/regress_DLSUFFIX_'
|
||||
AS '_OBJWD_/regress_DLSUFFIX_'
|
||||
LANGUAGE 'c';
|
||||
|
||||
--
|
||||
-- FUNCTION DYNAMIC LOADING
|
||||
--
|
||||
LOAD '_CWD_/regress_DLSUFFIX_';
|
||||
LOAD '_OBJWD_/regress_DLSUFFIX_';
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
#
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $Header: /cvsroot/pgsql/src/test/regress/output/Attic/Makefile,v 1.6 1997/05/02 13:43:14 thomas Exp $
|
||||
# $Header: /cvsroot/pgsql/src/test/regress/output/Attic/Makefile,v 1.7 1997/05/05 06:52:58 vadim Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
@ -30,10 +30,8 @@ all: $(INFILES)
|
||||
if [ -z "$$USER" ]; then USER=`whoami`; fi; \
|
||||
if [ -z "$$USER" ]; then echo 'Cannot deduce $$USER.'; exit 1; fi; \
|
||||
rm -f $@; \
|
||||
PWD=`pwd`; \
|
||||
OBJ=`pwd`; \
|
||||
sed -e "s:_CWD_:$$PWD:g" \
|
||||
-e "s:_OBJWD_:$$OBJ/\.\.:g" \
|
||||
sed -e "s:_OBJWD_:$$OBJ/\.\.:g" \
|
||||
-e "s:_DLSUFFIX_:$(DLSUFFIX):g" \
|
||||
-e "s/_USER_/$$USER/g" < $< | \
|
||||
sed -e "s:output/\.\.:input/\.\.:g" > ../expected/$@
|
||||
|
Loading…
Reference in New Issue
Block a user