DROP SERVER
Description
Drops an existing data server.
Precautions
Only the server owner or a user granted with the DROP permission can run the DROP SERVER command. A system administrator has this permission by default.
Syntax
DROP SERVER [ IF EXISTS ] server_name [ CASCADE | RESTRICT ] ;
Parameters
-
Reports a notice instead of an error if the specified data server does not exist.
-
Specifies the name of the data server to be dropped.
Examples
-- Create a server. gaussdb=# CREATE SERVER my_server FOREIGN DATA WRAPPER log_fdw; CREATE SERVER -- Drop my_server. gaussdb=# DROP SERVER my_server; DROP SERVER
Helpful Links
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.