Unix and Linux Discussions Tagged with database |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
9,112 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
5,649 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
3,135 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,593 |
Shell Programming and Scripting |
|
|
|
2 |
2,358 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
3,032 |
Shell Programming and Scripting |
|
|
|
21 |
21,115 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
4 |
2,712 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
8,419 |
Solaris |
|
|
|
0 |
3,910 |
UNIX and Linux Applications |
|
|
|
6 |
8,903 |
Shell Programming and Scripting |
|
|
|
5 |
4,722 |
Homework & Coursework Questions |
|
|
|
1 |
2,080 |
Shell Programming and Scripting |
|
|
|
4 |
6,738 |
Homework & Coursework Questions |
|
|
|
3 |
2,698 |
Shell Programming and Scripting |
|
|
|
7 |
4,810 |
Shell Programming and Scripting |
|
|
|
6 |
2,298 |
Shell Programming and Scripting |
|
|
|
3 |
8,283 |
UNIX and Linux Applications |
|
|
|
7 |
8,013 |
Programming |
|
|
|
4 |
4,061 |
Shell Programming and Scripting |
|
|
|
3 |
6,220 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
10,997 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,131 |
Shell Programming and Scripting |
|
|
|
5 |
2,965 |
Shell Programming and Scripting |
|
|
|
3 |
5,003 |
Infrastructure Monitoring |
|
|
|
1 |
4,643 |
Shell Programming and Scripting |
|
|
|
2 |
3,285 |
Shell Programming and Scripting |
|
|
|
0 |
1,595 |
Software Releases - RSS News |
|
|
|
0 |
1,539 |
Software Releases - RSS News |
|
|
|
0 |
1,604 |
Software Releases - RSS News |
|
|
|
0 |
1,792 |
IT Security RSS |
|
|
|
0 |
1,314 |
Software Releases - RSS News |
|
|
|
0 |
1,268 |
Software Releases - RSS News |
|
|
|
0 |
1,600 |
Software Releases - RSS News |
|
|
|
0 |
2,293 |
UNIX and Linux RSS News |
|
|
|
0 |
1,182 |
Software Releases - RSS News |
|
|
|
0 |
1,307 |
Software Releases - RSS News |
|
|
|
0 |
1,012 |
Software Releases - RSS News |
|
|
|
2 |
3,665 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
2,987 |
UNIX for Dummies Questions & Answers |
DROP
DATABASE(7) PostgreSQL 9.2.7 Documentation DROP DATABASE(7)
NAME
DROP_DATABASE - remove a database
SYNOPSIS
DROP DATABASE [ IF EXISTS ] name
DESCRIPTION
DROP DATABASE drops a database. It removes the catalog entries for the database and deletes the directory containing the data. It can only
be executed by the database owner. Also, it cannot be executed while you or anyone else are connected to the target database. (Connect to
postgres or any other database to issue this command.)
DROP DATABASE cannot be undone. Use it with care!
PARAMETERS
IF EXISTS
Do not throw an error if the database does not exist. A notice is issued in this case.
name
The name of the database to remove.
NOTES
DROP DATABASE cannot be executed inside a transaction block.
This command cannot be executed while connected to the target database. Thus, it might be more convenient to use the program dropdb(1)
instead, which is a wrapper around this command.
COMPATIBILITY
There is no DROP DATABASE statement in the SQL standard.
SEE ALSO
CREATE DATABASE (CREATE_DATABASE(7))
PostgreSQL 9.2.7 2014-02-17 DROP DATABASE(7)