Yes, it is true for the view, but I also got below error when a view references 
tables:

qlalchemy.exc.InternalError: (InternalError) cannot drop table tbl_1 because 
other objects depend on it
DETAIL:  view view_1 depends on table tbl_1
HINT:  Use DROP ... CASCADE to drop the dependent objects too.
 '\nDROP TABLE tbl_1' {}

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sqlalchemy/-/dGkoiLZwUA4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to