head	1.43;
access;
symbols
	REL7_0_PATCHES:1.40.0.2
	REL7_0:1.40
	REL6_5_PATCHES:1.39.0.2
	REL6_5:1.39
	REL6_4:1.31.0.2
	release-6-3:1.17;
locks; strict;
comment	@# @;


1.43
date	2000.11.30.20.43.31;	author petere;	state dead;
branches;
next	1.42;

1.42
date	2000.09.14.15.55.07;	author thomas;	state Exp;
branches;
next	1.41;

1.41
date	2000.09.12.05.42.19;	author thomas;	state Exp;
branches;
next	1.40;

1.40
date	2000.02.16.17.27.26;	author thomas;	state Exp;
branches;
next	1.39;

1.39
date	99.06.10.17.49.32;	author wieck;	state Exp;
branches;
next	1.38;

1.38
date	99.05.12.10.35.44;	author wieck;	state Exp;
branches;
next	1.37;

1.37
date	99.03.28.02.05.51;	author tgl;	state Exp;
branches;
next	1.36;

1.36
date	99.03.26.08.02.52;	author tgl;	state Exp;
branches;
next	1.35;

1.35
date	99.02.23.07.27.13;	author thomas;	state Exp;
branches;
next	1.34;

1.34
date	99.02.08.14.14.32;	author wieck;	state Exp;
branches;
next	1.33;

1.33
date	99.02.02.03.45.54;	author momjian;	state Exp;
branches;
next	1.32;

1.32
date	98.12.04.15.35.10;	author thomas;	state Exp;
branches;
next	1.31;

1.31
date	98.10.29.04.25.23;	author tgl;	state Exp;
branches;
next	1.30;

1.30
date	98.10.27.19.34.18;	author thomas;	state Exp;
branches;
next	1.29;

1.29
date	98.09.29.12.43.05;	author scrappy;	state Exp;
branches;
next	1.28;

1.28
date	98.09.16.14.35.37;	author thomas;	state Exp;
branches;
next	1.27;

1.27
date	98.08.30.19.54.04;	author thomas;	state Exp;
branches;
next	1.26;

1.26
date	98.08.24.01.17.46;	author momjian;	state Exp;
branches;
next	1.25;

1.25
date	98.08.19.00.14.39;	author scrappy;	state Exp;
branches;
next	1.24;

1.24
date	98.07.09.14.32.58;	author thomas;	state Exp;
branches;
next	1.23;

1.23
date	98.07.08.14.31.02;	author thomas;	state Exp;
branches;
next	1.22;

1.22
date	98.06.05.03.49.20;	author momjian;	state Exp;
branches;
next	1.21;

1.21
date	98.05.29.13.23.02;	author thomas;	state Exp;
branches;
next	1.20;

1.20
date	98.04.26.04.12.11;	author momjian;	state Exp;
branches;
next	1.19;

1.19
date	98.04.07.18.14.32;	author momjian;	state Exp;
branches;
next	1.18;

1.18
date	98.03.30.17.28.18;	author momjian;	state Exp;
branches;
next	1.17;

1.17
date	98.02.18.07.30.33;	author thomas;	state Exp;
branches;
next	1.16;

1.16
date	97.12.01.02.46.09;	author thomas;	state Exp;
branches;
next	1.15;

1.15
date	97.09.18.03.54.19;	author thomas;	state Exp;
branches;
next	1.14;

1.14
date	97.09.11.09.14.06;	author vadim;	state Exp;
branches;
next	1.13;

1.13
date	97.08.28.04.49.34;	author vadim;	state Exp;
branches;
next	1.12;

1.12
date	97.05.11.15.42.08;	author thomas;	state Exp;
branches;
next	1.11;

1.11
date	97.04.29.14.29.16;	author thomas;	state Exp;
branches;
next	1.10;

1.10
date	97.04.27.18.13.54;	author scrappy;	state Exp;
branches;
next	1.9;

1.9
date	97.04.27.17.40.11;	author scrappy;	state Exp;
branches;
next	1.8;

1.8
date	97.04.27.04.03.50;	author scrappy;	state Exp;
branches;
next	1.7;

1.7
date	97.04.27.02.58.38;	author scrappy;	state Exp;
branches;
next	1.6;

1.6
date	97.04.06.08.29.57;	author scrappy;	state Exp;
branches;
next	1.5;

1.5
date	97.04.06.06.07.13;	author scrappy;	state Exp;
branches;
next	1.4;

1.4
date	97.04.05.21.26.00;	author scrappy;	state Exp;
branches;
next	1.3;

1.3
date	97.04.05.11.58.40;	author scrappy;	state Exp;
branches;
next	1.2;

1.2
date	97.04.05.11.26.52;	author scrappy;	state Exp;
branches;
next	1.1;

1.1
date	97.04.05.11.08.29;	author scrappy;	state Exp;
branches;
next	;


desc
@@


1.43
log
@Remove old regression test drivers.
@
text
@boolean
char
name
varchar
text
strings
int2
int4
int8
oid
float4
float8
numerology
point
lseg
box
path
polygon
circle
geometry
date
time
timestamp
interval
abstime
reltime
tinterval
horology
inet
comments
oidjoins
type_sanity
opr_sanity
create_function_1
create_type
create_table
create_function_2
constraints
triggers
copy
create_misc
create_aggregate
create_operator
create_view
create_index
sanity_check
errors
select
select_into
select_distinct
select_distinct_on
select_implicit
select_having
subselect
union
case
join
aggregates
transactions
random
portals
misc
arrays
btree_index
hash_index
select_views
alter_table
portals_p2
rules
limit
plpgsql
temp
numeric
@


1.42
log
@Move a few specific tests to isolate homogenous type tests into
 regression tests for specific types, and move a few others to the
 cross-type "horology" test.
Rearrange the test order slightly, and move the abstime test to the
 "parallel safe" area.
Hand-patch the results for "1947" and for "solaris", so those may not
 be exactly correct.
@
text
@@


1.41
log
@Add regression tests for date, time, and time with time zone types.
Modify date->timestamp conversion to use mktime().
 This should do better than before around Daylight Savings Time
 transitions.
@
text
@d23 1
d25 1
a25 1
timestamp
a26 1
abstime
@


1.40
log
@All regression tests pass except for rules.sql (unrelated).
Implement "date/time grand unification".
 Transform datetime and timespan into timestamp and interval.
 Deprecate datetime and timespan, though translate to new types in gram.y.
 Transform all datetime and timespan catalog entries into new types.
 Make "INTERVAL" reserved word allowed as a column identifier in gram.y.
 Remove dt.h, dt.c files, and retarget datetime.h, datetime.c as utility
  routines for all date/time types.
 date.{h,c} now deals with date, time types.
 timestamp.{h,c} now deals with timestamp, interval types.
 nabstime.{h,c} now deals with abstime, reltime, tinterval types.
Make NUMERIC a known native type for purposes of type coersion. Not tested.
@
text
@d21 2
@


1.39
log
@Added 2 regression tests for NUMERIC data type.

1. Using 100 digits after decimal point on the default
   make runtest.

2. Using 1000 digits after decimal point in a new target
   make bigtest.

At the end of 'make runtest', a hint about the new bigtest is
printed.

Jan
@
text
@d21 2
a22 2
timespan
datetime
@


1.38
log
@Added installation of created procedural languages to initdb

Jan
@
text
@d71 1
@


1.37
log
@New regression test to cross-check pg_type, pg_class,
and related tables.
@
text
@a68 1
install_plpgsql
@


1.36
log
@Add results of findoidjoins as a standard regression test.
@
text
@d30 1
@


1.35
log
@First tests using JOIN syntax.
@
text
@d29 1
@


1.34
log
@Added LIMIT/OFFSET functionality including new regression test for it.

Removed CURRENT keyword for rule queries and changed rules regression
accordingly. CURRENT has beed announced to disappear in v6.5.

Jan
@
text
@d53 1
@


1.33
log
@Add TEMP tables/indexes.  Add COPY pfree().  Other cleanups.
@
text
@d65 1
@


1.32
log
@Include test for CASE expression.
@
text
@d67 1
@


1.31
log
@Add new regression test to catch some simple kinds of
mistakes in creating pg_operator table.
@
text
@d52 1
@


1.30
log
@Add new inet/cidr regression test.
All regression tests pass on Linux/i686 with the current source tree.
@
text
@d29 1
@


1.29
log
@
From: Jan Wieck <jwieck@@debis.com>

    here  is  the  patch  that  includes  PL/pgSQL into the build
    (currently with make errors ignored) and  adds  a  regression
    test for it. A clean build and regression ran fine here.

    Can you please apply it?

    The  tar  should  be  extracted  in  /usr/local/src/pgsql and
    creates the following files:

    src/pl/Makefile
            called by toplevel GNUmakefile and for now only calls
            src/pl/plpgsql/Makefile

    src/pl/plpgsql/Makefile
            calls  src/pl/plpgsql/src/Makefile  (here the call to
            make ignores build errors  -  this  must  be  changed
            later for the final release).

    src/test/regress/input/install_plpgsql.source
            SQL script installing PL/pgSQL language in regression
            database. Will be modified by  .../input/Makefile  to
            point  to  correct  PGLIB  directory where plpgsql.so
            gets installed.

    src/test/regress/output/install_plpgsql.source
            expected output for installation script.

    src/test/regress/sql/plpgsql.sql
            the main regression  test.  It  tests  functions  and
            triggers written in PL/pgSQL including views that use
            supportfunctions in this language.

    src/test/regress/expected/plpgsql.out
            the expected output for the above regression test.

    make_plpgsql.diff
            patch that adds some lines to

            src/GNUmakefile.in
            src/test/regress/expected/Makefile
            src/test/regress/input/Makefile
            src/test/regress/output/Makefile
            src/test/regress/sql/Makefile
            src/test/regress/sql/tests
@
text
@d27 1
@


1.28
log
@Consolidate Jan's rules test into one file.
Remove dependency on a specific Postgres user name in the results
 (Check result against CURRENT_USER with a boolean instead).
@
text
@d62 2
@


1.27
log
@Types removed from Postgres: oidint2, oidint4, oidname.
Fix example columns in alter_table.out to use datetime and timespan
 as a substitute for oidint4 and oidname.
@
text
@d61 1
a61 2
setup_ruletest
run_ruletest
@


1.26
log
@    just that the regression tests for rules work, please apply
    the following to regress/sql/tests.

    If applying by hand note that the setup_... must run before
    the run_... (that I splitted these two was due to the errors
    that occured when creating rules and using them then in the
    same session - I'll post another fix for this later).

    BTW: the regression tests sanity_checks and alter_table fail
    now due to the remove of some indices and the oidint4 and
    oidname types. At least expectes should be set to the current
    results.

    Thanks.


Jan
@
text
@a10 3
oidint2
oidint4
oidname
@


1.25
log
@
Add rule tests to regression tests...
@
text
@d64 2
a65 2
run_ruletest.sql
setup_ruletest.sql
@


1.24
log
@"select_implicit" is renamed from "junkfilter" test.
Move from last test in list up to other "select_xxx" tests.
@
text
@d64 2
@


1.23
log
@Include tests for new 8-byte integer.
Include tests for HAVING clause.
@
text
@d49 1
a63 1
junkfilter
@


1.22
log
@I made several adjustments to my earlier patch to handle the
condition where the target label is ambiguous.
@
text
@d9 1
d49 1
@


1.21
log
@Add test for UNION.
Add additional tests in strings for conversions of the "name" data type.
Test SQL92 string functions such as SUBSTRING() and POSITION().
@
text
@d61 1
@


1.20
log
@Re-apply Darren's char2-16 removal code.
@
text
@d49 1
@


1.19
log
@Back out char2-char16 removal.  Add later.
@
text
@d3 1
a3 4
char2
char4
char8
char16
@


1.18
log
@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
@
text
@d3 4
a6 1
name
@


1.17
log
@Add new subselect test.
@
text
@d3 1
a3 4
char2
char4
char8
char16
@


1.16
log
@Adjust tests to reflect removal of time travel.
Add tests for strings and varchar.
@
text
@d51 1
@


1.15
log
@Add explicit test for various comment syntaxes.
@
text
@a2 1
char16
d6 2
d9 1
a60 1
purge
@


1.14
log
@Tests for spi/triggers
@
text
@d30 1
@


1.13
log
@Tests for CHECK/DEFAULT
@
text
@d35 1
@


1.12
log
@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).
@
text
@d34 1
@


1.11
log
@Reorder tests and move aggregate table data to data/.
@
text
@d16 1
d18 1
d20 1
d22 2
d29 1
@


1.10
log
@There, I'll leave this alone until Thomas catchs up *grin*
@
text
@a1 1
box
d7 1
a7 2
float4
float8
d14 2
d17 1
a18 1
text
d35 1
d40 1
d42 1
a43 1
errors
a44 1
random
a47 1
aggregates
@


1.9
log
@split out a bunch more tests from misc.source so that the tester knows
what's being tested :)
@
text
@d42 3
d47 5
a51 8
aggregates.sql
select_views.sql
alter_table.sql
purge.sql
portals_p2.sql
misc


@


1.8
log
@clean up misc.source and create *individual test* files ... trying to move
away from one big massive confusing file
@
text
@a0 15
create_function_1
create_type
create_table
create_function_2
copy
create_misc
create_aggregate
create_operator
create_view
create_index
sanity_check
timespan
datetime
reltime
abstime
d19 4
d24 11
d39 2
d44 5
d50 2
@


1.7
log
@Massive regression test patches from Thomas *woo hoo!*
@
text
@d40 2
@


1.6
log
@More splits and cleanups...

Its starting to actually take shape and look as expected...
@
text
@d12 2
d39 1
@


1.5
log
@More splits and cleanups...
@
text
@d1 1
a1 1
create_function
d4 2
d8 1
a9 1
create_operator
d33 4
@


1.4
log
@More splits of the regression tests in order to make them more
user-friendly (and more useful)
@
text
@d5 5
d31 1
@


1.3
log
@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 :)
@
text
@d1 4
@


1.2
log
@Again, add more tests
@
text
@a13 1
misc
@


1.1
log
@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
@
text
@a0 1
boolean
d3 1
a3 1
tinterval
d6 1
d9 14
@
