Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
8ce8d655
Commit
8ce8d655
authored
27 years ago
by
Thomas G. Lockhart
Browse files
Options
Downloads
Patches
Plain Diff
Update to current information for upcoming v6.1 production release.
parent
cc25efef
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/test/regress/README
+27
-48
27 additions, 48 deletions
src/test/regress/README
src/test/regress/regress.sh
+5
-7
5 additions, 7 deletions
src/test/regress/regress.sh
with
32 additions
and
55 deletions
src/test/regress/README
+
27
−
48
View file @
8ce8d655
...
@@ -84,16 +84,15 @@ OID differences
...
@@ -84,16 +84,15 @@ OID differences
The 'a,523676' row is composed from an OID.
The 'a,523676' row is composed from an OID.
TIME differences
DATE/
TIME differences
Some of the tests involving date/time functions use the implicit
On many supported platforms, you can force PostgreSQL to believe that it
time zone in effect at the time the regression test is run. In other
is running in the same time zone as Berkeley, California. See details in
tests the timezone to be inserted into the regression data base is
the section on how to run the regression tests.
explicitly specified.
The 'expected.input' file was prepared in the 'US/Pacific' timezone
If you do not explicitly set your time zone environment to PST/PDT, then
so there may be differences where the 'expected.out' file has
most of the date and time results will reflect your local time zone and
PST/PDT times and
the
'
regress
.out' file has your local timezone
.
will fail
the regress
ion testing
.
FLOATING POINT differences
FLOATING POINT differences
...
@@ -125,26 +124,14 @@ POLYGON differences
...
@@ -125,26 +124,14 @@ POLYGON differences
QUERY: SELECT * from street;
QUERY: SELECT * from street;
QUERY: SELECT * from iexit;
QUERY: SELECT * from iexit;
DATE/TIME differences
On many supported platforms, you can force PostgreSQL to believe that it
is running in the same time zone as Berkeley, California. See details in
the section on how to run the regression tests.
The Makefile attempts to adjust for timezone differences, but it is
not possible to totally eliminate them. People outside North America
will probabablly find the Makefile's adjustments are incorrect. Also
entries that use the time -infinity display with year 1970 plus/minus the
number of hours you are different from GMT.
Random differences
Random differences
There is at least one test case in
misc
.out which is intended to produce
There is at least one test case in
random
.out which is intended to produce
random results. This causes
misc
to fail the regression testing.
random results. This causes
random
to fail the regression testing.
Typing "diff results/
misc
.out expected/
misc
.out" should produce only
Typing "diff results/
random
.out expected/
random
.out" should produce only
one or a few lines of differences for this reason, but other floating
one or a few lines of differences for this reason, but other floating
point differences on dissimilar architectures might cause many more
point differences on dissimilar architectures might cause many more
differences.
differences.
See the release notes below.
The 'expected' files
The 'expected' files
...
@@ -165,11 +152,7 @@ The 'expected' files
...
@@ -165,11 +152,7 @@ The 'expected' files
have been created on a DEC ALPHA machine as the 'Makefile.global'
have been created on a DEC ALPHA machine as the 'Makefile.global'
in the postgres-1.01 release has PORTNAME=alpha.
in the postgres-1.01 release has PORTNAME=alpha.
Current release notes
Current release notes (Thomas.Lockhart@jpl.nasa.gov)
There are no release notes for PostgreSQL v6.0.
v6.1beta release notes
The regression tests have been adapted and extensively modified for the
The regression tests have been adapted and extensively modified for the
v6.1 release of PostgreSQL.
v6.1 release of PostgreSQL.
...
@@ -182,29 +165,25 @@ v6.1beta release notes
...
@@ -182,29 +165,25 @@ v6.1beta release notes
misc.out has only been spot-checked for correctness relative to the
misc.out has only been spot-checked for correctness relative to the
original regression output.
original regression output.
To get consistant results from the regression tests, compile the PostgreSQL
PostgreSQL v6.1 introduces a new, alternate optimizer which uses "genetic"
backend with the genetic optimizer (GEQ) turned off. The genetic algorithms
algorithms. These algorithms introduce a random behavior in the ordering
introduce a random behavior in the output ordering which causes the
of query results when the query contains multiple qualifiers or multiple
simple "diff" implementation of the tests to fail. To turn off the genetic
tables (giving the optimizer a choice on order of evaluation). Several
optimizer, edit the src/include/config.h file and comment-out the line
regression tests have been modified to explicitly order the results, and
containing "#define GEQ", then do a "make clean install" to regenerate
hence are insensitive to optimizer choices. A few regression tests are
the backend. Existing v6.1 databases are not affected by the choice of
for data types which are inherently unordered (e.g. points and time
optimizer, so there is no need to reload after changing the optimizer.
intervals) and tests involving those types are explicitly bracketed with
The new genetic optimizer has very nice performance with many-table joins,
"set geqo to 'off'" and "reset geqo".
so you may want to make sure to re-enable it and reinstall the code after
you have concluded your regression testing.
XXX update this for the production release - tgl 97/04/26
The interpretation of array specifiers (the curly braces around atomic
The interpretation of array specifiers (the curly braces around atomic
values) appears to have changed sometime after the original regression
values) appears to have changed sometime after the original regression
tests were generated. The current ./expected/*.out files reflect this
tests were generated. The current ./expected/*.out files reflect this
new interpretation, which may not be correct!
new interpretation, which may not be correct!
XXX update this for the production release - tgl 97/04/26
The float8 regression test fails on at least some platforms. This is due
The float8 regression test fails. This may be due to the parser continu
ing
to differences in implementations of pow() and exp() and the signal
ing
rather than aborting when given invalid constants for input value
s.
mechanisms used for overflow and underflow condition
s.
XXX update this for the production release - tgl 97/04/26
The "random" results in the random test do not seem to produce random
Regression tests involving indexed tables fail in at least some environments.
results on my test machine (Linux/gcc/i686).
This may indicate a problem with the current index code.
This diff is collapsed.
Click to expand it.
src/test/regress/regress.sh
+
5
−
7
View file @
8ce8d655
#!/bin/sh
#!/bin/sh
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.
9
1997/0
4/27 18:55:37 scrappy
Exp $
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.
10
1997/0
5/11 15:46:19 thomas
Exp $
#
#
if
echo
'\c'
|
grep
-s
c
>
/dev/null 2>&1
if
echo
'\c'
|
grep
-s
c
>
/dev/null 2>&1
then
then
...
@@ -21,12 +21,10 @@ FRONTEND="psql -n -e -q"
...
@@ -21,12 +21,10 @@ FRONTEND="psql -n -e -q"
echo
"=============== Notes... ================="
echo
"=============== Notes... ================="
echo
"postmaster must already be running for the regression tests to succeed."
echo
"postmaster must already be running for the regression tests to succeed."
echo
"The non-GEQ optimizer will give more consistant results than will the"
echo
"The time zone must be set to PST/PDT for the date and time data types"
echo
" GEQ optimizer. See the regression testing README for more details."
echo
" to pass the regression tests; to do this type"
echo
"The time zone might need to be set to PST/PDT for the date and time data"
echo
" setenv TZ
$TZ
"
echo
" types to pass the regression tests; to do this type"
echo
" before starting postmaster."
echo
" setenv TZ
$TZ
"
echo
" before starting the postmaster."
echo
""
echo
""
echo
"=============== destroying old regression database... ================="
echo
"=============== destroying old regression database... ================="
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment