postgresql/src/test/regress/sql
Tom Lane e649796f12 Implement outer-level aggregates to conform to the SQL spec, with
extensions to support our historical behavior.  An aggregate belongs
to the closest query level of any of the variables in its argument,
or the current query level if there are no variables (e.g., COUNT(*)).
The implementation involves adding an agglevelsup field to Aggref,
and treating outer aggregates like outer variables at planning time.
2003-06-06 15:04:03 +00:00
..
abstime.sql Update regress tests to reflect removal of 'current'. 2001-11-21 18:27:25 +00:00
aggregates.sql Implement outer-level aggregates to conform to the SQL spec, with 2003-06-06 15:04:03 +00:00
alter_table.sql Backend support for autocommit removed, per recent discussions. The 2003-05-14 03:26:03 +00:00
arrays.sql First phase of work on array improvements. ARRAY[x,y,z] constructor 2003-04-08 23:20:04 +00:00
bit.sql Make bit and bit varying types reject too long input. (They already tried 2001-05-22 16:37:17 +00:00
boolean.sql Clean up syntax to use SQL92-ish type coersion 2000-01-04 16:21:02 +00:00
box.sql Implement column aliases on views "CREATE VIEW name (collist)". 2000-03-14 23:06:59 +00:00
btree_index.sql Clean up header for uniform appearance throughout tests. 2000-01-06 06:41:55 +00:00
case.sql Clean up header for uniform appearance throughout tests. 2000-01-06 06:41:55 +00:00
char.sql Make char(n) and varchar(n) types raise an error if the inserted string is 2001-05-21 16:54:46 +00:00
circle.sql Revise geometry regression testing to eliminate most cross-platform 2002-11-08 20:09:55 +00:00
cluster.sql Add ALTER TABLE <tablename> CLUSTER ON <indexname> 2003-03-20 18:52:48 +00:00
comments.sql Implement nested block comments in the backend and in psql. 2000-07-14 15:43:57 +00:00
conversion.sql Tweak conversion names to follow the established naming scheme, and 2002-09-24 20:14:59 +00:00
copy2.sql Backend support for autocommit removed, per recent discussions. The 2003-05-14 03:26:03 +00:00
create_aggregate.sql Revise aggregate functions per earlier discussions in pghackers. 2000-07-17 03:05:41 +00:00
create_index.sql Add a regression test to catch future silliness in the index-building 2003-05-29 01:09:13 +00:00
create_misc.sql Todo items: 2003-03-20 07:02:11 +00:00
create_operator.sql Update format to add uniform headers on files. 2000-01-05 17:32:29 +00:00
create_table.sql Make char(n) and varchar(n) types raise an error if the inserted string is 2001-05-21 16:54:46 +00:00
create_type.sql Add a bunch of pseudo-types to replace the behavior formerly associated 2002-08-22 00:01:51 +00:00
create_view.sql CREATE OR REPLACE VIEW, CREATE OR REPLACE RULE. 2002-09-02 02:13:02 +00:00
date.sql Add regression tests for date, time, and time with time zone types. 2000-09-12 05:42:20 +00:00
domain.sql Backend support for autocommit removed, per recent discussions. The 2003-05-14 03:26:03 +00:00
drop.sql Add a bunch of pseudo-types to replace the behavior formerly associated 2002-08-22 00:01:51 +00:00
errors.sql Add explicit tests for division by zero to all user-accessible integer 2003-03-11 21:01:33 +00:00
euc_cn.sql Hi, here are the patches to enhance existing MB handling. This time 1998-06-16 07:29:54 +00:00
euc_jp.sql From: t-ishii@sra.co.jp 1998-04-27 17:10:50 +00:00
euc_kr.sql Hi, here are the patches to enhance existing MB handling. This time 1998-06-16 07:29:54 +00:00
euc_tw.sql Add missing mb files. 1999-02-02 19:04:43 +00:00
float4.sql Clean up syntax to use SQL92-ish type coersion 2000-01-04 16:21:02 +00:00
float8.sql This patch adds some missing functions for float8 math operations, 2002-10-19 02:08:19 +00:00
foreign_key.sql Improve documentation of trigger firing queue handling, cleanup. 2002-08-17 12:15:49 +00:00
geometry.sql Revise geometry regression testing to eliminate most cross-platform 2002-11-08 20:09:55 +00:00
hash_index.sql Clean up header for uniform appearance throughout tests. 2000-01-06 06:41:55 +00:00
horology.sql Attached is a patch that limits the range tested by horology to 2003-03-20 06:03:00 +00:00
inet.sql Back out ORDER BY addition to Inet, for Tom. 2003-01-15 20:01:01 +00:00
inherit.sql Turns out new IN implementation has got some problems in an UPDATE or 2003-03-05 20:01:04 +00:00
insert.sql Reports missing values as bad. 2002-04-24 02:22:54 +00:00
int2.sql Clean up syntax to use SQL92-ish type coersion 2000-01-04 16:21:02 +00:00
int4.sql Implement column aliases on views "CREATE VIEW name (collist)". 2000-03-14 23:06:59 +00:00
int8.sql Change float8-to-int8 conversion to round to nearest, rather than 2001-01-26 22:50:26 +00:00
interval.sql First phase of FE/BE protocol modifications: new StartupPacket layout 2003-04-17 22:26:02 +00:00
join.sql Fix thinko in new logic about pushing down non-nullability constraints: 2003-02-10 17:08:50 +00:00
limit.sql Remove LIMIT #,# and suggest LIMIT # OFFSET #, per mailing list discussion. 2001-10-20 02:55:39 +00:00
lseg.sql Clean up format of tests. 2000-01-05 06:07:58 +00:00
mule_internal.sql Hi, here are the patches to enhance existing MB handling. This time 1998-06-16 07:29:54 +00:00
name.sql Changes to documentation and the regression tests for the default 2002-09-07 18:39:05 +00:00
numeric.sql Update create_rule manual page. 2000-04-07 19:17:51 +00:00
numeric_big.sql Update numeric_big regress test for 7.0. This has apparently been 2000-03-30 07:13:20 +00:00
numerology.sql Tweak GROUP BY so that it will still accept result-column names, but only 2000-03-15 23:31:19 +00:00
oid.sql Make oidin/oidout produce and consume unsigned representation of Oid, 2000-11-21 03:23:21 +00:00
oidjoins.sql Backend support for autocommit removed, per recent discussions. The 2003-05-14 03:26:03 +00:00
opr_sanity.sql Cause CHAR(n) to TEXT or VARCHAR conversion to automatically strip trailing 2003-05-26 00:11:29 +00:00
path.sql Clean up format of tests. 2000-01-05 06:07:58 +00:00
plpgsql.sql This patch makes a minor cleanup to the implementation of PERFORM in 2002-11-10 00:35:58 +00:00
point.sql Clean up format of tests. 2000-01-05 06:07:58 +00:00
polygon.sql Clean up format of tests. 2000-01-05 06:07:58 +00:00
portals.sql Code review for holdable-cursors patch. Fix error recovery, memory 2003-04-29 03:21:30 +00:00
portals_p2.sql Partial indexes work again, courtesy of Martijn van Oosterhout. 2001-07-16 05:07:00 +00:00
prepare.sql PREPARE/EXECUTE statements. Patch by Neil Conway, some kibitzing 2002-08-27 04:55:12 +00:00
privileges.sql Backend support for autocommit removed, per recent discussions. The 2003-05-14 03:26:03 +00:00
random.sql The "random" regression test uses a function called oidrand(), which 2003-02-13 05:24:04 +00:00
rangefuncs.sql Fix for breakage of C-coded SRFs, from Joe Conway. 2002-08-30 19:56:49 +00:00
reltime.sql Clean up format of tests. 2000-01-05 06:07:58 +00:00
rules.sql Initial version of the SQL information schema 2002-12-14 00:24:35 +00:00
sanity_check.sql Replace functional-index facility with expressional indexes. Any column 2003-05-28 16:04:02 +00:00
select.sql Back out BETWEEN node patch, was causing initdb failure. 2002-07-18 17:14:20 +00:00
select_distinct.sql Add a basic regression test for IS DISTINCT FROM, which has spent way too 2002-12-13 20:16:11 +00:00
select_distinct_on.sql Redesign DISTINCT ON as discussed in pgsql-sql 1/25/00: syntax is now 2000-01-27 18:11:50 +00:00
select_having.sql Finish implementation of hashed aggregation. Add enable_hashagg GUC 2002-11-21 00:42:20 +00:00
select_implicit.sql Finish implementation of hashed aggregation. Add enable_hashagg GUC 2002-11-21 00:42:20 +00:00
select_into.sql Remove FROM warning by fixing query. 2000-06-04 17:52:54 +00:00
select_views.sql Clean up header for uniform appearance throughout tests. 2000-01-06 06:41:55 +00:00
sequence.sql Todo items: 2003-03-20 07:02:11 +00:00
sql_ascii.sql Add SQL_ASCII encoding test case 2000-03-06 01:29:54 +00:00
strings.sql Cause CHAR(n) to TEXT or VARCHAR conversion to automatically strip trailing 2003-05-26 00:11:29 +00:00
subselect.sql Finish implementation of hashed aggregation. Add enable_hashagg GUC 2002-11-21 00:42:20 +00:00
temp.sql Backend support for autocommit removed, per recent discussions. The 2003-05-14 03:26:03 +00:00
text.sql Clean up syntax to use SQL92-ish type coersion 2000-01-04 16:21:02 +00:00
time.sql Allow a time zone to be specified (and silently ignored) in the input 2003-01-31 01:08:08 +00:00
timestamp.sql Make regress tests safe for variable-resolution timestamps. 2001-10-04 14:51:06 +00:00
timestamptz.sql Make regress tests safe for variable-resolution timestamps. 2001-10-04 14:51:06 +00:00
timetz.sql Fix queries to insulate from daylight savings time. 2001-10-31 14:44:23 +00:00
tinterval.sql Add separate regression tests for timetz and the new timestamptz type. 2001-09-28 08:00:11 +00:00
transactions.sql Read-only transactions, as defined in SQL. 2003-01-10 22:03:30 +00:00
triggers.sql Update regression for new patches. Bump up catversion. 2002-11-23 18:13:22 +00:00
truncate.sql Transaction safe Truncate 2002-11-23 04:05:52 +00:00
type_sanity.sql Implement array_send/array_recv (binary I/O for arrays). This exposed 2003-05-09 23:01:45 +00:00
union.sql Cause CHAR(n) to TEXT or VARCHAR conversion to automatically strip trailing 2003-05-26 00:11:29 +00:00
vacuum.sql Add new vacuum regression test files. 2002-07-20 04:58:14 +00:00
varchar.sql Make char(n) and varchar(n) types raise an error if the inserted string is 2001-05-21 16:54:46 +00:00
without_oid.sql Add new configure files for missing-oid patch. 2002-07-20 05:39:46 +00:00