-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[YSQL] Dropping table doesn't drop table index #852
Labels
kind/enhancement
This is an enhancement of an existing feature
Comments
nocaway
added
kind/enhancement
This is an enhancement of an existing feature
and removed
kind/bug
This issue is a bug
labels
Feb 8, 2019
Need to add support for DROP INDEX.
|
yugabyte-ci
pushed a commit
that referenced
this issue
Feb 28, 2019
Summary: - Enabled pg_depend - Fixed DROP VIEW (it was previously throwing an error) - Correctly throw an error when we try to DROP a table that another object depends on (like a VIEW). - Fixes DROP TABLE statement with multiple tables (ENG 4708 - #880) - Drop the indexes of a table when we drop the table. Test Plan: Run PgRegress tests Reviewers: robert, mihnea Reviewed By: mihnea Subscribers: kannan, yql Differential Revision: https://phabricator.dev.yugabyte.com/D6212
nspiegelberg
added a commit
that referenced
this issue
Aug 9, 2019
Summary: #852 added support for pg_depend, which allows us to handle dependencies between multiple commands. This means we can now enable DROP TABLE for multiple entries. This is needed to support pgbench. Test Plan: ./yb_build.sh --java-test org.yb.pgsql.TestPgRegressTable ./yb_build.sh --java-test org.yb.pgsql.TestPgRegressTypesString Reviewers: bogdan, neil Reviewed By: neil Subscribers: jason, mikhail, neha, yql Differential Revision: https://phabricator.dev.yugabyte.com/D7025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Moreover, we aren’t supporting
DROP INDEX
statement - we can't get rid of leftover indices:The text was updated successfully, but these errors were encountered: