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
066fce7b
Commit
066fce7b
authored
27 years ago
by
Thomas G. Lockhart
Browse files
Options
Downloads
Patches
Plain Diff
Update to suggest using PST8PDT time zone rather than full time zone string.
Include section on error message differences.
parent
4bd4a55b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/test/regress/README
+31
-14
31 additions, 14 deletions
src/test/regress/README
with
31 additions
and
14 deletions
src/test/regress/README
+
31
−
14
View file @
066fce7b
...
@@ -6,12 +6,12 @@ Introduction
...
@@ -6,12 +6,12 @@ Introduction
Andrew Yu. It tests standard SQL operations as well as the extensibility
Andrew Yu. It tests standard SQL operations as well as the extensibility
capabilities of PostgreSQL.
capabilities of PostgreSQL.
These tests have recently been revised by Marc Fournier and
others to
These tests have recently been revised by Marc Fournier and
Thomas Lockhart
become current for PostgreSQL v6.1. The tests are now packaged as
to
become current for PostgreSQL v6.1. The tests are now packaged as
functional units and should be easier to run and easier to interpret.
functional units and should be easier to run and easier to interpret.
Some properly installed and fully functional PostgreSQL installations
Some properly installed and fully functional PostgreSQL installations
can fail these regression tests due to artifacts of floating point
can fail
some of
these regression tests due to artifacts of floating point
representation and time zone support. The current tests are evaluated
representation and time zone support. The current tests are evaluated
using a simple "diff" algorithm, and are sensitive to small system
using a simple "diff" algorithm, and are sensitive to small system
differences. For apparently failed tests, examining the differences
differences. For apparently failed tests, examining the differences
...
@@ -27,13 +27,21 @@ Preparation
...
@@ -27,13 +27,21 @@ Preparation
files with absolute pathnames and user names.
files with absolute pathnames and user names.
The postmaster should be invoked with the system time zone set for
The postmaster should be invoked with the system time zone set for
Berkeley, California. On
some
systems, this can be accomplished by
Berkeley, California. On
many
systems, this can be accomplished by
setting the TZ environment variable before starting the postmaster
setting the TZ environment variable before starting the postmaster
(for csh/bash; use set/export for some other shells):
(for csh/bash; use set/export for some other shells):
setenv TZ PST8PDT7,M04.01.0,M10.05.03
setenv TZ PST8PDT
date
/usr/local/pgsql/bin/postmaster -s
/usr/local/pgsql/bin/postmaster -s
The "date" command above should have returned the current system time
in the PST8PDT time zone. If the PST8PDT database is not available, then
your system may have returned the time in GMT. If the PST8PDT time zone
is not available, you can set the time zone rules explicitly:
setenv TZ PST8PDT7,M04.01.0,M10.05.03
Directory Layout
Directory Layout
input/ .... .source files that are converted using 'make all' into
input/ .... .source files that are converted using 'make all' into
...
@@ -73,6 +81,15 @@ Comparing expected/actual output
...
@@ -73,6 +81,15 @@ Comparing expected/actual output
The files might not compare exactly. The following paragraphs attempt
The files might not compare exactly. The following paragraphs attempt
to explain the differences.
to explain the differences.
Error message differences
Some of the regression tests involve intentional invalid input values.
Error messages can come from either the Postgres code or from the host
platform system routines. In the latter case, the messages may vary
between platforms, but should reflect similar information. These
differences in messages will result in a "failed" regression test which
can be validated by inspection.
OID differences
OID differences
There are several places where PostgreSQL OID (object identifiers) appear
There are several places where PostgreSQL OID (object identifiers) appear
...
@@ -93,12 +110,14 @@ DATE/TIME differences
...
@@ -93,12 +110,14 @@ DATE/TIME differences
is running in the same time zone as Berkeley, California. See details in
is running in the same time zone as Berkeley, California. See details in
the section on how to run the regression tests.
the section on how to run the regression tests.
If you do not explicitly set your time zone environment to PST
/
PDT, then
If you do not explicitly set your time zone environment to PST
8
PDT, then
most of the date and time results will reflect your local time zone and
most of the date and time results will reflect your local time zone and
will fail the regression testing.
will fail the regression testing.
There appear to be some systems which do not accept the same syntax for
There appears to be some systems which do not accept the recommended syntax
setting the local time zone.
for explicitly setting the local time zone rules. Some systems using the
public domain time zone package exhibit minor problems with pre-1970 PDT
times, representing them in PST instead.
FLOATING POINT differences
FLOATING POINT differences
...
@@ -168,11 +187,9 @@ Current release notes (Thomas.Lockhart@jpl.nasa.gov)
...
@@ -168,11 +187,9 @@ Current release notes (Thomas.Lockhart@jpl.nasa.gov)
Three new data types (datetime, timespan, and circle) have been added to
Three new data types (datetime, timespan, and circle) have been added to
the native set of PostgreSQL types. Points, boxes, paths, and polygons
the native set of PostgreSQL types. Points, boxes, paths, and polygons
have had their output formats improved, but the old-style input formats
have had their output formats made consistant across the data types.
are accepted by v6.1. The source data files have not been updated to the
The polygon output in misc.out has only been spot-checked for correctness
new formats, but should be for the next release. The polygon output in
relative to the original regression output.
misc.out has only been spot-checked for correctness relative to the
original regression output.
PostgreSQL v6.1 introduces a new, alternate optimizer which uses "genetic"
PostgreSQL v6.1 introduces a new, alternate optimizer which uses "genetic"
algorithms. These algorithms introduce a random behavior in the ordering
algorithms. These algorithms introduce a random behavior in the ordering
...
@@ -204,6 +221,6 @@ Sample timing results
...
@@ -204,6 +221,6 @@ Sample timing results
to run, presumably due to the timing vagaries of multitasking systems.
to run, presumably due to the timing vagaries of multitasking systems.
Time System
Time System
06:12 Pentium Pro 180, 32MB, Linux 2.0.
27
, gcc 2.7.2 -O2 -m486
06:12 Pentium Pro 180, 32MB, Linux 2.0.
30
, gcc 2.7.2 -O2 -m486
12:06 P-100, 48MB, Linux 2.0.29, gcc
12:06 P-100, 48MB, Linux 2.0.29, gcc
39:58 Sparc IPC 32MB, Solaris 2.5, gcc 2.7.2.1 -O -g
39:58 Sparc IPC 32MB, Solaris 2.5, gcc 2.7.2.1 -O -g
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