Bruce Momjian
58fffea03c
Cleanups for large objects, so file is trucated on open, fix for
...
solaris/spare shared libararies, new error message for postmaster
startup, and makefile cleanups.
1998-05-12 21:44:08 +00:00
Thomas G. Lockhart
02a9d7e273
Changed error message slightly.
1998-05-09 23:50:24 +00:00
Marc G. Fournier
bab9818c4b
Missed adding two files from the MultiByte patch...
1998-04-29 12:26:22 +00:00
Marc G. Fournier
f554af0a9f
From: t-ishii@sra.co.jp
...
Hi, here are patches I promised (against 6.3.2):
* character_length(), position(), substring() are now aware of
multi-byte characters
* add octet_length()
* add --with-mb option to configure
* new regression tests for EUC_KR
(contributed by "Soonmyung. Hong" <hong@lunaris.hanmesoft.co.kr>)
* add some test cases to the EUC_JP regression test
* fix problem in regress/regress.sh in case of System V
* fix toupper(), tolower() to handle 8bit chars
note that:
o patches for both configure.in and configure are
included. maybe the one for configure is not necessary.
o pg_proc.h was modified to add octet_length(). I used OIDs
(1374-1379) for that. Please let me know if these numbers are not
appropriate.
1998-04-27 17:10:50 +00:00
Bruce Momjian
3e3477f5a4
Add Darren's char2-16 files.
1998-04-27 13:50:03 +00:00
Bruce Momjian
0d203b745d
Re-apply Darren's char2-16 removal code.
1998-04-26 04:12:15 +00:00
Bruce Momjian
45a0b4743a
Remove name.* files.
1998-04-08 02:32:52 +00:00
Bruce Momjian
db21523314
Back out char2-char16 removal. Add later.
1998-04-07 18:14:38 +00:00
Bruce Momjian
9fbdda039d
Fix macro read violation for Maurice.
1998-03-31 15:53:51 +00:00
Bruce Momjian
d7050cb68c
Merge rename name page into alter table. Fix UNION with DISTINCT
...
or ORDER BY bug.
1998-03-31 04:44:35 +00:00
Bruce Momjian
57b5966405
The following uuencoded, gzip'd file will ...
...
1. Remove the char2, char4, char8 and char16 types from postgresql
2. Change references of char16 to name in the regression tests.
3. Rename the char16.sql regression test to name.sql. 4. Modify
the regression test scripts and outputs to match up.
Might require new regression.{SYSTEM} files...
Darren King
1998-03-30 17:28:21 +00:00
Marc G. Fournier
9b381a69f6
Add NetBSD specific expected files
1998-03-22 19:46:45 +00:00
Marc G. Fournier
5191d5207f
Slightly updated regression output for FreeBSD 3.0-CURRENT
1998-03-22 19:40:33 +00:00
Marc G. Fournier
609026bb6b
From: t-ishii@sra.co.jp
...
Included are patches intended for allowing PostgreSQL to handle
multi-byte charachter sets such as EUC(Extende Unix Code), Unicode and
Mule internal code. With the MB patch you can use multi-byte character
sets in regexp and LIKE. The encoding system chosen is determined at
the compile time.
To enable the MB extension, you need to define a variable "MB" in
Makefile.global or in Makefile.custom. For further information please
take a look at README.mb under doc directory.
(Note that unlike "jp patch" I do not use modified GNU regexp any
more. I changed Henry Spencer's regexp coming with PostgreSQL.)
1998-03-15 07:53:03 +00:00
Marc G. Fournier
661ecf3c48
From: t-ishii@sra.co.jp
...
Included are patches intended for allowing PostgreSQL to handle
multi-byte charachter sets such as EUC(Extende Unix Code), Unicode and
Mule internal code. With the MB patch you can use multi-byte character
sets in regexp and LIKE. The encoding system chosen is determined at
the compile time.
To enable the MB extension, you need to define a variable "MB" in
Makefile.global or in Makefile.custom. For further information please
take a look at README.mb under doc directory.
(Note that unlike "jp patch" I do not use modified GNU regexp any
more. I changed Henry Spencer's regexp coming with PostgreSQL.)
1998-03-15 07:39:04 +00:00
Bruce Momjian
3674ccdf95
Change Postgres95 to PostgreSQL. Update CLUSTER manual page.
1998-03-14 21:58:09 +00:00
Marc G. Fournier
bc58c5867d
Further updated regression output for FreeBSD
1998-02-28 21:28:30 +00:00
Marc G. Fournier
472d802ced
Update regression output for FreeBSD
1998-02-27 03:25:43 +00:00
Marc G. Fournier
29cdd1204a
New regression test output for Aix from Darren
1998-02-27 03:17:54 +00:00
Marc G. Fournier
877224154d
From: Jan Wieck <jwieck@debis.com>
...
I thought it would be a good idea to ensure that the new view
permission model will not get broken by subsequent
fixes/changes. So I wrote a little regression test for it.
There is an ugly thing in this regression test. It creates
temporary a test user that is required for the tests. The
user is removed at the end of the test, but if sometimes the
regression suite is aborted or crashes exactly here, the test
user will lay around in the pg_shadow. Don't have a clue how
to get around.
1998-02-27 02:38:15 +00:00
Bruce Momjian
a32450a585
pgindent run before 6.3 release, with Thomas' requested changes.
1998-02-26 04:46:47 +00:00
Marc G. Fournier
48a61651b5
Add updated regression output for Solaris-Sparc
...
Remove SunOS
1998-02-25 20:51:10 +00:00
Marc G. Fournier
3cff97d722
Commit Solaris-i386 regression.diffs file for comparisons
1998-02-25 15:06:47 +00:00
Marc G. Fournier
f39bf166e9
Change from -u to -wC3 ...
1998-02-25 15:02:18 +00:00
Marc G. Fournier
f0da7129f5
Change -c to -u for regress.sh...should shrink regression.<portname> somewhat
...
at the same time...
Suggested by: Frank Ridderbusch <ridderbusch.pad@sni.de>
1998-02-24 15:56:45 +00:00
Vadim B. Mikheev
11303a941f
Second query in select_views.sql is replaced.
1998-02-23 13:59:34 +00:00
Bruce Momjian
55f86ec8f7
Configure patches from Brook Milligan.
1998-02-22 20:02:34 +00:00
Marc G. Fournier
0e1a352f09
From: Darren King <darrenk@insightdist.com>
...
Enclosed is the regression.diffs file from running the Feb 21st
snapshot regression tests for inclusion in src/test/regression
as regression.Aix41. Appears to be standard differences to me,
error messages, fp accuracy and times off by an hour due to PST
vs PDT.
1998-02-22 00:02:18 +00:00
Vadim B. Mikheev
e0aab4aa9e
Restore 6.2.1 output
1998-02-18 13:15:07 +00:00
Thomas G. Lockhart
ca45412853
Add new subselect test.
1998-02-18 07:32:17 +00:00
Thomas G. Lockhart
ca38b10c00
New table from new subselect test.
1998-02-18 07:29:45 +00:00
Bruce Momjian
24cab6bd0d
Goodbye register keyword. Compiler knows better.
1998-02-11 19:14:04 +00:00
Thomas G. Lockhart
9d99dacd08
Update test for newly implemented "<=" operator.
1998-02-11 04:13:33 +00:00
Marc G. Fournier
1f4f6b22bc
regression test based off of Solaris/Sparc v2.6
1998-02-10 17:42:54 +00:00
Marc G. Fournier
2a3c589c5a
Clean up regression tests for SunOS (based on Solaris v2.6)
...
Clean up strings.out , removed func_get_detail from error message
1998-02-10 14:22:50 +00:00
Marc G. Fournier
ff88f7db9d
Current output for FreeBSD (2/1/98)
1998-02-02 01:48:25 +00:00
Marc G. Fournier
44030ef229
minor change so that it outputs to regression.diffs ...
1998-02-01 11:46:10 +00:00
Marc G. Fournier
ca5eefb645
Make changes so that when the diff is done between 'expected' and 'results',
...
if an operating specific expected file exists, use that for the comparison.
This allows for "legit" differences between results, like the "Result too
large" message vs "Math result not representable" ...
Also, have the failed diffs get output to regression.diffs so that its easy to
view those tests that failed
1998-02-01 11:43:17 +00:00
Marc G. Fournier
8169769ee5
From: "Michael J. Maravillo" <mmj@philonline.com>
...
This patch makes it possible to do a "real" make distclean (back to its
fresh state) on the distribution after compilation, regression testing,
etc.
1998-01-17 23:39:35 +00:00
Marc G. Fournier
d8972c62b4
this should pretty much clean up the i386_solaris port, with regression
...
tests running "as expected"...
1998-01-13 20:13:19 +00:00
Marc G. Fournier
a5b106ee89
Updated Regression output
1998-01-13 05:28:21 +00:00
Thomas G. Lockhart
d70df16a76
Fix up for recent changes in elog error messages.
...
Some behavior of the triggers test cases changed for the least week or two;
now back to the usual expected behavior.
1998-01-10 17:50:49 +00:00
Bruce Momjian
e6c6146eb8
Allow varchar() to only store needed bytes. Remove PALLOC,PALLOCTYPE,PFREE. Clean up use of VARDATA.
1998-01-07 18:47:07 +00:00
Bruce Momjian
845f82e541
Regression cleanup of WARN.
1998-01-06 19:25:19 +00:00
Bruce Momjian
9d00fbbeb0
Change some labels in bootparse to make ctags happy. Clean up outfunc/readfunc code and add missing fields for Query structure and new Union fields. Fix optimizer bug shown in new \do command. Change WARN to ERROR in contrib and regression stuff.
1998-01-06 18:53:02 +00:00
Bruce Momjian
0d9fc5afd6
Change elog(WARN) to elog(ERROR) and elog(ABORT).
1998-01-05 03:35:55 +00:00
Marc G. Fournier
0aa928764a
Various fixes NETBSD/sparc related
...
From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
1998-01-04 19:13:04 +00:00
Thomas G. Lockhart
b180144545
Include SPI module when cleaning.
1998-01-01 05:37:29 +00:00
Marc G. Fournier
1f9eb5c106
Add regression output from FreeBSD
1997-12-19 21:23:19 +00:00
Marc G. Fournier
d370849a9d
Here is the difference between expected->results of the regression
...
tests under sparc_solaris
1997-12-19 15:50:18 +00:00
Thomas G. Lockhart
b31df3ebb7
Mention PST8PDT explicitly in the banner message (rather than PST/PDT).
1997-12-16 16:01:05 +00:00
Thomas G. Lockhart
405740ace6
Include informational messages added for implicit index creation.
1997-12-09 01:46:31 +00:00
Thomas G. Lockhart
d358456ca3
Add test for multi-character char().
1997-12-05 01:14:55 +00:00
Thomas G. Lockhart
733f2a43cc
Change constraint syntax to SQL92 style.
...
Add tests for PRIMARY KEY and UNIQUE clauses.
1997-12-05 00:01:22 +00:00
Thomas G. Lockhart
df823bc42d
Deep-six tests using time travel, which has been removed from Postgres.
1997-12-01 02:51:07 +00:00
Thomas G. Lockhart
7a86a2a9e5
Add tests for varchar() and combinations of string types.
1997-12-01 02:48:47 +00:00
Thomas G. Lockhart
1d7b6f14e2
Adjust tests to reflect removal of time travel.
...
Add tests for strings and varchar.
1997-12-01 02:46:13 +00:00
Thomas G. Lockhart
f901971c86
Adjust output to reflect changes in tests.
1997-12-01 02:44:53 +00:00
Bruce Momjian
4a5b781d71
Break parser functions into smaller files, group together.
1997-11-25 22:07:18 +00:00
Thomas G. Lockhart
2e0976e003
Fix testing problem when 'current' equal to 'now' for separate inserts
...
on fast machines with fast disks.
Adjust a few other tests to be more complete.
1997-11-15 02:55:57 +00:00
Thomas G. Lockhart
208dae3727
Set time zone and date style environment variables.
...
Update banner message regarding time zone.
1997-11-14 15:57:12 +00:00
Thomas G. Lockhart
9507e539e2
Remove unnecessary inclusion of <ctype.h>.
1997-11-10 15:43:26 +00:00
Thomas G. Lockhart
6210dd5264
File is created by make from source in ../output
1997-11-07 06:47:41 +00:00
Thomas G. Lockhart
6698389349
Change error message for rejected input.
1997-11-07 06:32:05 +00:00
Thomas G. Lockhart
e037c351d4
Update for modified quoting style in some error messages.
1997-10-30 16:53:51 +00:00
Bruce Momjian
a47158a0e1
Add script to check regression tests.
1997-10-30 04:27:14 +00:00
Thomas G. Lockhart
f15eeff1bd
Modify to reflect changes in boolean input behavior (rejects bad input
...
rather than assuming FALSE).
1997-10-25 06:03:08 +00:00
Thomas G. Lockhart
ac357fb44c
Remove extraneous row from user_relns table. Don't know where it came from...
1997-10-25 06:01:21 +00:00
Vadim B. Mikheev
fcfb4d1df6
Changes due to fixed DEFAULT behaviour.
1997-10-17 09:59:09 +00:00
Vadim B. Mikheev
142d42f938
Scripts to run queries and data.
1997-09-26 14:57:36 +00:00
Vadim B. Mikheev
dbde5caeed
Some results.
1997-09-26 14:55:44 +00:00
Vadim B. Mikheev
cf76759f34
Start with performance suite.
1997-09-26 14:55:21 +00:00
Bruce Momjian
2f4275327e
Massive examples fix from Nicola Bernardelli
1997-09-25 16:35:52 +00:00
Thomas G. Lockhart
d77a506307
Use additional ORDER BY to cope with new sorting routines.
1997-09-24 17:55:38 +00:00
Vadim B. Mikheev
c13454edc2
Timetravel tests.
1997-09-24 08:36:47 +00:00
Vadim B. Mikheev
76271543ae
Added: ttdummy() - variation of timetravel() function
...
for regress test.
1997-09-24 08:35:10 +00:00
Thomas G. Lockhart
1556e62573
Output changed for new ORDER BY to cope with new sorting routines.
1997-09-20 16:37:02 +00:00
Thomas G. Lockhart
7971fb0d79
Output changed to reflect extra entries from new regression tests.
1997-09-20 16:35:34 +00:00
Thomas G. Lockhart
8bb569105a
Change ORDER BY to get consistant results with new sorting routines.
1997-09-20 16:34:08 +00:00
Thomas G. Lockhart
d8ec518000
Update results count to reflect bad entries now being rejected by new decoder.
1997-09-20 16:33:24 +00:00
Thomas G. Lockhart
68cd097e89
Change ORDER BY to get more consistant results.
1997-09-20 16:31:44 +00:00
Bruce Momjian
3f365ba0fc
Inline memset() as MemSet().
1997-09-18 20:22:58 +00:00
Vadim B. Mikheev
2a3e28282e
QUERY: SELECT p.name, p.age FROM person* p ORDER BY age using >;
...
^^^^^^ - new order of tuples (due to psort changes)
1997-09-18 14:45:33 +00:00
Thomas G. Lockhart
36b54847cb
Add explicit test for various comment syntaxes.
1997-09-18 03:54:19 +00:00
Thomas G. Lockhart
1d9ad887cd
Explicitly test various comment syntaxes.
1997-09-18 03:52:43 +00:00
Thomas G. Lockhart
2b4be93787
Modify to match current expected output
...
after adding separate sections for DEFAULT and CHECK.
1997-09-16 16:17:19 +00:00
Thomas G. Lockhart
b8967bfeec
Add explicit, separate test sections for DEFAULT and CHECK.
...
Use conventions common to other regression test input files.
Leave non-temporary files at end of test.
1997-09-16 16:15:52 +00:00
Thomas G. Lockhart
829354d849
Remove extraneous blank lines from error messages.
1997-09-16 16:13:58 +00:00
Thomas G. Lockhart
ebb000f805
Add results from Vadim's new tables.
1997-09-13 03:21:05 +00:00
Thomas G. Lockhart
05428ada1d
Add tests for unary minus.
1997-09-13 03:20:18 +00:00
Thomas G. Lockhart
e4b27f2acd
Make tests match with modified error messages.
1997-09-13 03:19:43 +00:00
Thomas G. Lockhart
aeecb4e505
Add a few tests for unary minus syntax.
1997-09-13 03:16:53 +00:00
Vadim B. Mikheev
ba247bd649
Tests for spi/triggers
1997-09-11 09:14:12 +00:00
Bruce Momjian
59f6a57e59
Used modified version of indent that understands over 100 typedefs.
1997-09-08 21:56:23 +00:00
Bruce Momjian
075cede748
Add typdefs to pgindent run.
1997-09-08 20:59:27 +00:00
Bruce Momjian
319dbfa736
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
1997-09-08 02:41:22 +00:00
Bruce Momjian
1ccd423235
Massive commit to run PGINDENT on all *.c and *.h files.
1997-09-07 05:04:48 +00:00
Thomas G. Lockhart
bebfe968e3
Test new intersection and closest point operators.
...
Fix up results labels on queries.
Update existing queries which now return good results.
1997-09-01 06:19:43 +00:00
Thomas G. Lockhart
2d0e6b0ff7
Test new intersection and closest point operators.
...
Fix up results labels on queries.
1997-09-01 06:18:45 +00:00
Thomas G. Lockhart
f2a9e203e8
Test for "current" time by comparing against "now".
1997-09-01 06:16:08 +00:00
Vadim B. Mikheev
174bc0c1e7
Tests for CHECK/DEFAULT
1997-08-28 04:49:34 +00:00
Bruce Momjian
1d8bbfd2e7
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
1997-08-19 21:40:56 +00:00
Bruce Momjian
ea5b5357cd
Remove more (void) and fix -Wall warnings.
1997-08-12 22:55:25 +00:00
Thomas G. Lockhart
622af87fd2
Results from initial changes to add new functions and for bug fixes.
...
Not all cleaned up yet.
1997-07-29 16:24:04 +00:00
Thomas G. Lockhart
3d5dd9bdd9
Start adding tests for new geometry functions.
...
Not all cleaned up yet.
1997-07-29 16:22:48 +00:00
Thomas G. Lockhart
c5035643af
Use better routines from geometry library.
1997-07-29 16:21:12 +00:00
Bruce Momjian
8d25436d70
mkLinux patches from Tatsuo Ishii.
1997-07-29 14:09:11 +00:00
Bruce Momjian
7c5afb87c3
Makefile fix from Tatsuo Ishii.
1997-07-28 23:57:20 +00:00
Bruce Momjian
35a952a2ed
Fixes from Jody Winston
1997-07-10 01:15:11 +00:00
Thomas G. Lockhart
54c38a95ee
Add test results for "SET DateStyle" alternative datetime formats.
1997-07-02 01:34:24 +00:00
Thomas G. Lockhart
48b5432769
Include tests for DateStyle output format variations.
1997-07-01 00:34:34 +00:00
Thomas G. Lockhart
c05a7bd972
Test "SET DateStyle TO..." output options.
1997-06-23 15:08:59 +00:00
Thomas G. Lockhart
3267b4b767
Adapt expected output to drop ".00" from datetime seconds field.
...
This is compatible with abstime formats.
1997-06-23 15:07:54 +00:00
Thomas G. Lockhart
89abee4691
Test the "SET DateStyle TO..." date formatting modes.
1997-06-23 15:05:52 +00:00
Thomas G. Lockhart
374b0009fd
Fix predicted output for month boundary arithmetic problems in
...
datetime +/- timespan. Only manifested when date is at end of month
and time pushes the date into the next month.
1997-06-20 17:20:55 +00:00
Thomas G. Lockhart
20e71222ea
Change one date away from PST to avoid trouble after daylight savings time.
1997-06-06 06:13:10 +00:00
Thomas G. Lockhart
e7044d70ef
Change one date away from PST to avoid trouble after daylight savings time.
1997-06-06 06:05:53 +00:00
Marc G. Fournier
355d6a2767
From: PortSite <info@portsite.nl>
...
The GNUmakefile in src/test/regress uses `gmake' for
the make program. This should be $(MAKE)
1997-06-06 01:35:57 +00:00
Thomas G. Lockhart
98b56067ed
Use error message syntax consistant with other messages from the same
...
reference platform (Linux/gcc-lib/i686).
1997-06-03 14:34:51 +00:00
Thomas G. Lockhart
e6924c9750
Update to reflect new "drop aggregate" syntax and messages.
1997-06-03 14:31:46 +00:00
Thomas G. Lockhart
8aefe09731
Update to show new path and polygon syntax.
1997-06-03 14:29:51 +00:00
Thomas G. Lockhart
3d9584c9d9
Update path and polygon syntax to new conventions.
1997-06-03 14:24:12 +00:00
Thomas G. Lockhart
ad7952aae3
Update to use new path geometric type syntax.
...
Order in streets.data changed and is now alphabetical (sorry).
1997-06-03 14:21:36 +00:00
Thomas G. Lockhart
dc5bcc8621
Modify banner to suggest using PST8PDT time zone rather than full specifier
...
string.
1997-06-03 14:19:28 +00:00
Thomas G. Lockhart
066fce7bf9
Update to suggest using PST8PDT time zone rather than full time zone string.
...
Include section on error message differences.
1997-06-03 14:18:38 +00:00
Bruce Momjian
4d9b4dc973
Changed 1943 to 1947 to fix, other cleanups.
1997-06-01 02:30:25 +00:00
Marc G. Fournier
5e7c0a0b9a
From: Darren King <aixssd!darrenk@abs.net>
...
Subject: [PATCHES] DROP AGGREGATE patch/fix.
Here's a patch that fixes the DROP AGGREGATE command to delete
the desired aggregate for a specific type.
1997-05-22 00:17:24 +00:00
Marc G. Fournier
3e871388b5
From: Darren King <aixssd!darrenk@abs.net>
...
Subject: [PATCHES] Re: [PORTS] AIX 6.1 fixes...
Here are the patches for the two things that wouldn't make it thru the AIX
compiler. The geo_ops.c change is harmless I believe. The nbtcompare.c patch
fixes me, but I don't know about any other ports. Maybe wait on that one
until Vadim decides what to do about the unsigned vs signed chars varlena
issue.
1997-05-22 00:07:30 +00:00
Thomas G. Lockhart
99643abec7
Spiff up description of the regression tests and outcomes.
1997-05-17 06:17:45 +00:00
Thomas G. Lockhart
f8d4b3cf40
Fix expected output for datetime and abstime to/from date conversions.
...
This results from improvements in datetime.c which ensures that the
conversions are done in local time rather than GMT.
1997-05-16 07:22:28 +00:00
Thomas G. Lockhart
8ce8d6550f
Update to current information for upcoming v6.1 production release.
1997-05-11 15:46:19 +00:00
Thomas G. Lockhart
cc25efef92
More tables are listed in the user-defined relations from other regression
...
tests, including new tests.
1997-05-11 15:45:10 +00:00
Thomas G. Lockhart
83b8cf5b6b
Add inter-type regression tests for geometry, date/time, and numbers.
...
Add regression tests for circles, line segments, and paths.
Modify regression tests to allow GEQ optimizer (order results).
1997-05-11 15:42:09 +00:00
Marc G. Fournier
6ef382c621
From: Keith Parks <emkxp01@mtcc.demon.co.uk>
...
Subject: [PATCHES] Patches for boolean, timespan and reltime regression tests.
Hi All,
Here are a couple of patches to the regression tests to introduce
some specific ordering to the results.
I've only made changes to the queries that were exhibiting differences
on my regression runs.
This will also have the side effect of testing the ordering code for
the boolean and some of the time types.
1997-05-09 03:26:56 +00:00
Vadim B. Mikheev
3e1933bc05
There is no more _CWD_ tag in sources...
1997-05-05 06:53:36 +00:00
Vadim B. Mikheev
7cbfb19c46
WARN:parser: parser error ...
...
changed to
WARN:parser: syntax error ...
1997-05-05 06:50:28 +00:00
Vadim B. Mikheev
62d1d23b6b
If SELECT uses index (btree) then ordered results are returned.
1997-05-05 06:47:47 +00:00
Vadim B. Mikheev
fb100e6bf2
There is no partial index onek2_u1_prtl in tests...
1997-05-05 06:43:59 +00:00
Thomas G. Lockhart
917abdd140
Add substitution from output/.. to input/.. to match templates from inputs.
1997-05-02 13:43:14 +00:00
Thomas G. Lockhart
50f058e26f
Update to work with new regression tests and directory structure.
1997-05-02 13:13:44 +00:00
Thomas G. Lockhart
f550efa237
New test data for aggregate functions.
1997-05-02 13:08:11 +00:00
Thomas G. Lockhart
a2fd844c3b
Reorder tests and move aggregate table data to data/.
1997-04-29 14:29:16 +00:00
Thomas G. Lockhart
1594bf2a93
Added initial set of expected outputs for new regression testing.
...
Modified a few tests to match results on RedHat Linux/gcc for v6.1beta.
1997-04-29 14:23:51 +00:00
Thomas G. Lockhart
36712e8808
Provide template for the misc tests which contain path names.
1997-04-27 19:28:23 +00:00
Thomas G. Lockhart
9cdc80899a
Fix path name templates.
1997-04-27 19:27:34 +00:00
Marc G. Fournier
65973e3f35
From: Keith Parks <emkxp01@mtcc.demon.co.uk>
...
Subject: [PATCHES] to make regress.sh shell friendly to echo.
Hi,
I needed to make the following change to regress.sh to make it more
shell friendly.
The Solaris /bin/sh, and others, use \c to supress the newline.
1997-04-27 18:55:37 +00:00
Marc G. Fournier
a426ff583d
There, I'll leave this alone until Thomas catchs up *grin*
1997-04-27 18:13:54 +00:00
Marc G. Fournier
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
Marc G. Fournier
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
Marc G. Fournier
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
Marc G. Fournier
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
Marc G. Fournier
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
Marc G. Fournier
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
Marc G. Fournier
b63e57bea8
*shrug* I don't know anymore...
1997-04-27 03:57:34 +00:00
Marc G. Fournier
78454c2744
*shrug*
1997-04-27 03:56:23 +00:00
Marc G. Fournier
df77071773
Massive regression test patches from Thomas *woo hoo!*
1997-04-27 02:58:38 +00:00
Marc G. Fournier
afb539c25a
Add a results directory and a Makefile so that 'make clean' cleans it out
1997-04-26 06:31:55 +00:00
Marc G. Fournier
b2f2e0316e
More misc patches from Thomas for regression tests and linux templates
1997-04-26 05:50:25 +00:00
Marc G. Fournier
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
Marc G. Fournier
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
Marc G. Fournier
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
Marc G. Fournier
cfe0d67dc1
Some slight changes to the Wisconsin Benchmark tests since postgres requires
...
a -D<datadir> option
1997-04-17 13:48:52 +00:00
Marc G. Fournier
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
Marc G. Fournier
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
Marc G. Fournier
b30aa6ecb8
Slight mods to explain (or try to) the new regression tests
1997-04-08 19:34:58 +00:00
Marc G. Fournier
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
Marc G. Fournier
e31cb4be3a
More splits and cleanups...
...
Its starting to actually take shape and look as expected...
1997-04-06 08:29:57 +00:00
Marc G. Fournier
588ae64c44
More splits and cleanups...
1997-04-06 06:07:13 +00:00
Marc G. Fournier
23733026ee
remove create.{source,sql} as they are now down in the 'sql' directory
...
partially split
1997-04-05 21:33:26 +00:00
Marc G. Fournier
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
Marc G. Fournier
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
Marc G. Fournier
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
Marc G. Fournier
04688df668
Again, add more tests
1997-04-05 11:26:55 +00:00
Marc G. Fournier
7956e606d6
Add more expected.out results
1997-04-05 11:24:54 +00:00
Marc G. Fournier
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
Marc G. Fournier
9607e69c24
These are the broken down 'expected.output' files created so far
1997-04-05 11:06:04 +00:00
Marc G. Fournier
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
Marc G. Fournier
791c075852
Date/Time updates from Thomas...
1997-03-14 23:34:16 +00:00
Bruce Momjian
34fd62c512
Remove case-sensitive identifiers. Thanks for Dan McGuirk for a reversal patch.
1997-03-02 01:03:44 +00:00
Bruce Momjian
872c708f8f
Small regress cleanup.
1997-03-01 16:44:43 +00:00
Bruce Momjian
0f90c7a009
Rename GNUMakefile to GNUmakefile so gmake finds it.
1997-01-21 01:27:18 +00:00
Bryan Henderson
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
Marc G. Fournier
1760f08616
Unapply a patch that wasn't a patch...
1997-01-16 18:05:12 +00:00
Marc G. Fournier
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
Bruce Momjian
abeaabef2e
Restored original pg_type/pg_attribute defaults. Regression fixes.
1997-01-14 01:42:38 +00:00
Bryan Henderson
227015b08e
Standardize all LDADD to LD_ADD.
1997-01-05 21:17:45 +00:00
Bruce Momjian
e981bcb0c3
Fix expected regression output.
1996-12-28 23:07:54 +00:00
Bruce Momjian
8cc2eb66ec
Fixed errors in create statement.
1996-12-28 22:46:40 +00:00
Bruce Momjian
ea8b5196ff
Small regression and doc patch
1996-12-13 02:39:00 +00:00
Bryan Henderson
33edbdb59b
Remove include of libpq-fe.h. This file has nothing to do with libpq.
1996-12-09 01:24:53 +00:00
Bruce Momjian
58193362bd
Reduce regression diffs
1996-12-02 14:17:59 +00:00
Bruce Momjian
5f9bdb7641
Reduce regression diff size with timezone changes and cleanup.
1996-12-02 06:31:20 +00:00
Bryan Henderson
81f5c669e9
This file has not been part of the regression test for many releases.
1996-11-19 02:57:10 +00:00
Bruce Momjian
317f375bb2
Rename SLSUFF to DLSUFFIX
1996-11-18 06:07:56 +00:00
Bruce Momjian
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
Bryan Henderson
b20766ccc4
Eliminate MKDIR, srcdir, objdir. Centralize setting of LIBPQDIR.
1996-11-13 10:36:36 +00:00
Bryan Henderson
d7dd9295b7
End of the make file simplifications.
1996-11-12 11:43:32 +00:00
Marc G. Fournier
c8708c5f9b
Fix for finding the include files
1996-11-12 11:16:44 +00:00
Bryan Henderson
b5499249e5
Quiet compiler warnings.
1996-11-12 11:09:13 +00:00
Marc G. Fournier
c7ce63e04c
Add include file postgres.h
1996-11-11 16:33:12 +00:00
Bruce Momjian
5061c23ac2
Rename CDEBUG to COPT
1996-11-04 05:15:07 +00:00
Bruce Momjian
f59a46a8c8
Parser Overhaul
1996-10-30 02:02:41 +00:00
Bruce Momjian
f6792efcc7
Remove sytax errors from file.
1996-10-07 02:33:25 +00:00
Marc G. Fournier
ab57e09e1c
Fixes:
...
Also, I think that an extra source of noise in the diff of regress.out and
expected.out is caused by not substituting the shared library file
extension in the regression.input file (much like the paths and the
usernames are sub'ed). This seems to be fixed with the following patches
to regression.input and the Makefile... If I'm off base here, please tell!
Submitted by: Wayde Nie <niew@phoenix.cis.mcmaster.ca>
1996-08-06 16:51:35 +00:00
Marc G. Fournier
7d1402d071
Okay...*last* commit, now to create a release...
...
README file for regresssion tests from Dr. George
1996-08-02 01:24:00 +00:00
Marc G. Fournier
642668c31d
Update to expected.input from Dr. George
1996-08-02 01:18:05 +00:00
Marc G. Fournier
a82aa45a4d
An actual README file for the regression tests
...
Submitted by: Dr. George
1996-08-01 04:53:22 +00:00
Marc G. Fournier
ce48b4d5bd
A newer expected.input file for the regression tests
...
Submitted by: Dr. Geoge
1996-08-01 04:51:49 +00:00
Marc G. Fournier
32a3858add
corrects the output for a 'SELECT DISTINCT ON ...' at line 2900
...
submitted by: Dr_George_D_Detlefsen <drgeorge@ilt.com>
1996-07-27 02:06:10 +00:00
Marc G. Fournier
f45dfa6174
should always take mail headers out of Makefile files befor ecommitting :)
1996-07-26 20:15:40 +00:00
Marc G. Fournier
ba4b7f5021
regression Makefile, rev 2
...
Submitted by: Dr. George
1996-07-26 19:58:04 +00:00
Marc G. Fournier
9e0a8d4b26
improvements to regression testing
...
submitted by: dr. george
1996-07-25 19:56:59 +00:00
Marc G. Fournier
245686d43a
modifications to regressoin tests
1996-07-23 03:19:34 +00:00
Marc G. Fournier
94215d51c8
Fixes:
...
The updating of array fields is broken in Postgres95-1.01, An array can
be only replaced with a new array but not have some elements modified.
This is caused by two bugs in the parser and in the array utilities.
Furthermore it is not possible to update array with a base type of
variable length.
- submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
1996-07-20 07:59:41 +00:00
Marc G. Fournier
d31084e9d1
Postgres95 1.01 Distribution - Virgin Sources
1996-07-09 06:22:35 +00:00