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
43499af4ab
New parallel regression test shell and related things.
...
Jan
1999-11-19 18:51:52 +00:00
1ecb129d20
Update sanity_check regress test to pass now that pg_index
...
and pg_amop have indexes.
1999-11-15 01:48:41 +00:00
a1b25fd155
Another day, another MAX_QUERY_SIZE dependency zapped.
1999-10-22 02:08:37 +00:00
3eb1c82277
Fix planner and rewriter to follow SQL semantics for tables that are
...
mentioned in FROM but not elsewhere in the query: such tables should be
joined over anyway. Aside from being more standards-compliant, this allows
removal of some very ugly hacks for COUNT(*) processing. Also, allow
HAVING clause without aggregate functions, since SQL does. Clean up
CREATE RULE statement-list syntax the same way Bruce just fixed the
main stmtmulti production.
CAUTION: addition of a field to RangeTblEntry nodes breaks stored rules;
you will have to initdb if you have any rules.
1999-10-07 04:23:24 +00:00
0655b1500f
Less noisy rule display...
1999-10-04 04:38:46 +00:00
eabc714a91
Reimplement parsing and storage of default expressions and constraint
...
expressions in CREATE TABLE. There is no longer an emasculated expression
syntax for these things; it's full a_expr for constraints, and b_expr
for defaults (unfortunately the fact that NOT NULL is a part of the
column constraint syntax causes a shift/reduce conflict if you try a_expr.
Oh well --- at least parenthesized boolean expressions work now). Also,
stored expression for a column default is not pre-coerced to the column
type; we rely on transformInsertStatement to do that when the default is
actually used. This means "f1 datetime default 'now'" behaves the way
people usually expect it to.
BTW, all the support code is now there to implement ALTER TABLE ADD
CONSTRAINT and ALTER TABLE ADD COLUMN with a default value. I didn't
actually teach ALTER TABLE to call it, but it wouldn't be much work.
1999-10-03 23:55:40 +00:00