Opened 5 years ago

Closed 5 years ago

#30396 closed Cleanup/optimization (fixed)

Add a system check for uniqueness of partial indexes and constraints names.

Reported by: Mariusz Felisiak Owned by: Can Sarıgöl
Component: Core (System checks) Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Mariusz Felisiak)

name is a mandatory field for constraints (check and unique) and partial indexes that must be unique in the database scope. We should add a system check for uniqueness of names.

Based on discussion in #30362.

Change History (4)

comment:1 by Mariusz Felisiak, 5 years ago

Description: modified (diff)
Summary: Add a system check for uniqueness of partial indexes and check constraints names.Add a system check for uniqueness of partial indexes and constraints names.

comment:2 by Can Sarıgöl, 5 years ago

Owner: changed from nobody to Can Sarıgöl
Status: newassigned

comment:3 by Can Sarıgöl, 5 years ago

Has patch: set

comment:4 by Mariusz Felisiak <felisiak.mariusz@…>, 5 years ago

Resolution: fixed
Status: assignedclosed

In bceadd27:

Fixed #30396 -- Added system checks for uniqueness of indexes and constraints names.

Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@…>

Note: See TracTickets for help on using tickets.
Back to Top