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

Tables should include a collection of Indexes for management and scripting purposes #13

Open
nvarscar opened this issue Feb 20, 2023 · 0 comments
Labels
enhancement New feature or request SQL Involves knowledge of Postgres/SQL

Comments

@nvarscar
Copy link
Collaborator

Review the following to implement:
https://www.postgresql.org/docs/current/sql-createindex.html
https://www.postgresql.org/docs/current/sql-alterindex.html

Some of the features it should be implementing:

cluster.tables['foo'].reindex(concurrently=True)
idxs: IndexCollection = cluster.tables['foo'].indexes
idx: Index = idxs['pk_foobar']
idx.reindex(concurrently=True)
idx.drop()
idx.fillfactor
idx.null_order
idx.null_distinct
idx.collation
idx.tablespace
idx.filter: Composable
@nvarscar nvarscar added enhancement New feature or request SQL Involves knowledge of Postgres/SQL labels Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request SQL Involves knowledge of Postgres/SQL
Projects
None yet
Development

No branches or pull requests

1 participant