Created
January 7, 2018 16:27
-
-
Save drewbanin/60b4755043f2958a487a6817ecaad2b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create table public.test as ( | |
select 1 as id | |
); | |
create view public.test_view as ( | |
select * from public.test | |
); | |
drop table public.test; | |
ERROR: cannot drop table public.test because other objects depend on it | |
HINT: Use DROP ... CASCADE to drop the dependent objects too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment