postgresql/src/test/regress/sql
Peter Eisentraut f98f6ee064 array_length() function, and for SQL compatibility also cardinality()
function as a special case.

This version still has the suspicious behavior of returning null for an
empty array (rather than zero), but this may need a wholesale revision of
empty array behavior, currently under discussion.

Jim Nasby, Robert Haas, Peter Eisentraut
2008-11-12 13:09:28 +00:00
..
abstime.sql
aggregates.sql Apply my original fix for Taiki Yamaguchi's bug report about DISTINCT MAX(). 2008-03-31 16:59:26 +00:00
alter_table.sql Fix an ALTER TABLE test case so that it actually tests what the comment says it 2008-06-09 18:28:00 +00:00
arrays.sql array_length() function, and for SQL compatibility also cardinality() 2008-11-12 13:09:28 +00:00
bit.sql
bitmapops.sql Replace "amgetmulti" AM functions with "amgetbitmap", in which the whole 2008-04-10 22:25:26 +00:00
boolean.sql Additional test coverage for boolean type (bool.c) 2008-10-05 14:20:03 +00:00
box.sql
btree_index.sql
case.sql
char.sql
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 Add an ORDER BY to nail down the expected row order from a query that's 2007-09-03 01:28:40 +00:00
combocid.sql Avoid incrementing the CommandCounter when CommandCounterIncrement is called 2007-11-30 21:22:54 +00:00
comments.sql
conversion.sql Remove "convert 'blah' using conversion_name" facility, because if it 2007-09-24 01:29:30 +00:00
copy2.sql
copyselect.sql Teach the system how to use hashing for UNION. (INTERSECT/EXCEPT will follow, 2008-08-07 01:11:52 +00:00
create_aggregate.sql Create AVG() aggregates for int8 and NUMERIC which do not compute X^2, 2007-02-17 00:55:58 +00:00
create_cast.sql Add test case for CREATE CAST. 2008-10-31 09:17:17 +00:00
create_index.sql Multi-column GIN indexes. Teodor Sigaev 2008-07-11 21:06:29 +00:00
create_misc.sql
create_operator.sql
create_table.sql Tsearch2 functionality migrates to core. The bulk of this work is by 2007-08-21 01:11:32 +00:00
create_type.sql Flip the default typispreferred setting from true to false. This affects 2008-07-30 19:35:13 +00:00
create_view.sql
date.sql Extend the date type to support infinity and -infinity, analogously to 2008-10-14 17:12:33 +00:00
delete.sql
dependency.sql Create a separate grantable privilege for TRUNCATE, rather than having it be 2008-09-08 00:47:41 +00:00
domain.sql Fix select_common_type() so that it can select a domain type, if all inputs 2007-11-26 16:46:51 +00:00
drop_if_exists.sql
drop.sql
enum.sql Support enum data types. Along the way, use macros for the values of 2007-04-02 03:49:42 +00:00
errors.sql
euc_cn.sql
euc_jp.sql
euc_kr.sql
euc_tw.sql
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 Add regression test for various power expressions with a zero base, and 2008-05-08 22:17:54 +00:00
foreign_key.sql Refactor the handling of the various DropStmt variants so that when multiple 2008-06-14 18:04:34 +00:00
geometry.sql Stop a few regression tests from needlessly disabling GEQO. This was 2007-05-29 04:17:08 +00:00
guc.sql Arrange for SET LOCAL's effects to persist until the end of the current top 2007-09-11 00:06:42 +00:00
hash_index.sql
horology.sql Tighten up to_date/to_timestamp so that they are more likely to reject 2008-09-11 17:32:34 +00:00
inet.sql
inherit.sql Change the rules for inherited CHECK constraints to be essentially the same 2008-05-09 23:32:05 +00:00
insert.sql
int2.sql
int4.sql
int8.sql Remove some unportable tests 2008-10-05 18:56:09 +00:00
interval.sql Clean up the ancient decision to show only two fractional-seconds digits 2008-11-12 01:36:20 +00:00
join.sql Consider a clause to be outerjoin_delayed if it references the nullable side 2008-06-27 20:54:37 +00:00
limit.sql Fix parameter recalculation for Limit nodes: during a ReScan call we must 2007-05-17 19:35:08 +00:00
lseg.sql
macaddr.sql Add regression test for macaddr type. Enhance documentation about accepted 2008-10-03 15:37:18 +00:00
money.sql Add regression tests for MONEY type. 2007-11-24 19:49:23 +00:00
mule_internal.sql
name.sql
namespace.sql
numeric_big.sql
numeric.sql Re-implement division for numeric values using the traditional "schoolbook" 2008-04-04 18:45:36 +00:00
numerology.sql Improve SELECT DISTINCT to consider hash aggregation, as well as sort/uniq, 2008-08-05 02:43:18 +00:00
oid.sql
oidjoins.sql Update oidjoins test to match CVS HEAD. 2008-10-13 12:59:57 +00:00
opr_sanity.sql Add support for user-defined I/O conversion casts. 2008-10-31 08:39:22 +00:00
path.sql
plancache.sql Repair bug that allowed RevalidateCachedPlan to attempt to rebuild a cached 2007-11-30 18:38:34 +00:00
plpgsql.sql Implement SQL-spec RETURNS TABLE syntax for functions. 2008-07-18 03:32:53 +00:00
point.sql Stop a few regression tests from needlessly disabling GEQO. This was 2007-05-29 04:17:08 +00:00
polygon.sql
polymorphism.sql Add pg_typeof() function. 2008-11-03 17:51:13 +00:00
portals_p2.sql
portals.sql Improve hash_any() to use word-wide fetches when hashing suitably aligned 2008-04-06 16:54:49 +00:00
prepare.sql Don't refer to the database name "regression" inside the regression test 2008-07-03 16:01:10 +00:00
prepared_xacts.sql Increase the statement_timeout value used in the prepared_xacts regression 2008-04-28 23:48:16 +00:00
privileges.sql Disallow LOCK TABLE outside a transaction block (or function), since this case 2008-11-04 00:57:19 +00:00
random.sql
rangefuncs.sql Allow SQL-language functions to return the output of an INSERT/UPDATE/DELETE 2008-10-31 19:37:56 +00:00
reltime.sql
returning.sql
rowtypes.sql Implement comparison of generic records (composite types), and invent a 2008-10-13 16:25:20 +00:00
rules.sql Repair two constraint-exclusion corner cases triggered by proving that an 2007-05-26 18:23:02 +00:00
sanity_check.sql
select_distinct_on.sql
select_distinct.sql Add an ORDER BY to one more SELECT DISTINCT test case, per buildfarm results. 2008-08-05 15:17:59 +00:00
select_having.sql
select_implicit.sql
select_into.sql
select_views.sql
select.sql Fix a couple of planner bugs introduced by the new ability to discard 2007-07-07 20:46:45 +00:00
sequence.sql Add a RESTART (without parameter) option to ALTER SEQUENCE, allowing a 2008-05-16 23:36:05 +00:00
sql_ascii.sql
stats.sql Simplify and rename some GUC variables, per various recent discussions: 2007-09-24 03:12:23 +00:00
strings.sql Unicode escapes in strings and identifiers 2008-10-29 08:04:54 +00:00
subselect.sql Fix mis-calculation of extParam/allParam sets for plan nodes, as seen in 2008-07-10 01:17:29 +00:00
temp.sql Don't refer to the database name "regression" inside the regression test 2008-07-03 16:01:10 +00:00
text.sql Fix up text concatenation so that it accepts all the reasonable cases that 2007-06-06 23:00:50 +00:00
time.sql
timestamp.sql Tighten up to_date/to_timestamp so that they are more likely to reject 2008-09-11 17:32:34 +00:00
timestamptz.sql Tighten up to_date/to_timestamp so that they are more likely to reject 2008-09-11 17:32:34 +00:00
timetz.sql
tinterval.sql Stop a few regression tests from needlessly disabling GEQO. This was 2007-05-29 04:17:08 +00:00
transactions.sql Insert ORDER BY into a few regression test queries that now have unstable 2007-06-09 17:24:46 +00:00
triggers.sql fix suppress_redundant_updates_trigger() where relation has Oids, per gripe from KaiGai Kohei 2008-11-05 18:49:28 +00:00
truncate.sql Add a RESTART (without parameter) option to ALTER SEQUENCE, allowing a 2008-05-16 23:36:05 +00:00
tsdicts.sql Rename and slightly redefine the default text search parser's "word" 2007-10-23 20:46:12 +00:00
tsearch.sql Improve headeline generation. Now headline can contain 2008-10-17 18:05:19 +00:00
tstypes.sql Extend GIN to support partial-match searches, and extend tsquery to support 2008-05-16 16:31:02 +00:00
txid.sql Migrate the former contrib/txid module into core. This will make it easier 2007-10-13 23:06:28 +00:00
type_sanity.sql Establish the rule that array types should have the same typdelim as their 2008-09-25 03:28:56 +00:00
union.sql Support hashing for duplicate-elimination in INTERSECT and EXCEPT queries. 2008-08-07 03:04:04 +00:00
update.sql
uuid.sql Rewrite uuid input and output routines to avoid dependency on the 2007-01-31 19:33:54 +00:00
vacuum.sql
varchar.sql
with.sql Add docs and regression test about sorting the output of a recursive query in 2008-10-14 00:41:35 +00:00
without_oid.sql Combine cmin and cmax fields of HeapTupleHeaders into a single field, by 2007-02-09 03:35:35 +00:00
xml.sql Allow XML processing instructions starting with "xml" while prohibiting 2007-11-09 15:52:51 +00:00