Skip to main content
add link, add ascending.
Source Link
Erwin Brandstetter
  • 186.5k
  • 28
  • 465
  • 639

Yes. A UNIQUE constraintUNIQUE constraint is implemented with the help of a unique index - a b-tree index with default ascending sort ordering over all involved columns. The index is created and maintained automatically, and is used for all purposes like a plain unique index by Postgres.

There is no need to create another (redundant) unique index like it, that would be a waste of resources.

Detailed explanation:

Some rare exceptions apply for multicolumn indexes with special sort options:

Yes. A UNIQUE constraint is implemented with the help of a unique index - a b-tree index with default sort ordering over all involved columns. The index is created and maintained automatically, and is used for all purposes like a plain unique index by Postgres.

There is no need to create another (redundant) unique index like it, that would be a waste of resources.

Detailed explanation:

Some rare exceptions apply for multicolumn indexes with special sort options:

Yes. A UNIQUE constraint is implemented with the help of a unique index - a b-tree index with default ascending sort ordering over all involved columns. The index is created and maintained automatically, and is used for all purposes like a plain unique index by Postgres.

There is no need to create another (redundant) unique index like it, that would be a waste of resources.

Detailed explanation:

Some rare exceptions apply for multicolumn indexes with special sort options:

mention exceptions
Source Link
Erwin Brandstetter
  • 186.5k
  • 28
  • 465
  • 639

Yes. A UNIQUE constraint is implemented with the help of a unique index - a b-tree index with default sort ordering over all involved columns. The index is created and maintained automatically, and is used for all purposes like a plain unique index by Postgres.

There is no need to create another (redundant) unique index like it, that would be a waste of resources.

Detailed explanation:

Some rare exceptions apply for multicolumn indexes with special sort options:

Yes. A UNIQUE constraint is implemented with the help of a unique index - a b-tree index with default sort ordering over all involved columns. The index is created and maintained automatically, and is used for all purposes like a plain unique index by Postgres.

There is no need to create another (redundant) unique index like it, that would be a waste of resources.

Detailed explanation:

Yes. A UNIQUE constraint is implemented with the help of a unique index - a b-tree index with default sort ordering over all involved columns. The index is created and maintained automatically, and is used for all purposes like a plain unique index by Postgres.

There is no need to create another (redundant) unique index like it, that would be a waste of resources.

Detailed explanation:

Some rare exceptions apply for multicolumn indexes with special sort options:

replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

Yes. A UNIQUE constraint is implemented with the help of a unique index - a b-tree index with default sort ordering over all involved columns. The index is created and maintained automatically, and is used for all purposes like a plain unique index by Postgres.

There is no need to create another (redundant) unique index like it, that would be a waste of resources.

Detailed explanation:

Yes. A UNIQUE constraint is implemented with the help of a unique index - a b-tree index with default sort ordering over all involved columns. The index is created and maintained automatically, and is used for all purposes like a plain unique index by Postgres.

There is no need to create another (redundant) unique index like it, that would be a waste of resources.

Detailed explanation:

Yes. A UNIQUE constraint is implemented with the help of a unique index - a b-tree index with default sort ordering over all involved columns. The index is created and maintained automatically, and is used for all purposes like a plain unique index by Postgres.

There is no need to create another (redundant) unique index like it, that would be a waste of resources.

Detailed explanation:

replaced http://dba.stackexchange.com/ with https://dba.stackexchange.com/
Source Link
Loading
added 119 characters in body
Source Link
Erwin Brandstetter
  • 186.5k
  • 28
  • 465
  • 639
Loading
Source Link
Erwin Brandstetter
  • 186.5k
  • 28
  • 465
  • 639
Loading