Add support for INCLUDE columns on indexes and index constraints with PG 11+. Fixes #3462

This commit is contained in:
Aditya Toshniwal
2018-07-19 13:13:37 +01:00
committed by Dave Page
parent a86604160a
commit c353135a3a
57 changed files with 1164 additions and 29 deletions

View File

@@ -23,6 +23,7 @@ Click the *Definition* tab to continue.
Use the fields in the *Definition* tab to define the primary key constraint:
* Click inside the *Columns* field and select one or more column names from the drop-down listbox. To delete a selection, click the *x* to the left of the column name. The primary key constraint should be different from any unique constraint defined for the same table; the selected column(s) for the constraints must be distinct.
* Use *Include columns* field to specify columns for *INCLUDE* clause of the index. This option is available in Postgres 11 and later.
* Select the name of the tablespace in which the primary key constraint will reside from the drop-down listbox in the *Tablespace* field.
* Select the name of an index from the drop-down listbox in the *Index* field. This field is optional. Adding a primary key will automatically create a unique B-tree index on the column or group of columns listed in the primary key, and will force the column(s) to be marked NOT NULL.
* Use the *Fill Factor* field to specify a fill factor for the table and index. The fill factor for a table is a percentage between 10 and 100. 100 (complete packing) is the default.