#
#
# 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 $
#
#-------------------------------------------------------------------------
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/$@
-- 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';
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_';
#
#
# 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 $
#
#-------------------------------------------------------------------------
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/$@