summaryrefslogtreecommitdiff
path: root/src/bin/pgaccess/lib/help/drop_database.hlp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/pgaccess/lib/help/drop_database.hlp')
-rw-r--r--src/bin/pgaccess/lib/help/drop_database.hlp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/bin/pgaccess/lib/help/drop_database.hlp b/src/bin/pgaccess/lib/help/drop_database.hlp
new file mode 100644
index 0000000000..e804731d49
--- /dev/null
+++ b/src/bin/pgaccess/lib/help/drop_database.hlp
@@ -0,0 +1,14 @@
+.pgaw:Help.f.t insert end "DROP DATABASE" {bold} " removes the catalog entries for an existing database and deletes the directory containing the data. It can only be executed by the database administrator (See the \
+CREATE DATABASE command for details).
+
+" {} "Synopsis" {bold} "
+
+DROP DATABASE name
+
+" {} "Notes" {bold} "
+
+DROP DATABASE statement is a Postgres language extension.
+
+ Tip: This query cannot be executed while connected to the target database. It is usually preferable to use the destroydb script instead.
+
+Refer to the CREATE DATABASE statement for information on how to create a database. "