postgresql/src/test/regress/expected
Tom Lane e2c2c2e8b1 Improve planner's handling of duplicated index column expressions.
It's potentially useful for an index to repeat the same indexable column
or expression in multiple index columns, if the columns have different
opclasses.  (If they share opclasses too, the duplicate column is pretty
useless, but nonetheless we've allowed such cases since 9.0.)  However,
the planner failed to cope with this, because createplan.c was relying on
simple equal() matching to figure out which index column each index qual
is intended for.  We do have that information available upstream in
indxpath.c, though, so the fix is to not flatten the multi-level indexquals
list when putting it into an IndexPath.  Then we can rely on the sublist
structure to identify target index columns in createplan.c.  There's a
similar issue for index ORDER BYs (the KNNGIST feature), so introduce a
multi-level-list representation for that too.  This adds a bit more
representational overhead, but we might more or less buy that back by not
having to search for matching index columns anymore in createplan.c;
likewise btcostestimate saves some cycles.

Per bug #6351 from Christian Rudolph.  Likely symptoms include the "btree
index keys must be ordered by attribute" failure shown there, as well as
"operator MMMM is not a member of opfamily NNNN".

Although this is a pre-existing problem that can be demonstrated in 9.0 and
9.1, I'm not going to back-patch it, because the API changes in the planner
seem likely to break things such as index plugins.  The corner cases where
this matters seem too narrow to justify possibly breaking things in a minor
release.
2011-12-23 18:45:14 -05:00
..
.gitignore Add a SECURITY LABEL command. 2010-09-27 20:55:27 -04:00
abstime.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
advisory_lock.out Add transaction-level advisory locks. 2011-02-18 14:05:12 +09:00
aggregates.out Add bytea_agg, parallel to string_agg. 2011-12-23 08:40:25 -05:00
alter_table.out Allow CHECK constraints to be declared ONLY 2011-12-19 17:30:23 -03:00
arrays.out Message style improvements 2011-05-21 00:50:35 +03:00
bit.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
bitmapops.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
boolean.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
box.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
btree_index.out Fix breakage of bitmap scan plan creation for special index operators such 2008-11-20 19:52:54 +00:00
case.out
char_1.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
char_2.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
char.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
circle.out
cluster.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
collate.linux.utf8.out Support range data types. 2011-11-03 13:42:15 +02:00
collate.out Fix typo 2011-07-19 08:02:34 +03:00
combocid.out
comments.out
conversion.out Support hex-string input and output for type BYTEA. 2009-08-04 16:08:37 +00:00
copy2.out Add ENCODING option to COPY TO/FROM and file_fdw. 2011-02-21 14:32:40 +09:00
copyselect.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
create_aggregate.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
create_cast.out Improve psql's tabular display of wrapped-around data by inserting markers 2009-11-22 05:20:41 +00:00
create_index.out Improve planner's handling of duplicated index column expressions. 2011-12-23 18:45:14 -05:00
create_misc.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
create_operator.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
create_table.out Fix another bit of unlogged-table-induced breakage. 2011-09-21 10:48:31 -04:00
create_type.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
create_view.out Add a security_barrier option for views. 2011-12-22 16:16:31 -05:00
date.out
delete.out Regression tests for TOAST. 2011-04-25 09:48:10 -04:00
dependency.out Improve wording for privilege description on certain failure messages; the 2010-08-26 19:49:08 +00:00
domain.out Add ALTER DOMAIN ... RENAME 2011-12-22 22:43:56 +02:00
drop_if_exists.out Fix DROP OPERATOR FAMILY IF EXISTS. 2011-10-21 09:12:23 -04:00
enum.out Require VALUE keyword when extending an enum type. Based on a patch from Alvaro Herrera. 2010-11-16 22:18:33 -05:00
errors.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
euc_cn.out
euc_jp.out
euc_kr.out
euc_tw.out
float4-exp-three-digits.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
float4.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
float8-exp-three-digits-win32.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
float8-small-is-zero_1.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
float8-small-is-zero.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
float8.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
foreign_data.out Don't leave regress_test_role_super lying around. 2011-12-15 18:45:02 -05:00
foreign_key.out Change FK trigger creation order to better support self-referential FKs. 2011-10-26 13:02:28 -04:00
functional_deps.out Recognize functional dependency on primary keys. This allows a table's 2010-08-07 02:44:09 +00:00
geometry_1.out Rewrite the planner's handling of materialized plan types so that there is 2009-09-12 22:12:09 +00:00
geometry_2.out Rewrite the planner's handling of materialized plan types so that there is 2009-09-12 22:12:09 +00:00
geometry.out Rewrite the planner's handling of materialized plan types so that there is 2009-09-12 22:12:09 +00:00
guc.out Revise the API for GUC variable assign hooks. 2011-04-07 00:12:02 -04:00
hash_index.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
horology.out On second thought, we'd better just drop these tests altogether. 2011-11-06 20:12:20 -05:00
hs_standby_allowed.out Allow read only connections during recovery, known as Hot Standby. 2009-12-19 01:32:45 +00:00
hs_standby_check.out Allow read only connections during recovery, known as Hot Standby. 2009-12-19 01:32:45 +00:00
hs_standby_disallowed.out Update standbycheck test output with new ERROR message changes. No changes 2010-05-02 12:28:43 +00:00
hs_standby_functions.out Update standbycheck test output with new ERROR message changes. No changes 2010-05-02 12:28:43 +00:00
inet.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
inherit.out Allow CHECK constraints to be declared ONLY 2011-12-19 17:30:23 -03:00
insert.out When a row fails a not-null constraint, show row's contents in errdetail. 2011-11-29 18:29:18 -05:00
int2.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
int4.out Attempt to fix breakage caused by signed integer conversion patch. 2010-11-20 01:09:26 -05:00
int8-exp-three-digits.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
int8.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
interval.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
join.out Fix handling of PlaceHolderVars in nestloop parameter management. 2011-11-03 00:50:58 -04:00
limit.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
lseg.out
macaddr.out
money.out Add casts from int4 and int8 to numeric. 2011-04-05 09:35:43 -04:00
mule_internal.out
name.out
namespace.out
numeric_big.out
numeric.out Fix corner case bug in numeric to_char(). 2011-09-07 17:07:20 -04:00
numerology_1.out Remove the special cases to prevent minus-zero results in float4 and float8 2009-02-18 19:23:26 +00:00
numerology.out Remove the special cases to prevent minus-zero results in float4 and float8 2009-02-18 19:23:26 +00:00
oid.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
oidjoins.out Update oidjoins regression test to match git HEAD. 2011-11-14 20:28:38 -05:00
opr_sanity.out Remove bogus entries in gist point_ops operator class. 2011-12-17 18:51:00 -05:00
path.out
plancache.out Remove ancient PL/pgsql line numbering hack. 2010-08-02 03:46:54 +00:00
plpgsql.out Add support for passing cursor parameters in named notation in PL/pgSQL. 2011-12-14 15:55:37 +02:00
point.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
polygon.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
polymorphism.out Fix getTypeIOParam to support type record[]. 2011-12-01 12:44:16 -05:00
portals_p2.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
portals.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
prepare.out Improve psql's tabular display of wrapped-around data by inserting markers 2009-11-22 05:20:41 +00:00
prepared_xacts_1.out Fix a bug with SSI and prepared transactions: 2011-07-07 18:12:15 +03:00
prepared_xacts.out Adjust regression tests for error message change 2011-08-15 17:27:10 +03:00
privileges.out Add support for privileges on types 2011-12-20 00:05:19 +02:00
random.out
rangefuncs.out Support index-only scans using the visibility map to avoid heap fetches. 2011-10-07 20:14:13 -04:00
rangetypes.out Remove zero- and one-argument range constructor functions. 2011-11-22 20:45:05 -05:00
reltime.out
returning.out Revert updatable views 2009-01-27 12:40:15 +00:00
rowtypes.out Message style and spelling improvements 2011-06-22 00:45:34 +03:00
rules.out Support SECURITY LABEL on databases, tablespaces, and roles. 2011-07-20 13:18:24 -04:00
sanity_check.out Improve planner's handling of duplicated index column expressions. 2011-12-23 18:45:14 -05:00
select_distinct_on.out Fix assertion failure when a SELECT DISTINCT ON expression is volatile. 2009-09-12 00:04:59 +00:00
select_distinct.out Alter some gratuitous uses of "ANSI" when "SQL standard" might have been 2009-07-11 21:15:32 +00:00
select_having_1.out
select_having_2.out
select_having.out
select_implicit_1.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
select_implicit_2.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
select_implicit.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
select_into.out Check for INSERT privileges in SELECT INTO / CREATE TABLE AS. 2011-11-22 16:16:26 -05:00
select_views_1.out
select_views.out
select.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
sequence_1.out When a row fails a not-null constraint, show row's contents in errdetail. 2011-11-29 18:29:18 -05:00
sequence.out When a row fails a not-null constraint, show row's contents in errdetail. 2011-11-29 18:29:18 -05:00
sql_ascii.out
stats.out Prevent index-only scans in stats regression test. 2011-10-08 23:45:58 -04:00
strings.out Rewrite LIKE's %-followed-by-_ optimization so it really works (this time 2010-05-28 17:35:23 +00:00
subselect.out Improve generated column names for cases involving sub-SELECTs. 2011-10-01 14:01:46 -04:00
temp.out
text.out Message style improvements 2011-07-08 07:37:04 +03:00
time.out
timestamp.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
timestamptz.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
timetz.out
tinterval.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
transactions.out Implement genuine serializable isolation level. 2011-02-08 00:09:08 +02:00
triggers.out Fix trigger WHEN conditions when both BEFORE and AFTER triggers exist. 2011-08-21 18:15:55 -04:00
truncate.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
tsdicts.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
tsearch.out Fix gincostestimate to handle ScalarArrayOpExpr reasonably. 2011-12-20 19:57:34 -05:00
tstypes.out
txid.out
type_sanity.out Further review of range-types patch. 2011-11-18 18:24:32 -05:00
typed_table.out Only allow typed tables to hang off composite types, not e.g. tables. 2011-04-18 10:19:46 -04:00
union.out Avoid a premature coercion failure in transformSetOperationTree() when 2009-12-16 22:24:13 +00:00
update.out Regression tests for TOAST. 2011-04-25 09:48:10 -04:00
uuid.out Improve unique-constraint-violation error messages to include the exact 2009-08-01 19:59:41 +00:00
vacuum.out Remove old-style VACUUM FULL (which was known for a little while as 2010-02-08 04:33:55 +00:00
varchar_1.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
varchar_2.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
varchar.out Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
window.out Measure the number of all-visible pages for use in index-only scan costing. 2011-10-14 17:23:46 -04:00
with.out Improve generated column names for cases involving sub-SELECTs. 2011-10-01 14:01:46 -04:00
without_oid.out
xml_1.out Make xpath() do something useful with XPath expressions that return scalars. 2011-07-21 11:32:46 -04:00
xml.out Make xpath() do something useful with XPath expressions that return scalars. 2011-07-21 11:32:46 -04:00
xmlmap_1.out Regression test for XML mapping functionality 2009-07-02 07:03:18 +00:00
xmlmap.out Ooops, forgot to check the libxml cases for psql output wrapping change. 2009-11-22 06:01:09 +00:00