postgresql/src/test/regress/sql
Tom Lane aec4cf1c8c Add a function pg_stat_clear_snapshot() that discards any statistics snapshot
already collected in the current transaction; this allows plpgsql functions to
watch for stats updates even though they are confined to a single transaction.
Use this instead of the previous kluge involving pg_stat_file() to wait for
the stats collector to update in the stats regression test.  Internally,
decouple storage of stats snapshots from transaction boundaries; they'll
now stick around until someone calls pgstat_clear_snapshot --- which xact.c
still does at transaction end, to maintain the previous behavior.  This makes
the logic a lot cleaner, at the price of a couple dozen cycles per transaction
exit.
2007-02-07 23:11:30 +00:00
..
abstime.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
aggregates.sql SQL2003-standard statistical aggregates, by Sergey Koposov. I've added only 2006-07-28 18:33:04 +00:00
alter_table.sql ALTER TABLE ... ADD/DROPS INHERIT (actually INHERIT / NO INHERIT) 2006-07-02 01:58:36 +00:00
arrays.sql Allow assignment to array elements not contiguous with those already 2006-09-29 21:22:21 +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 Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
box.sql Rename contains/contained-by operators to @> and <@, per discussion that 2006-09-10 00:29:35 +00:00
btree_index.sql Clean up header for uniform appearance throughout tests. 2000-01-06 06:41:55 +00:00
case.sql Adjust constant-folding of CASE expressions so that the simple comparison 2005-02-02 21:49:09 +00:00
char.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
circle.sql Support ORDER BY ... NULLS FIRST/LAST, and add ASC/DESC/NULLS FIRST/NULLS LAST 2007-01-09 02:14:16 +00:00
cluster.sql Track dependencies on shared objects (which is to say, roles; we already 2005-07-07 20:40:02 +00:00
comments.sql Implement nested block comments in the backend and in psql. 2000-07-14 15:43:57 +00:00
conversion.sql Add support for Windows codepages 1253, 1254, 1255, and 1257 and clean 2006-02-18 16:15:23 +00:00
copy2.sql Clean up CREATE FUNCTION syntax usage in contrib and elsewhere, in 2006-02-27 16:09:50 +00:00
copyselect.sql Extend COPY to support COPY (SELECT ...) TO ... 2006-08-30 23:34:22 +00:00
create_aggregate.sql Aggregate functions now support multiple input arguments. I also took 2006-07-27 19:52:07 +00:00
create_index.sql Support ORDER BY ... NULLS FIRST/LAST, and add ASC/DESC/NULLS FIRST/NULLS LAST 2007-01-09 02:14:16 +00:00
create_misc.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
create_operator.sql Attached is a patch implementing factorial(), returning numeric. Points 2003-12-01 21:52:38 +00:00
create_table.sql GIN: Generalized Inverted iNdex. 2006-05-02 11:28:56 +00:00
create_type.sql Support type modifiers for user-defined types, and pull most knowledge 2006-12-30 21:21:56 +00:00
create_view.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
date.sql > After all that about numbering centuries and millenia correctly, 2004-08-20 03:45:14 +00:00
delete.sql Allow an optional alias for the target table to be specified for UPDATE 2006-01-22 05:20:35 +00:00
dependency.sql Fix all known problems with pg_dump's handling of serial sequences 2006-08-21 00:57:26 +00:00
domain.sql Fix plpgsql so that when a local variable has no initial-value expression, 2007-02-01 19:22:07 +00:00
drop_if_exists.sql DROP IF EXISTS for ROLE/USER/GROUP 2006-02-04 19:06:47 +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 a regression test to verify that the stack depth checker actually 2005-02-11 22:15:12 +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 Fix float4/8 to handle Infinity and Nan consistently, e.g. Infinity is a 2007-01-02 20:00:50 +00:00
float8.sql Remove grammar productions for prefix and postfix % and ^ operators, 2005-06-08 21:15:29 +00:00
foreign_key.sql Spell "explicitly" correctly, per Simon. 2005-12-07 15:20:56 +00:00
geometry.sql Support ORDER BY ... NULLS FIRST/LAST, and add ASC/DESC/NULLS FIRST/NULLS LAST 2007-01-09 02:14:16 +00:00
guc.sql Extend 'guc' regression test to check manipulations of datestyle as 2006-08-13 19:31:06 +00:00
hash_index.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
horology.sql Remove hard-wired lists of timezone abbreviations in favor of providing 2006-07-25 03:51:23 +00:00
inet.sql Fix incorrect addition, subtraction, and overflow checking in new 2006-02-11 20:39:59 +00:00
inherit.sql Add INCLUDING CONSTRAINTS to CREATE TABLE LIKE. 2006-06-27 03:43:20 +00:00
insert.sql A few regression tests for VALUES, from Gavin Sherry. 2006-08-03 14:54:44 +00:00
int2.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
int4.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
int8.sql Add regression test to see if the min/max values of int8 convert correctly. 2005-12-05 04:13:38 +00:00
interval.sql Add interval division/multiplication regression tests. 2006-09-06 02:05:41 +00:00
join.sql Fix bug introduced into mergejoin logic by performance improvement patch of 2006-03-17 19:38:12 +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 Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
namespace.sql Add CREATE TRIGGER, CREATE INDEX, and CREATE SEQUENCE to the list of 2004-01-11 04:58:17 +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
numeric.sql Tweak the width_bucket() regression tests to avoid an unnecessary 2007-01-17 16:19:08 +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 Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
oidjoins.sql Support type modifiers for user-defined types, and pull most knowledge 2006-12-30 21:21:56 +00:00
opr_sanity.sql Come to think of it, we should check that commutator pairs have the same 2007-02-06 03:52:59 +00:00
path.sql Clean up format of tests. 2000-01-05 06:07:58 +00:00
plpgsql.sql Support INSERT/UPDATE/DELETE RETURNING in plpgsql, with rowcount checking 2006-08-14 21:14:42 +00:00
point.sql Support ORDER BY ... NULLS FIRST/LAST, and add ASC/DESC/NULLS FIRST/NULLS LAST 2007-01-09 02:14:16 +00:00
polygon.sql Rename contains/contained-by operators to @> and <@, per discussion that 2006-09-10 00:29:35 +00:00
polymorphism.sql Aggregate functions now support multiple input arguments. I also took 2006-07-27 19:52:07 +00:00
portals_p2.sql Partial indexes work again, courtesy of Martijn van Oosterhout. 2001-07-16 05:07:00 +00:00
portals.sql Clean up CREATE FUNCTION syntax usage in contrib and elsewhere, in 2006-02-27 16:09:50 +00:00
prepare.sql Allow the types of parameters to PREPARE to be inferred. If a parameter's 2006-01-15 22:18:47 +00:00
prepared_xacts.sql Two-phase commit. Original patch by Heikki Linnakangas, with additional 2005-06-17 22:32:51 +00:00
privileges.sql Get rid of the separate RULE privilege for tables: now only a table's owner 2006-09-05 21:08:36 +00:00
random.sql Improve random regression tests to fail less frequently. 2004-03-15 15:46:25 +00:00
rangefuncs.sql Clean up CREATE FUNCTION syntax usage in contrib and elsewhere, in 2006-02-27 16:09:50 +00:00
reltime.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
returning.sql Apply a simple solution to the problem of making INSERT/UPDATE/DELETE 2006-09-02 17:06:52 +00:00
rowtypes.sql Allow an optional alias for the target table to be specified for UPDATE 2006-01-22 05:20:35 +00:00
rules.sql Clean up CREATE FUNCTION syntax usage in contrib and elsewhere, in 2006-02-27 16:09:50 +00:00
sanity_check.sql Tweak sanity_check regression test to display more tables (viz, those 2006-08-06 04:35:21 +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_distinct.sql Implement IS NOT DISTINCT FROM, update the regression tests and docs. 2005-12-11 10:54:28 +00:00
select_having.sql Make the behavior of HAVING without GROUP BY conform to the SQL spec. 2005-03-10 23:21:26 +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
select.sql Support ORDER BY ... NULLS FIRST/LAST, and add ASC/DESC/NULLS FIRST/NULLS LAST 2007-01-09 02:14:16 +00:00
sequence.sql Change nextval and other sequence functions to specify their sequence 2005-10-02 23:50:16 +00:00
sql_ascii.sql Add SQL_ASCII encoding test case 2000-03-06 01:29:54 +00:00
stats.sql Add a function pg_stat_clear_snapshot() that discards any statistics snapshot 2007-02-07 23:11:30 +00:00
strings.sql Enable standard_conforming_strings to be turned on. 2006-03-06 19:49:20 +00:00
subselect.sql Fix problems with rewriter failing to set Query.hasSubLinks when inserting 2005-11-23 17:21:04 +00:00
temp.sql Add TABLESPACE and ON COMMIT clauses to CREATE TABLE AS. ON COMMIT is 2006-02-19 00:04:28 +00:00
text.sql Clean up syntax to use SQL92-ish type coersion 2000-01-04 16:21:02 +00:00
time.sql Please find attached two patches for documentation and regression tests 2006-07-06 01:46:38 +00:00
timestamp.sql Fix up some problems in handling of zic-style time zone names in datetime 2006-10-17 21:03:21 +00:00
timestamptz.sql Fix up some problems in handling of zic-style time zone names in datetime 2006-10-17 21:03:21 +00:00
timetz.sql Please find attached two patches for documentation and regression tests 2006-07-06 01:46:38 +00:00
tinterval.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
transactions.sql Implement the <> operator for the tid type. Original patch from Mark 2006-02-26 18:36:23 +00:00
triggers.sql Change the row constructor syntax (ROW(...)) so that list elements foo.* 2006-06-26 17:24:41 +00:00
truncate.sql Change TRUNCATE's method for searching for foreign-key references so that 2006-06-29 16:07:29 +00:00
type_sanity.sql Support type modifiers for user-defined types, and pull most knowledge 2006-12-30 21:21:56 +00:00
union.sql Adjust data types in some of the UNION tests to avoid potentially 2003-11-02 22:35:26 +00:00
update.sql Code review for UPDATE SET (columnlist) patch. Make it handle as much 2006-09-03 22:37:06 +00:00
uuid.sql Rewrite uuid input and output routines to avoid dependency on the 2007-01-31 19:33:54 +00:00
vacuum.sql Add new vacuum regression test files. 2002-07-20 04:58:14 +00:00
varchar.sql Add a "USING" clause to DELETE, which is equivalent to the FROM clause 2005-04-07 01:51:41 +00:00
without_oid.sql Add TABLESPACE and ON COMMIT clauses to CREATE TABLE AS. ON COMMIT is 2006-02-19 00:04:28 +00:00
xml.sql Implement XMLSERIALIZE for real. Analogously, make the xml to text cast 2007-02-03 14:06:56 +00:00