Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
3e1933bc
Commit
3e1933bc
authored
May 05, 1997
by
Vadim B. Mikheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
There is no more _CWD_ tag in sources...
parent
7cbfb19c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
34 additions
and
36 deletions
+34
-36
src/test/regress/input/Makefile
src/test/regress/input/Makefile
+2
-4
src/test/regress/input/copy.source
src/test/regress/input/copy.source
+22
-20
src/test/regress/input/create_function_1.source
src/test/regress/input/create_function_1.source
+2
-2
src/test/regress/input/create_function_2.source
src/test/regress/input/create_function_2.source
+6
-6
src/test/regress/output/Makefile
src/test/regress/output/Makefile
+2
-4
No files found.
src/test/regress/input/Makefile
View file @
3e1933bc
...
...
@@ -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/
$@
src/test/regress/input/copy.source
View file @
3e1933bc
...
...
@@ -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 '_
C
WD_/results/onek.data';
COPY onek FROM '_
OBJ
WD_/results/onek.data';
COPY tenk1 FROM '_
C
WD_/data/tenk.data';
COPY tenk1 FROM '_
OBJ
WD_/data/tenk.data';
COPY slow_emp4000 FROM '_
C
WD_/data/rect.data';
COPY slow_emp4000 FROM '_
OBJ
WD_/data/rect.data';
COPY person FROM '_
C
WD_/data/person.data';
COPY person FROM '_
OBJ
WD_/data/person.data';
COPY emp FROM '_
C
WD_/data/emp.data';
COPY emp FROM '_
OBJ
WD_/data/emp.data';
COPY student FROM '_
C
WD_/data/student.data';
COPY student FROM '_
OBJ
WD_/data/student.data';
COPY stud_emp FROM '_
C
WD_/data/stud_emp.data';
COPY stud_emp FROM '_
OBJ
WD_/data/stud_emp.data';
COPY road FROM '_
C
WD_/data/streets.data';
COPY road FROM '_
OBJ
WD_/data/streets.data';
COPY real_city FROM '_
C
WD_/data/real_city.data';
COPY real_city FROM '_
OBJ
WD_/data/real_city.data';
COPY hash_i4_heap FROM '_
C
WD_/data/hash.data';
COPY hash_i4_heap FROM '_
OBJ
WD_/data/hash.data';
COPY hash_c16_heap FROM '_
C
WD_/data/hash.data';
COPY hash_c16_heap FROM '_
OBJ
WD_/data/hash.data';
COPY hash_txt_heap FROM '_
C
WD_/data/hash.data';
COPY hash_txt_heap FROM '_
OBJ
WD_/data/hash.data';
COPY hash_f8_heap FROM '_
C
WD_/data/hash.data';
COPY hash_f8_heap FROM '_
OBJ
WD_/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 '_
C
WD_/data/hashovfl.data';
-- COPY hash_ovfl_heap FROM '_
OBJ
WD_/data/hashovfl.data';
COPY bt_i4_heap FROM '_
C
WD_/data/desc.data';
COPY bt_i4_heap FROM '_
OBJ
WD_/data/desc.data';
COPY bt_c16_heap FROM '_
C
WD_/data/hash.data';
COPY bt_c16_heap FROM '_
OBJ
WD_/data/hash.data';
COPY bt_txt_heap FROM '_
C
WD_/data/desc.data';
COPY bt_txt_heap FROM '_
OBJ
WD_/data/desc.data';
COPY bt_f8_heap FROM '_
C
WD_/data/hash.data';
COPY bt_f8_heap FROM '_
OBJ
WD_/data/hash.data';
src/test/regress/input/create_function_1.source
View file @
3e1933bc
...
...
@@ -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';
src/test/regress/input/create_function_2.source
View file @
3e1933bc
...
...
@@ -29,31 +29,31 @@ CREATE FUNCTION user_relns()
CREATE FUNCTION pt_in_widget(point, widget)
RETURNS int4
AS '_
C
WD_/regress_DLSUFFIX_'
AS '_
OBJ
WD_/regress_DLSUFFIX_'
LANGUAGE 'c';
CREATE FUNCTION overpaid(emp)
RETURNS bool
AS '_
C
WD_/regress_DLSUFFIX_'
AS '_
OBJ
WD_/regress_DLSUFFIX_'
LANGUAGE 'c';
CREATE FUNCTION boxarea(box)
RETURNS int4
AS '_
C
WD_/regress_DLSUFFIX_'
AS '_
OBJ
WD_/regress_DLSUFFIX_'
LANGUAGE 'c';
CREATE FUNCTION interpt_pp(path, path)
RETURNS point
AS '_
C
WD_/regress_DLSUFFIX_'
AS '_
OBJ
WD_/regress_DLSUFFIX_'
LANGUAGE 'c';
CREATE FUNCTION reverse_c16(char16)
RETURNS char16
AS '_
C
WD_/regress_DLSUFFIX_'
AS '_
OBJ
WD_/regress_DLSUFFIX_'
LANGUAGE 'c';
--
-- FUNCTION DYNAMIC LOADING
--
LOAD '_
C
WD_/regress_DLSUFFIX_';
LOAD '_
OBJ
WD_/regress_DLSUFFIX_';
src/test/regress/output/Makefile
View file @
3e1933bc
...
...
@@ -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/
$@
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment