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
b2f2e031
Commit
b2f2e031
authored
Apr 26, 1997
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More misc patches from Thomas for regression tests and linux templates
parent
ba1a5891
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
19 deletions
+28
-19
src/template/linux-elf
src/template/linux-elf
+4
-4
src/test/regress/expected/reltime.out
src/test/regress/expected/reltime.out
+12
-12
src/test/regress/regress.sh
src/test/regress/regress.sh
+11
-2
src/test/regress/sql/reltime.sql
src/test/regress/sql/reltime.sql
+1
-1
No files found.
src/template/linux-elf
View file @
b2f2e031
AROPT:crs
CFLAGS:
CFLAGS:
-O2
SHARED_LIB:-fpic
ALL:
SRCH_INC:
SRCH_INC:
/usr/include/ncurses /usr/include/readline
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.o
DLSUFFIX:.
s
o
YFLAGS:-d
YACC:
bison -y
YACC:bison -y
src/test/regress/expected/reltime.out
View file @
b2f2e031
...
...
@@ -6,19 +6,19 @@ QUERY: INSERT INTO RELTIME_TBL (f1) VALUES ('@ 34 year');
QUERY: INSERT INTO RELTIME_TBL (f1) VALUES ('@ 3 months');
QUERY: INSERT INTO RELTIME_TBL (f1) VALUES ('@ 14 seconds ago');
QUERY: INSERT INTO RELTIME_TBL (f1) VALUES ('badly formatted reltime');
WARN:Bad reltime external representation 'badly formatted reltime'
QUERY: INSERT INTO RELTIME_TBL (f1) VALUES ('@ 30 eons ago');
QUERY: SELECT '' AS eight, RELTIME_TBL.*;
eight|f1
-----+-----------------
WARN:Bad reltime external representation '@ 30 eons ago'
QUERY: SELECT '' AS six, RELTIME_TBL.*;
six|f1
---+----------------
|@ 1 minute
|@ 5 hours
|@ 10 days
|@ 34 years
|@ 3 months
|@ 14 seconds ago
|Undefined RelTime
|Undefined RelTime
(8 rows)
(6 rows)
QUERY: SELECT '' AS five, RELTIME_TBL.*
WHERE RELTIME_TBL.f1 <> '@ 10 days'::reltime;
...
...
src/test/regress/regress.sh
View file @
b2f2e031
#!/bin/sh
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.
6 1997/04/06 08:53:34
scrappy Exp $
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.
7 1997/04/26 05:49:39
scrappy Exp $
#
if
[
-d
./obj
]
;
then
cd
./obj
fi
TZ
=
"PST8PDT"
;
export
TZ
TZ
=
"PST8PDT
7,M04.01.00,M10.05.03
"
;
export
TZ
#FRONTEND=monitor
FRONTEND
=
"psql -n -e -q"
echo
===============
Notes...
=================
echo
"You must be already running the postmaster"
echo
" for the regression tests to succeed."
echo
"The time zone might need to be set to PST/PDT"
echo
" for the date and time data types to pass the"
echo
" regression tests; to do this type"
echo
" setenv TZ
$TZ
"
echo
" before starting the postmaster."
echo
===============
destroying old regression database...
=================
destroydb regression
...
...
src/test/regress/sql/reltime.sql
View file @
b2f2e031
...
...
@@ -20,7 +20,7 @@ INSERT INTO RELTIME_TBL (f1) VALUES ('@ 30 eons ago');
-- test reltime operators
SELECT
''
AS
eight
,
RELTIME_TBL
.
*
;
SELECT
''
AS
six
,
RELTIME_TBL
.
*
;
SELECT
''
AS
five
,
RELTIME_TBL
.
*
WHERE
RELTIME_TBL
.
f1
<>
'@ 10 days'
::
reltime
;
...
...
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