1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +03:00
Commit Graph

3468 Commits

Author SHA1 Message Date
832c0a4ff1 split out a bunch more tests from misc.source so that the tester knows
what's being tested :)
1997-04-27 17:40:13 +00:00
557e0ed206 Alot of regression test fixes, mainly to compensate for moving
the DROP TABLE calls from the destroy.sql file to the 'types' .sql files,
so that they are self-contained

btree_index, hash_index and misc all fail as there seems to be missing
a 'misc.out' expected file...have asked Thomas for one...
1997-04-27 07:45:49 +00:00
a475d4d89c Get first four tests to pass:
=============== destroying old regression database... =================
=============== creating new regression database...   =================
=============== running regression queries...         =================
create_function_1 .. ok
create_type .. ok
create_table .. ok
create_function_2 .. ok
1997-04-27 04:50:06 +00:00
3451abf632 Make these self-contained tests...they are testing types, so the tables
that are created should only exist as long as the test requires them...

things are just toooooo spread around
1997-04-27 04:36:10 +00:00
b29c2da7dd Trying to continue breaking down the large files into smaller tests so that
debugging is a little (well, alot!) easier
1997-04-27 04:04:31 +00:00
f9526f886a clean up misc.source and create *individual test* files ... trying to move
away from one big massive confusing file
1997-04-27 04:03:50 +00:00
b63e57bea8 *shrug* I don't know anymore... 1997-04-27 03:57:34 +00:00
78454c2744 *shrug* 1997-04-27 03:56:23 +00:00
df77071773 Massive regression test patches from Thomas *woo hoo!* 1997-04-27 02:58:38 +00:00
afb539c25a Add a results directory and a Makefile so that 'make clean' cleans it out 1997-04-26 06:31:55 +00:00
b2f2e0316e More misc patches from Thomas for regression tests and linux templates 1997-04-26 05:50:25 +00:00
ba1a58919c Clean out/up some files that are causing me great headaches since I didn't
do this completely last time and Thomas is creating patches on files that
aren't supposed to exist :(
1997-04-26 05:45:48 +00:00
87fffc4342 Various bug fixes based on a bug report submitted by
Doug Neuhauser <doug@seismo.berkeley.edu> on April 15th
1997-04-24 20:02:02 +00:00
9e2a87b62d Major patch from Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov>
OK, here are a passel of patches for the geometric data types.
These add a "circle" data type, new operators and functions
for the existing data types, and change the default formats
for some of the existing types to make them consistant with
each other. Current formatting conventions (e.g. compatible
with v6.0 to allow dump/reload) are supported, but the new
conventions should be an improvement and we can eventually
drop the old conventions entirely.

For example, there are two kinds of paths (connected line segments),
open and closed, and the old format was

'(1,2,1,2,3,4)' for a closed path with two points (1,2) and (3,4)
'(0,2,1,2,3,4)' for an open path with two points (1,2) and (3,4)

Pretty arcane, huh? The new format for paths is

'((1,2),(3,4))' for a closed path with two points (1,2) and (3,4)
'[(1,2),(3,4)]' for an open path with two points (1,2) and (3,4)

For polygons, the old convention is

'(0,4,2,0,4,3)' for a triangle with points at (0,0),(4,4), and (2,3)

and the new convention is

'((0,0),(4,4),(2,3))' for a triangle with points at (0,0),(4,4), and (2,3)

Other data types which are also represented as lists of points
(e.g. boxes, line segments, and polygons) have similar representations
(they surround each point with parens).

For v6.1, any format which can be interpreted as the old style format
is decoded as such; we can remove that backwards compatibility but ugly
convention for v7.0. This will allow dump/reloads from v6.0.

These include some updates to the regression test files to change the test
for creating a data type from "circle" to "widget" to keep the test from
trashing the new builtin circle type.
1997-04-22 17:35:09 +00:00
cfe0d67dc1 Some slight changes to the Wisconsin Benchmark tests since postgres requires
a -D<datadir> option
1997-04-17 13:48:52 +00:00
fcf7d45b36 Get rid of the .sql files out of the Makefile
Pointed out by: afc@teri.superlink.net
1997-04-12 09:34:31 +00:00
b5183bf64b remove the old regression test files. have copies saved in my directory here,
but it gets rid of the temptation to modify the old source files :)
1997-04-09 08:48:14 +00:00
b30aa6ecb8 Slight mods to explain (or try to) the new regression tests 1997-04-08 19:34:58 +00:00
ee0a61ab62 Get rid of queries.source...its all in the sql directory.
regress.sh modified to get rid of queries.sql tests, as they are
performed vis sql/*.sql
1997-04-06 08:53:34 +00:00
e31cb4be3a More splits and cleanups...
Its starting to actually take shape and look as expected...
1997-04-06 08:29:57 +00:00
588ae64c44 More splits and cleanups... 1997-04-06 06:07:13 +00:00
23733026ee remove create.{source,sql} as they are now down in the 'sql' directory
partially split
1997-04-05 21:33:26 +00:00
1452327c66 Change Postgres95 to PostgreSQL
The whole file needs updating, but will work on that after finishing
with the splits
1997-04-05 21:28:46 +00:00
9c9e2dd4b5 More splits of the regression tests in order to make them more
user-friendly (and more useful)
1997-04-05 21:26:00 +00:00
aa51d0d185 Purge out tests/expected that are now in sql/expected subdirectories from
'master' file

Commit mods to regress.sh so that split out tests are run...look forward
to finding out how to do a proper redirect to continue visual cleanup :)
1997-04-05 11:58:40 +00:00
04688df668 Again, add more tests 1997-04-05 11:26:55 +00:00
7956e606d6 Add more expected.out results 1997-04-05 11:24:54 +00:00
d108a31082 There are the broken out 'sql' queries from queries.source
tests allows us to have a 'for...done' loop inside of regress.sh for
both doing the tests, and determining fail/ok results
1997-04-05 11:08:30 +00:00
9607e69c24 These are the broken down 'expected.output' files created so far 1997-04-05 11:06:04 +00:00
c7b40e6058 This commit represents a clean compile with the new templates under
FreeBSD

The Makefile(s) have all been cleaned up such that there is a single
LDFLAGS vs LD_ADD or LDADD or LDFLAGS or LDFLAGS_BE.  The Makefile(s)
should be alot more straightforward then they were before...and
consistent
1997-04-04 10:43:16 +00:00
791c075852 Date/Time updates from Thomas... 1997-03-14 23:34:16 +00:00
34fd62c512 Remove case-sensitive identifiers. Thanks for Dan McGuirk for a reversal patch. 1997-03-02 01:03:44 +00:00
872c708f8f Small regress cleanup. 1997-03-01 16:44:43 +00:00
0f90c7a009 Rename GNUMakefile to GNUmakefile so gmake finds it. 1997-01-21 01:27:18 +00:00
9010e0e686 Rename Makefile to GNUMakefile and add a "use GNU Make" Makefile so people
don't accidentally use non-GNU make.
1997-01-18 08:01:32 +00:00
1760f08616 Unapply a patch that wasn't a patch... 1997-01-16 18:05:12 +00:00
f8a41a0b91 This is one of those patches that obviously fixes something, just not
sure exactly what it is it fixes...
1997-01-16 16:11:09 +00:00
abeaabef2e Restored original pg_type/pg_attribute defaults. Regression fixes. 1997-01-14 01:42:38 +00:00
227015b08e Standardize all LDADD to LD_ADD. 1997-01-05 21:17:45 +00:00
e981bcb0c3 Fix expected regression output. 1996-12-28 23:07:54 +00:00
8cc2eb66ec Fixed errors in create statement. 1996-12-28 22:46:40 +00:00
ea8b5196ff Small regression and doc patch 1996-12-13 02:39:00 +00:00
33edbdb59b Remove include of libpq-fe.h. This file has nothing to do with libpq. 1996-12-09 01:24:53 +00:00
58193362bd Reduce regression diffs 1996-12-02 14:17:59 +00:00
5f9bdb7641 Reduce regression diff size with timezone changes and cleanup. 1996-12-02 06:31:20 +00:00
81f5c669e9 This file has not been part of the regression test for many releases. 1996-11-19 02:57:10 +00:00
317f375bb2 Rename SLSUFF to DLSUFFIX 1996-11-18 06:07:56 +00:00
fdcf5ff79c Remove comments psql was putting in output, typo's.
psql now returns error from queries and errors files, so ignore return code.
1996-11-14 16:09:28 +00:00
b20766ccc4 Eliminate MKDIR, srcdir, objdir. Centralize setting of LIBPQDIR. 1996-11-13 10:36:36 +00:00
d7dd9295b7 End of the make file simplifications. 1996-11-12 11:43:32 +00:00