postgresql/src/test/regress/expected
Etsuro Fujita c8434d64ce Allow partitionwise joins in more cases.
Previously, the partitionwise join technique only allowed partitionwise
join when input partitioned tables had exactly the same partition
bounds.  This commit extends the technique to some cases when the tables
have different partition bounds, by using an advanced partition-matching
algorithm introduced by this commit.  For both the input partitioned
tables, the algorithm checks whether every partition of one input
partitioned table only matches one partition of the other input
partitioned table at most, and vice versa.  In such a case the join
between the tables can be broken down into joins between the matching
partitions, so the algorithm produces the pairs of the matching
partitions, plus the partition bounds for the join relation, to allow
partitionwise join for computing the join.  Currently, the algorithm
works for list-partitioned and range-partitioned tables, but not
hash-partitioned tables.  See comments in partition_bounds_merge().

Ashutosh Bapat and Etsuro Fujita, most of regression tests by Rajkumar
Raghuwanshi, some of the tests by Mark Dilger and Amul Sul, reviewed by
Dmitry Dolgov and Amul Sul, with additional review at various points by
Ashutosh Bapat, Mark Dilger, Robert Haas, Antonin Houska, Amit Langote,
Justin Pryzby, and Tomas Vondra

Discussion: https://postgr.es/m/CAFjFpRdjQvaUEV5DJX3TW6pU5eq54NCkadtxHX2JiJG_GvbrCA@mail.gmail.com
2020-04-08 10:25:00 +09:00
..
.gitignore
advisory_lock.out
aggregates.out Reduce test time for disk-based Hash Aggregation. 2020-03-23 19:03:49 -07:00
alter_generic.out Improve error reporting in opclasscmds.c 2020-03-31 17:51:57 +03:00
alter_operator.out Avoid unnecessary use of pg_strcasecmp for already-downcased identifiers. 2018-01-26 18:25:14 -05:00
alter_table.out Introduce xid8-based functions to replace txid_XXX. 2020-04-07 12:04:32 +12:00
amutils.out Support for INCLUDE attributes in GiST indexes 2019-03-10 11:37:17 +03:00
arrays.out Improve expression evaluation test coverage. 2017-03-11 15:41:34 -08:00
async.out
bit.out Fix bitshiftright()'s zero-padding some more. 2019-10-04 10:34:40 -04:00
bitmapops.out
boolean.out Expand AND/OR regression tests around NULL handling. 2018-03-13 16:12:31 -07:00
box.out Add support for <-> (box, point) operator to SP-GiST box_ops 2019-07-14 15:09:23 +03:00
brin.out Add BRIN test case 2020-01-22 18:37:39 -03:00
btree_index.out Implement operator class parameters 2020-03-30 19:17:23 +03:00
case.out Fix interaction of CASE and ArrayCoerceExpr. 2018-10-30 15:26:11 -04:00
char_1.out
char_2.out
char.out
circle.out Fix circle_in to accept "(x,y),r" as it's advertised to do. 2020-04-07 20:50:28 -04:00
cluster.out Fix CLUSTER on expression indexes. 2019-10-15 10:40:13 -07:00
collate.icu.utf8_1.out Run UTF8-requiring collation tests by default 2019-07-31 09:46:51 +02:00
collate.icu.utf8.out Fix random regression failure in test case "collate.icu.utf8" 2019-08-14 13:37:48 +09:00
collate.linux.utf8_1.out Run UTF8-requiring collation tests by default 2019-07-31 09:46:51 +02:00
collate.linux.utf8.out Allow to_date/to_timestamp to recognize non-English month/day names. 2020-03-03 11:06:47 -05:00
collate.out Un-hide most cascaded-drop details in regression test results. 2019-03-24 19:15:37 -04:00
combocid.out Fix locking a tuple updated by an aborted (sub)transaction 2016-09-09 15:54:29 -03:00
comments.out
conversion.out Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
copy2.out Added relation name in error messages for constraint checks. 2020-01-28 07:48:10 +05:30
copydml.out
copyselect.out
create_aggregate.out Introduce "anycompatible" family of polymorphic types. 2020-03-19 11:43:11 -04:00
create_am.out Stop using spelling "nonexistant". 2019-06-08 10:12:26 -07:00
create_cast.out
create_function_3.out Un-hide most cascaded-drop details in regression test results. 2019-03-24 19:15:37 -04:00
create_index_spgist.out Provide stable test for NULL-values in KNN SP-GiST 2019-09-20 15:33:45 +03:00
create_index.out Preserve pg_index.indisclustered across REINDEX CONCURRENTLY 2020-03-03 10:12:28 +09:00
create_misc.out ANALYZE a_star and its children to avoid plan instability in tests. 2019-09-27 11:28:24 -04:00
create_operator.out Fix lexing of standard multi-character operators in edge cases. 2018-08-23 21:42:40 +01:00
create_procedure.out Add collation assignment to CALL statement 2019-02-07 08:25:47 +01:00
create_table_like.out Ensure that CREATE TABLE LIKE copies any NO INHERIT constraint property. 2020-03-10 14:54:00 -04:00
create_table.out Skip WAL for new relfilenodes, under wal_level=minimal. 2020-04-04 12:25:34 -07:00
create_type.out Allow ALTER TYPE to change some properties of a base type. 2020-03-06 12:19:29 -05:00
create_view.out Improve test coverage of ruleutils.c. 2019-12-06 17:40:30 -05:00
date.out Remove explicit error handling for obsolete date/time values 2019-06-30 10:27:35 +02:00
dbsize.out Remove bogus dependencies on NUMERIC_MAX_PRECISION. 2016-08-14 15:06:01 -04:00
delete.out
dependency.out Un-hide most cascaded-drop details in regression test results. 2019-03-24 19:15:37 -04:00
domain.out Added relation name in error messages for constraint checks. 2020-01-28 07:48:10 +05:30
drop_if_exists.out Introduce the 'force' option for the Drop Database command. 2019-11-13 08:25:33 +05:30
drop_operator.out Fix DROP OPERATOR to reset oprcom/oprnegate links to the dropped operator. 2016-03-25 12:33:16 -04:00
enum.out Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
equivclass.out Suppress unnecessary RelabelType nodes in more cases. 2020-02-26 18:14:12 -05:00
errors.out Re-stabilize infinite_recurse() test case. 2020-04-06 12:00:37 -04:00
event_trigger.out Fix confusion about event trigger vs. plain function in plpgsql. 2020-02-19 14:45:17 -05:00
explain.out Include information on buffer usage during planning phase, in EXPLAIN output, take two. 2020-04-04 03:13:17 +09:00
expressions.out Add some test cases to improve test coverage of parse_expr.c. 2019-07-05 23:56:34 -04:00
fast_default.out Fix heap_getattr() handling of fast defaults. 2019-02-06 01:09:32 -08:00
float4-misrounded-input.out Improve coverage of utils/float.h 2019-08-28 12:28:16 +09:00
float4.out Improve coverage of utils/float.h 2019-08-28 12:28:16 +09:00
float8.out Un-hide most cascaded-drop details in regression test results. 2019-03-24 19:15:37 -04:00
foreign_data.out Fix partitioned index creation with foreign partitions 2019-06-26 18:38:51 -04:00
foreign_key.out Simplify FK-to-partitioned regression test query 2020-02-20 14:14:20 -03:00
functional_deps.out
generated.out Added relation name in error messages for constraint checks. 2020-01-28 07:48:10 +05:30
geometry.out Add missing commutators for distance operators 2019-07-14 14:55:01 +03:00
gin.out Fix bugs in gin_fuzzy_search_limit processing. 2020-04-03 13:15:45 -04:00
gist.out Support reloptions of enum type 2019-09-25 15:56:52 -03:00
groupingsets.out Reduce test time for disk-based Hash Aggregation. 2020-03-23 19:03:49 -07:00
guc.out Give up on testing guc.c's behavior for "infinity" inputs. 2019-03-11 17:53:09 -04:00
hash_func.out Introduce 64-bit hash functions with a 64-bit seed. 2017-08-31 22:21:21 -04:00
hash_index.out Add more tests for reloptions 2017-10-19 14:22:05 +02:00
hash_part.out Fix failure with textual partition hash keys. 2019-04-15 16:47:09 -04:00
horology.out Fix an oversight in commit 4c70098ff. 2020-01-23 16:15:32 -05:00
hs_standby_allowed.out Allow UNLISTEN in hot-standby mode. 2019-01-25 21:14:49 -05:00
hs_standby_check.out
hs_standby_disallowed.out Allow UNLISTEN in hot-standby mode. 2019-01-25 21:14:49 -05:00
hs_standby_functions.out Introduce xid8-based functions to replace txid_XXX. 2020-04-07 12:04:32 +12:00
identity.out Fix INSERT OVERRIDING USER VALUE behavior 2020-03-31 08:50:39 +02:00
incremental_sort.out Minor improvements in Incremental Sort explain 2020-04-07 18:25:13 +02:00
index_including_gist.out Support for INCLUDE attributes in GiST indexes 2019-03-10 11:37:17 +03:00
index_including.out Added relation name in error messages for constraint checks. 2020-01-28 07:48:10 +05:30
indexing.out Fix assertion failure with ALTER TABLE ATTACH PARTITION and indexes 2020-03-03 13:55:41 +09:00
indirect_toast.out Clean up duplicate table and function names in regression tests. 2018-03-15 17:09:02 -04:00
inet.out Add sort support routine for the inet data type. 2019-08-01 09:34:14 -07:00
inherit.out Add regression tests for constraint errors in partitioned tables. 2020-03-23 15:06:11 -07:00
init_privs.out Fix typos in comments. 2017-02-06 11:33:58 +02:00
insert_conflict.out Don't mark partitioned indexes invalid unnecessarily 2018-12-05 13:31:51 -03:00
insert.out Added relation name in error messages for constraint checks. 2020-01-28 07:48:10 +05:30
int2.out Hand code string to integer conversion for performance. 2018-07-22 14:58:23 -07:00
int4.out Add functions gcd() and lcm() for integer and numeric types. 2020-01-25 14:00:59 +00:00
int8.out Add functions gcd() and lcm() for integer and numeric types. 2020-01-25 14:00:59 +00:00
interval.out Fix integer-overflow edge case detection in interval_mul and pgbench. 2019-11-07 11:22:58 -05:00
join_hash.out Fix representation of hash keys in Hash/HashJoin nodes. 2019-08-02 00:02:46 -07:00
join.out Prevent overly-aggressive collapsing of joins to RTE_RESULT relations. 2019-12-14 13:49:15 -05:00
json_encoding_1.out Allow Unicode escapes in any server encoding, not only UTF-8. 2020-03-06 14:17:43 -05:00
json_encoding_2.out Allow Unicode escapes in any server encoding, not only UTF-8. 2020-03-06 14:17:43 -05:00
json_encoding.out Allow Unicode escapes in any server encoding, not only UTF-8. 2020-03-06 14:17:43 -05:00
json.out Remove unnecessary test dependency on the contents of pg_pltemplate. 2019-08-21 10:43:23 -04:00
jsonb_jsonpath.out Allow to_date/to_timestamp to recognize non-English month/day names. 2020-03-03 11:06:47 -05:00
jsonb.out Further tweaking of jsonb_set_lax(). 2020-01-20 14:26:56 -05:00
jsonpath_encoding_1.out Allow Unicode escapes in any server encoding, not only UTF-8. 2020-03-06 14:17:43 -05:00
jsonpath_encoding_2.out Allow Unicode escapes in any server encoding, not only UTF-8. 2020-03-06 14:17:43 -05:00
jsonpath_encoding.out Allow Unicode escapes in any server encoding, not only UTF-8. 2020-03-06 14:17:43 -05:00
jsonpath.out Implement jsonpath .datetime() method 2019-09-25 22:51:51 +03:00
limit.out Support FETCH FIRST WITH TIES 2020-04-07 16:22:13 -04:00
line.out Change floating-point output format for improved performance. 2019-02-13 15:20:33 +00:00
lock.out Make inherited LOCK TABLE perform access permission checks on parent table only. 2020-02-18 13:13:15 +09:00
lseg.out Improve test coverage of geometric types 2018-09-26 10:45:21 +02:00
macaddr8.out Add support for EUI-64 MAC addresses as macaddr8 2017-03-15 11:16:25 -04:00
macaddr.out hash: Add write-ahead logging support. 2017-03-14 13:27:02 -04:00
matview.out Sort the dependent objects before recursing in findDependentObjects(). 2019-01-21 13:48:14 -05:00
misc_functions.out Avoid holding a directory FD open across assorted SRF calls. 2020-03-16 21:05:52 -04:00
misc_sanity.out Move the built-in conversions into the initial catalog data. 2019-01-03 19:47:53 -05:00
money.out Fix loss of fractional digits for large values in cash_numeric(). 2019-07-26 11:59:00 -04:00
name.out Message style and wording fixes 2016-06-07 14:18:55 -04:00
namespace.out Clean up duplicate role and schema names in regression tests. 2018-03-15 14:00:31 -04:00
numeric_big.out Fix corner-case loss of precision in numeric ln(). 2020-03-01 14:49:25 +00:00
numeric.out Improve the performance and accuracy of numeric sqrt() and ln(). 2020-03-28 14:37:53 +00:00
numerology.out
object_address.out Warn if wal_level is too low when creating a publication. 2019-07-13 10:35:34 +12:00
oid.out
oidjoins.out Rework the pg_statistic_ext catalog 2019-06-16 01:20:31 +02:00
opr_sanity.out Introduce xid8-based functions to replace txid_XXX. 2020-04-07 12:04:32 +12:00
partition_aggregate.out Implement Incremental Sort 2020-04-06 21:35:10 +02:00
partition_info.out Fix crash with pg_partition_root 2019-03-22 17:27:38 +09:00
partition_join.out Allow partitionwise joins in more cases. 2020-04-08 10:25:00 +09:00
partition_prune.out Fix handling of "Subplans Removed" field in EXPLAIN output. 2020-02-04 13:07:13 -05:00
password.out Fix use of term "verifier" 2019-10-12 21:41:59 +02:00
path.out Improve test coverage of geometric types 2018-09-26 10:45:21 +02:00
pg_lsn.out Add min() and max() aggregates for pg_lsn 2019-07-05 12:21:11 +09:00
plancache.out Add plan_cache_mode setting 2018-07-16 13:35:41 +02:00
plpgsql.out Introduce "anycompatible" family of polymorphic types. 2020-03-19 11:43:11 -04:00
point.out Change floating-point output format for improved performance. 2019-02-13 15:20:33 +00:00
polygon.out Fix double-word typos 2019-06-13 10:03:56 -04:00
polymorphism.out Remove bogus Assert, add some regression test cases showing why. 2020-04-04 18:03:30 -04:00
portals_p2.out
portals.out Fix failure in WHERE CURRENT OF after rewinding the referenced cursor. 2018-09-23 16:05:45 -04:00
prepare.out Add error position to an error message 2019-11-29 09:10:17 +01:00
prepared_xacts_1.out Remove unnecessary dependency on statement_timeout in prepared_xacts test. 2017-03-13 16:46:32 -04:00
prepared_xacts.out Remove unnecessary dependency on statement_timeout in prepared_xacts test. 2017-03-13 16:46:32 -04:00
privileges.out Make inherited LOCK TABLE perform access permission checks on parent table only. 2020-02-18 13:13:15 +09:00
psql_crosstab.out Fix incorrect error reporting for duplicate data in \crosstabview. 2016-12-25 16:04:45 -05:00
psql.out Allow psql's \g and \gx commands to transiently change \pset options. 2020-04-07 17:46:29 -04:00
publication.out Support adding partitioned tables to publication 2020-03-10 09:09:32 +01:00
random.out
rangefuncs.out Introduce "anycompatible" family of polymorphic types. 2020-03-19 11:43:11 -04:00
rangetypes.out Introduce "anycompatible" family of polymorphic types. 2020-03-19 11:43:11 -04:00
regex.linux.utf8.out Make locale-dependent regex character classes work for large char codes. 2016-09-05 17:06:29 -04:00
regex.out Fix regression test outputs 2019-05-17 09:40:02 +09:00
regproc.out Implement type regcollation 2020-03-18 21:21:00 +01:00
reindex_catalog.out Remove reindex_catalog test from test schedules. 2019-05-10 12:44:31 -07:00
reloptions.out Added relation name in error messages for constraint checks. 2020-01-28 07:48:10 +05:30
replica_identity.out Preserve replica identity index across ALTER TABLE rewrite 2020-03-13 11:57:06 +01:00
returning.out
roleattributes.out Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
rowsecurity.out Further adjust EXPLAIN's choices of table alias names. 2019-12-11 17:05:18 -05:00
rowtypes.out Allow extracting fields from a ROW() expression in more cases. 2019-10-28 15:08:24 -04:00
rules.out Allow users to limit storage reserved by replication slots 2020-04-07 18:35:00 -04:00
sanity_check.out Record parents of triggers 2020-02-27 13:23:33 -03:00
security_label.out Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
select_distinct_on.out
select_distinct.out Disk-based Hash Aggregation. 2020-03-18 15:42:02 -07:00
select_having_1.out
select_having_2.out
select_having.out
select_implicit_1.out
select_implicit_2.out
select_implicit.out
select_into.out Add more tests for CREATE TABLE AS with WITH NO DATA 2019-02-07 09:21:57 +09:00
select_parallel.out Further adjust EXPLAIN's choices of table alias names. 2019-12-11 17:05:18 -05:00
select_views.out Add text-vs-name cross-type operators, and unify name_ops with text_ops. 2018-12-19 17:46:25 -05:00
select.out Make some subquery-using test cases a bit more robust. 2018-10-14 14:02:59 -04:00
sequence.out Added relation name in error messages for constraint checks. 2020-01-28 07:48:10 +05:30
spgist.out Repair double-free in SP-GIST rescan (bug #15378) 2018-09-11 18:14:19 +01:00
stats_ext.out Still another try at stabilizing stats_ext test results. 2020-03-31 16:09:25 -04:00
stats.out Partially revert "Insert temporary debugging output in regression tests." 2019-08-11 18:55:32 -04:00
strings.out Adjust bytea get_bit/set_bit to use int8 not int4 for bit numbering. 2020-04-07 15:57:58 -04:00
subscription.out Fix regression tests to use only global names beginning with "regress_". 2019-06-29 11:09:03 -04:00
subselect.out Correctly re-use hash tables in buildSubPlanHash(). 2020-02-29 13:48:09 -05:00
sysviews.out Implement Incremental Sort 2020-04-06 21:35:10 +02:00
tablesample.out Further adjust EXPLAIN's choices of table alias names. 2019-12-11 17:05:18 -05:00
temp.out Fix misbehavior with expression indexes on ON COMMIT DELETE ROWS tables. 2019-12-01 13:09:26 -05:00
text.out Improve plural handling in error message 2017-08-23 13:56:59 -04:00
tidscan.out Fix bug in Tid scan. 2020-02-07 22:06:31 +09:00
time.out
timestamp.out Avoid low-probability regression test failures in timestamp[tz] tests. 2019-12-22 18:00:22 -05:00
timestamptz.out Avoid low-probability regression test failures in timestamp[tz] tests. 2019-12-22 18:00:22 -05:00
timetz.out Fix some incorrect parsing of time with time zone strings 2019-08-07 18:16:31 +09:00
transactions.out Improve new AND CHAIN tests 2019-09-09 10:30:22 +02:00
triggers.out Enable BEFORE row-level triggers for partitioned tables 2020-03-18 18:58:05 -03:00
truncate.out Fix TRUNCATE .. CASCADE on partitions 2020-02-07 17:09:36 -03:00
tsdicts.out Preserve integer and float values accurately in (de)serialize_deflist. 2020-03-10 12:30:02 -04:00
tsearch.out Implement operator class parameters 2020-03-30 19:17:23 +03:00
tsrf.out Fix handling of targetlist SRFs when scan/join relation is known empty. 2019-03-07 14:22:13 -05:00
tstypes.out More float test and portability fixes. 2019-02-13 19:35:50 +00:00
tuplesort.out Try to stabilize results of new tuplesort regression test. 2019-12-14 15:01:56 -05:00
txid.out Introduce xid8-based functions to replace txid_XXX. 2020-04-07 12:04:32 +12:00
type_sanity.out Introduce "anycompatible" family of polymorphic types. 2020-03-19 11:43:11 -04:00
typed_table.out Suppress less info in regression tests using DROP CASCADE. 2017-08-01 16:49:23 -04:00
unicode_1.out Add SQL functions for Unicode normalization 2020-04-02 08:56:27 +02:00
unicode.out Add SQL functions for Unicode normalization 2020-04-02 08:56:27 +02:00
union.out Fix EXPLAIN's column alias output for mismatched child tables. 2019-12-02 19:08:10 -05:00
updatable_views.out Make rewriter prevent auto-updates on views with conditional INSTEAD rules. 2020-01-14 09:52:21 +00:00
update.out Introduce xid8-based functions to replace txid_XXX. 2020-04-07 12:04:32 +12:00
uuid.out Add gen_random_uuid function 2019-07-14 14:30:27 +02:00
vacuum.out Added relation name in error messages for constraint checks. 2020-01-28 07:48:10 +05:30
varchar_1.out
varchar_2.out
varchar.out
window.out Selectively include window frames in expression walks/mutates. 2019-10-03 10:54:52 +01:00
with.out Fix EXPLAIN's column alias output for mismatched child tables. 2019-12-02 19:08:10 -05:00
write_parallel.out Allow DML commands that create tables to use parallel query. 2017-10-05 11:40:48 -04:00
xid.out Introduce xid8-based functions to replace txid_XXX. 2020-04-07 12:04:32 +12:00
xml_1.out Avoid failure when selecting a namespace node in XMLTABLE. 2019-10-25 15:22:45 -04:00
xml_2.out Avoid failure when selecting a namespace node in XMLTABLE. 2019-10-25 15:22:45 -04:00
xml.out Avoid failure when selecting a namespace node in XMLTABLE. 2019-10-25 15:22:45 -04:00
xmlmap_1.out Fix cursor_to_xml in tableforest false mode 2017-05-03 21:41:10 -04:00
xmlmap.out Fix cursor_to_xml in tableforest false mode 2017-05-03 21:41:10 -04:00