DROP VIEW view
The name of an existing view to drop.
The message returned if the command is successful.
This message occurs if the specified view does not exist in the database.
DROP VIEW drops an existing view from the database. To execute this command you must be the owner of the view.
The PostgreSQL DROP TABLE statement also drops views.
Refer to the CREATE VIEW statement for information on how to create views.
This command will remove the view called kinds:
DROP VIEW kinds
SQL92 specifies some additional capabilities for DROP VIEW:
DROP VIEW view {RESTRICT | CASCADE}
Ensures that only a view with no dependent views or integrity constraints can be destroyed.
Any referencing views and integrity constraints will be dropped as well.
TIP: At present, to remove a referenced view from a PostgreSQL database, you must drop it by hand.