Unverified Commit 8a20673f authored by Dimitri Fontaine's avatar Dimitri Fontaine Committed by GitHub
Browse files

Fix support for exclusion constraints. (#25)

* Fix support for exclusion constraints.

* Include ALTER TABLE ADD constraint timing to the summary.

* Improve a summary label.

* Bug fix: recognize index supporting constraints.

The "constraint" boolean arg is about our intend to either create the index
or the constraint (that maybe attached to the index). Our decision making
about the concurrent building of indexes should apply to building an index
that is baking a constraint that's neither PK or UNIQUE, we can't re-use our
"constraint" boolean for that decision making.

* Refactoring: fix a function's name.

Using the start_ prefix in the function name would imply async behavior
where copydb_create_table_indexes actually waits until all the indexes have
been built before returning. Change its name.

* Refactor code to make it easier to read.
parent 5653e917
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment