Commit Graph

5570 Commits

Author SHA1 Message Date
8792af75f6 I have noticed that the geometry test's output for hppa1 and hppa2 are in
fact the same, so I suggest they could be the same file say
geometry-positive-zeros.out, as the main difference seems to be not printing
eg. (0,-0). In src/test/regress/expected, I propose

rm int2-i386-netbsd.out int4-i386-netbsd.out
mv geometry-hppa1.1.out geometry-positive-zeros.out
rm geometry-hppa2.0.out geometry-i386-netbsd.out

and the following patch to resultmap. I have only tested the netbsd results
on i386, but think that in all probability the differences will be the same
for other ports. If it turns out not to be the case, at least we might find
out.

Patrick Welche
2000-01-20 15:21:23 +00:00
6d1efd76fb Fix handling of NULL constraint conditions: per SQL92 spec, a NULL result
from a constraint condition does not violate the constraint (cf. discussion
on pghackers 12/9/99).  Implemented by adding a parameter to ExecQual,
specifying whether to return TRUE or FALSE when the qual result is
really NULL in three-valued boolean logic.  Currently, ExecRelCheck is
the only caller that asks for TRUE, but if we find any other places that
have the wrong response to NULL, it'll be easy to fix them.
2000-01-19 23:55:03 +00:00
beba98d14a Adopt for new psql 2000-01-18 03:00:37 +00:00
2d4a05d7df Update strings test to reflect the fact that casting to char() will
now truncate or pad to the specified length.
2000-01-17 00:16:41 +00:00
759fba4873 Included all yacc and lex files into the distribution. 2000-01-16 20:05:00 +00:00
a4e1304ed1 Add check that inherited constraints and defaults work. 2000-01-16 19:57:48 +00:00
b0b3187bb4 Add some examples to numeric regress test to verify that recently-fixed
problems are indeed fixed.
2000-01-15 23:44:17 +00:00
5e6004135b Now that new psql is fflush()'ing properly, it emerges that several
regress test expected outputs were committed with NOTICEs appearing out
of order.  Update to correct results.
2000-01-15 19:18:24 +00:00
6ce5e0abb6 Update arrays regress test to reflect fact that several things
work now that did not work in 6.5.
2000-01-15 19:11:40 +00:00
6095e36cca Prepare for new psql 2000-01-15 05:17:45 +00:00
f1e1634e72 oid8 => oidvector in alter_table regress test 2000-01-11 05:56:33 +00:00
b86ca72f39 Update platform-specific-expected-file support so that platforms can be
specified by regular-expression patterns.  Add some more files.
2000-01-09 20:54:36 +00:00
4f9d74f98b install_plpgsql is no longer a regress test (it's done via createlang);
remove the no-longer-used files.
2000-01-09 19:34:43 +00:00
bd62e062aa New scheme for managing platform-specific regress test result files.
Instead of hard-wiring one result file per platform, there is a map file
'resultmap' that says which one to use --- a lot like template/.similar.
I have only created entries in resultmap for my own platform (HPUX) so
far; feel free to add lines for other platforms.
2000-01-09 07:54:00 +00:00
2a19ac97a7 Remove obsolete platform-specific comparison files. 2000-01-09 06:34:46 +00:00
8ba050698b First examples of multiplatform result comparison files. 2000-01-09 06:32:33 +00:00
62cbd53bcd Remove obsolete platform-specific regress test comparison files.
Note: don't put any of these back till you've grokked the new code for
platform-specific comparisons that I'm about to commit...
2000-01-09 06:30:55 +00:00
fc0a46dc16 Remove CVS $Header lines from a couple of regress test files that had
them --- it is just *way* too painful to keep expected results in sync
when these are present.
2000-01-09 04:01:49 +00:00
f5b754a492 Update remaining tests for new psql, with the exception of 'arrays'. 2000-01-09 03:50:27 +00:00
260b6afc79 Update remaining tests for new psql, with the exception of 'arrays',
which is broken in some weird way that I don't understand.  I think it
may be exposing a bug in the new psql --- for one thing, I get different
results when I run psql by hand than the regress script gets.  What
the heck???
2000-01-09 03:48:39 +00:00
0e821fb771 Fix some missing substitutions of _OBJWD_ and _DLSUFFIX_. 2000-01-09 02:48:01 +00:00
d1e6368816 Clean up header for uniform appearance throughout tests. 2000-01-06 06:41:55 +00:00
67ac38085c Update for new psql formatting. 2000-01-06 06:40:54 +00:00
6e0cc2ac45 Freshen up the banner displayed when running the regression test. 2000-01-06 06:40:18 +00:00
c0cab6f4fa Update format to add uniform headers on files. 2000-01-05 17:32:29 +00:00
69789bf33d Update format to add uniform headers on files.
Update output to new psql conventions.
2000-01-05 17:32:18 +00:00
9c1b29816e Update output to new psql conventions. 2000-01-05 17:31:08 +00:00
6033cfd429 Fix spaces in text message. 2000-01-05 17:30:05 +00:00
4c4e68dccc Clean up format of tests.
Remove older "::" type coersion syntax in favor of extended SQL92 style.
Include a few new tests for datetime/timespan arithmetic.
2000-01-05 06:07:58 +00:00
d83105539a Verified output from new psql.
Include a few new tests for datetime/timespan arithmetic.
2000-01-05 06:06:23 +00:00
24e8ca6ef9 Move numeric test to be near other numeric data types like int4 and float8. 2000-01-05 06:04:56 +00:00
61ef6a1a3f Clean up syntax to use SQL92-ish type coersion
rather than the Postgres "::" notation.
All of these tests have been completely inspected and give correct results.
2000-01-04 16:21:02 +00:00
f54668d617 Match results with format from new psql.
All of these tests have been completely inspected and give correct results.
2000-01-04 16:19:34 +00:00
e2aef49694 Added empty TOASTER files and corrected some minor glitches
in regression tests.

Jan
1999-12-21 00:06:44 +00:00
397e9b32a3 Some changes to prepare for LONG attributes.
Jan
1999-12-16 22:20:03 +00:00
4cb1fb6f59 Update for QNX. 1999-12-16 16:52:53 +00:00
7585deb087 I have done the QNX4 port with the current source tree. The number of
backend/Makefiles to be patched could significantly be reduced since
they
have been adopted to the QNX4 needs.

Andreas Kardos
1999-12-16 01:25:23 +00:00
a8ae19ec3d aggregate(DISTINCT ...) works, per SQL spec.
Note this forces initdb because of change of Aggref node in stored rules.
1999-12-13 01:27:21 +00:00
c91e5a4465 Update drop.sql 1999-12-10 17:32:57 +00:00
c613e69f40 Rename destroy.sql to drop.sql. 1999-12-10 17:31:30 +00:00
f4db5c3c88 Update regression for new dropdb command. 1999-12-10 00:48:32 +00:00
f7f41c7c8c Replace generic 'Illegal use of aggregates' error message with one that
shows the specific ungrouped variable being complained of.  Perhaps this
will reduce user confusion...
1999-12-09 05:58:56 +00:00
1891f0e913 Update rules test for extra quoting in rule deparser. 1999-12-06 02:38:56 +00:00
89ad160622 Arranged that plpgsql.so is used from new build, not installed
one in production PGLIB.

Jan
1999-12-03 12:47:43 +00:00
37432f5a6c pg_statistic has an index now too... 1999-11-27 21:05:04 +00:00
a4fec9ec34 Oops, forgot to commit this one last week. Part of patch to update
regress test expected outputs for change in 'Cannot insert a duplicate key'
error message wording.
1999-11-27 17:56:18 +00:00
838fb5c233 Update for change of 'duplicate key' message. 1999-11-23 04:19:39 +00:00
9ba0172f41 Tweak run_check.sh so it prints the name of each test in a parallel group
as that test finishes --- helps to give the impression that something is
happening...
1999-11-21 01:53:39 +00:00
79f39c4d34 My latest fixes to gram.y cause CREATE TABLE t (f1 bool default 1 < 2)
to be accepted, but constraints regress test was expecting it to fail.
1999-11-20 21:41:31 +00:00
3267e2978f Fix a couple of portability problems in Jan's first-cut parallel test
script.  This is way cool...
1999-11-20 20:21:31 +00:00