postgresql/src/test/regress/expected
Michael Paquier 0b48f1335d Fix assertion failure with ALTER TABLE ATTACH PARTITION and indexes
Using ALTER TABLE ATTACH PARTITION causes an assertion failure when
attempting to work on a partitioned index, because partitioned indexes
cannot have partition bounds.

The grammar of ALTER TABLE ATTACH PARTITION requires partition bounds,
but not ALTER INDEX, so mixing ALTER TABLE with partitioned indexes is
confusing.  Hence, on HEAD, prevent ALTER TABLE to attach a partition if
the relation involved is a partitioned index.  On back-branches, as
applications may rely on the existing behavior, just remove the
culprit assertion.

Reported-by: Alexander Lakhin
Author: Amit Langote, Michael Paquier
Discussion: https://postgr.es/m/16276-5cd1dcc8fb8be7b5@postgresql.org
Backpatch-through: 11
2020-03-03 13:55:41 +09:00
..
.gitignore
advisory_lock.out
aggregates.out Test GROUP BY matching of join columns that are type-coerced by USING. 2020-01-01 19:31:41 -05:00
alter_generic.out Add equalimage B-Tree support functions. 2020-02-26 11:28:25 -08:00
alter_operator.out
alter_table.out Force tuple conversion when the source has missing attributes. 2020-02-05 20:21:20 +00:00
amutils.out Support for INCLUDE attributes in GiST indexes 2019-03-10 11:37:17 +03:00
arrays.out
async.out
bit.out Fix bitshiftright()'s zero-padding some more. 2019-10-04 10:34:40 -04:00
bitmapops.out
boolean.out
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 Add deduplication to nbtree. 2020-02-26 13:05:30 -08:00
case.out
char_1.out
char_2.out
char.out
circle.out Back off output precision in circle.sql regression test. 2019-08-25 12:14:50 -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 Remove obsolete collation test. 2019-10-16 18:02:23 +13:00
collate.out Un-hide most cascaded-drop details in regression test results. 2019-03-24 19:15:37 -04:00
combocid.out
comments.out
conversion.out
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 Implement OR REPLACE option for CREATE AGGREGATE. 2019-03-19 01:16:50 +00: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
create_procedure.out
create_table_like.out Added relation name in error messages for constraint checks. 2020-01-28 07:48:10 +05:30
create_table.out Added relation name in error messages for constraint checks. 2020-01-28 07:48:10 +05:30
create_type.out
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
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
enum.out
equivclass.out Suppress unnecessary RelabelType nodes in more cases. 2020-02-26 18:14:12 -05:00
errors.out
event_trigger.out Fix confusion about event trigger vs. plain function in plpgsql. 2020-02-19 14:45:17 -05:00
explain.out Fix EXPLAIN (SETTINGS) to follow policy about when to print empty fields. 2020-01-26 16:32:19 -05: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
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 Avoid full scan of GIN indexes when possible 2020-01-18 01:11:39 +03:00
gist.out Support reloptions of enum type 2019-09-25 15:56:52 -03:00
groupingsets.out Add missing (COSTS OFF) to EXPLAIN added in previous commit. 2019-07-25 14:52:36 -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
hash_index.out
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
hs_standby_check.out
hs_standby_disallowed.out
hs_standby_functions.out
identity.out Added relation name in error messages for constraint checks. 2020-01-28 07:48:10 +05:30
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
inet.out Add sort support routine for the inet data type. 2019-08-01 09:34:14 -07:00
inherit.out Added relation name in error messages for constraint checks. 2020-01-28 07:48:10 +05:30
init_privs.out
insert_conflict.out
insert.out Added relation name in error messages for constraint checks. 2020-01-28 07:48:10 +05:30
int2.out
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
json_encoding.out
json.out Remove unnecessary test dependency on the contents of pg_pltemplate. 2019-08-21 10:43:23 -04:00
jsonb_jsonpath.out Refactor jsonpath's compareDatetime() 2019-10-21 23:07:07 +03:00
jsonb.out Further tweaking of jsonb_set_lax(). 2020-01-20 14:26:56 -05:00
jsonpath_encoding_1.out Fix some minor spec-compliance issues in jsonpath lexer. 2019-09-20 14:22:58 -04:00
jsonpath_encoding.out Fix some minor spec-compliance issues in jsonpath lexer. 2019-09-20 14:22:58 -04:00
jsonpath.out Implement jsonpath .datetime() method 2019-09-25 22:51:51 +03:00
limit.out
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
macaddr8.out
macaddr.out
matview.out
misc_functions.out
misc_sanity.out
money.out Fix loss of fractional digits for large values in cash_numeric(). 2019-07-26 11:59:00 -04:00
name.out
namespace.out
numeric_big.out Fix corner-case loss of precision in numeric ln(). 2020-03-01 14:49:25 +00:00
numeric.out Add functions gcd() and lcm() for integer and numeric types. 2020-01-25 14:00:59 +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 Add equalimage B-Tree support functions. 2020-02-26 11:28:25 -08:00
partition_aggregate.out Further adjust EXPLAIN's choices of table alias names. 2019-12-11 17:05:18 -05:00
partition_info.out Fix crash with pg_partition_root 2019-03-22 17:27:38 +09:00
partition_join.out Clean up some misplaced comments in partition_join.sql regression test. 2019-12-16 17:00:15 +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
pg_lsn.out Add min() and max() aggregates for pg_lsn 2019-07-05 12:21:11 +09:00
plancache.out
plpgsql.out Add backend-only appendStringInfoStringQuoted 2019-12-10 17:12:56 -03: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
portals_p2.out
portals.out
prepare.out Add error position to an error message 2019-11-29 09:10:17 +01:00
prepared_xacts_1.out
prepared_xacts.out
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
psql.out Improve coverage of psql for backslash commands with \if and \elif 2019-09-12 10:35:13 +09:00
publication.out Warn if wal_level is too low when creating a publication. 2019-07-13 10:35:34 +12:00
random.out
rangefuncs.out Improve the handling of result type coercions in SQL functions. 2020-01-08 11:07:59 -05:00
rangetypes.out Fix CheckAttributeType's handling of collations for ranges. 2020-01-31 17:03:55 -05:00
regex.linux.utf8.out
regex.out Fix regression test outputs 2019-05-17 09:40:02 +09:00
regproc.out
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 Simplify psql \d's rule for ordering the indexes of a table. 2019-07-02 12:32:49 -04:00
returning.out
roleattributes.out
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 Report progress of streaming base backup. 2020-03-03 12:03:43 +09:00
sanity_check.out Record parents of triggers 2020-02-27 13:23:33 -03:00
security_label.out
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
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
select_parallel.out Further adjust EXPLAIN's choices of table alias names. 2019-12-11 17:05:18 -05:00
select_views.out
select.out
sequence.out Added relation name in error messages for constraint checks. 2020-01-28 07:48:10 +05:30
spgist.out
stats_ext.out Apply multiple multivariate MCV lists when possible 2020-01-13 01:21:17 +01:00
stats.out Partially revert "Insert temporary debugging output in regression tests." 2019-08-11 18:55:32 -04:00
strings.out Reduce size of backend scanner's tables. 2020-01-13 15:04:31 -05: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
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
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 Record parents of triggers 2020-02-27 13:23:33 -03:00
truncate.out Fix TRUNCATE .. CASCADE on partitions 2020-02-07 17:09:36 -03:00
tsdicts.out Validate ispell dictionaries more carefully. 2019-11-02 16:45:32 -04:00
tsearch.out Avoid full scan of GIN indexes when possible 2020-01-18 01:11:39 +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
type_sanity.out Harden tableam against nonexistant / wrong kind of AMs. 2019-04-04 17:39:39 -07:00
typed_table.out
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 Fix EXPLAIN's column alias output for mismatched child tables. 2019-12-02 19:08:10 -05: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
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
xmlmap.out