Tyler Fontaine 1bccedf3f8 Limit Index Tablespace Lookup To p and u Constraints
This resolves an issue when using both constraints with index
tablespaces AND constraints that have no indexes on a single hypertable.

chunk_constraint_add_table_constraint() was attempting to add
`USING INDEX TABLESPACE` to all constraints when a given hypertable had
any constraint configured to use a tablespace, resulting in a SYNTAX
error and blocking the creation of new chunks.

The solution here is to limit index tablespace lookups to only the
constraint types which use indexes: primary key and unique so that only
those constraits will have `USING INDEX TABLESPACE` prepended when
necessary.
2020-11-04 08:39:44 -06:00
..
2020-10-20 18:41:36 +02:00
2020-10-20 18:41:36 +02:00
2020-10-05 19:35:51 +02:00
2020-07-29 15:30:39 -04:00
2019-04-26 13:08:00 -04:00
2020-10-13 09:41:12 +02:00