Unix and Linux Discussions Tagged with index |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
4 |
61,307 |
Shell Programming and Scripting |
|
|
|
3 |
12,232 |
Web Development |
|
|
|
2 |
9,243 |
Shell Programming and Scripting |
|
|
|
2 |
7,031 |
HP-UX |
|
|
|
1 |
1,815 |
What is on Your Mind? |
|
|
|
1 |
1,191 |
What is on Your Mind? |
|
|
|
2 |
2,118 |
What is on Your Mind? |
|
|
|
2 |
12,403 |
Shell Programming and Scripting |
|
|
|
3 |
1,389 |
Shell Programming and Scripting |
|
|
|
1 |
4,699 |
Linux |
|
|
|
12 |
5,904 |
Shell Programming and Scripting |
|
|
|
0 |
6,962 |
Shell Programming and Scripting |
|
|
|
5 |
3,446 |
Programming |
|
|
|
0 |
1,295 |
Software Releases - RSS News |
|
|
|
0 |
2,261 |
Complex Event Processing RSS News |
|
|
|
0 |
1,981 |
Cartoons for Geeks |
|
|
|
3 |
15,703 |
Programming |
|
|
|
2 |
2,641 |
Shell Programming and Scripting |
|
|
|
6 |
9,258 |
Programming |
|
|
|
0 |
4,398 |
UNIX and Linux RSS News |
|
|
|
4 |
5,044 |
Shell Programming and Scripting |
|
|
|
0 |
1,442 |
UNIX and Linux RSS News |
|
|
|
0 |
1,202 |
Security Advisories (RSS) |
|
|
|
2 |
10,056 |
Shell Programming and Scripting |
|
|
|
1 |
4,742 |
Shell Programming and Scripting |
|
|
|
2 |
11,620 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
7,132 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,822 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
7,518 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
8,915 |
IP Networking |
|
|
|
1 |
2,635 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
11,869 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,686 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,500 |
Cybersecurity |
|
|
|
1 |
6,819 |
Programming |
|
|
|
0 |
3,321 |
Linux |
|
|
|
11 |
7,929 |
UNIX for Dummies Questions & Answers |
DROP
INDEX(7) PostgreSQL 9.2.7 Documentation DROP INDEX(7)
NAME
DROP_INDEX - remove an index
SYNOPSIS
DROP INDEX [ CONCURRENTLY ] [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]
DESCRIPTION
DROP INDEX drops an existing index from the database system. To execute this command you must be the owner of the index.
PARAMETERS
CONCURRENTLY
Drop the index without locking out concurrent selects, inserts, updates, and deletes on the index's table. A normal DROP INDEX acquires
exclusive lock on the table, blocking other accesses until the index drop can be completed. With this option, the command instead waits
until conflicting transactions have completed.
There are several caveats to be aware of when using this option. Only one index name can be specified, and the CASCADE option is not
supported. (Thus, an index that supports a UNIQUE or PRIMARY KEY constraint cannot be dropped this way.) Also, regular DROP INDEX
commands can be performed within a transaction block, but DROP INDEX CONCURRENTLY cannot.
IF EXISTS
Do not throw an error if the index does not exist. A notice is issued in this case.
name
The name (optionally schema-qualified) of an index to remove.
CASCADE
Automatically drop objects that depend on the index.
RESTRICT
Refuse to drop the index if any objects depend on it. This is the default.
EXAMPLES
This command will remove the index title_idx:
DROP INDEX title_idx;
COMPATIBILITY
DROP INDEX is a PostgreSQL language extension. There are no provisions for indexes in the SQL standard.
SEE ALSO
CREATE INDEX (CREATE_INDEX(7))
PostgreSQL 9.2.7 2014-02-17 DROP INDEX(7)