Skip to content

Commit 63380a3

Browse files
solongordonrafiss
authored andcommitted
Set supports_partitioned_indexes to false
This was false until we bumped our advertised PostgreSQL version in v21.1. I set it back to false since it was causing a test failure.
1 parent 327af39 commit 63380a3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/active_record/connection_adapters/cockroachdb_adapter.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,10 @@ def supports_string_to_array_coercion?
218218
@crdb_version >= 202
219219
end
220220

221+
def supports_partitioned_indexes?
222+
false
223+
end
224+
221225
# This is hardcoded to 63 (as previously was in ActiveRecord 5.0) to aid in
222226
# migration from PostgreSQL to CockroachDB. In practice, this limitation
223227
# is arbitrary since CockroachDB supports index name lengths and table alias

0 commit comments

Comments
 (0)