Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: PSQL 15+ indexes don't display when NULLS NOT DISTINCT” option was turned on #2115

Closed
rathboma opened this issue Apr 11, 2024 · 0 comments · Fixed by #2188
Closed
Assignees
Labels
accepted 👍 bug Something isn't working

Comments

@rathboma
Copy link
Collaborator

rathboma commented Apr 11, 2024

In PostgreSQL 15+ You can create an index in which NULL values can be duplicated.

Here is an example of creating the index:

CREATE UNIQUE INDEX ON untitled_table2(created_at) NULLS NOT DISTINCT ;

Beekeeper doesn't show this detail in the structure tab, instead just shows it as a unique index

This should probably be displayed in an 'extras' column, or something similar to how we handle MYSQL Extras

More details:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted 👍 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants