1 .\\" auto-generated by docbook2man-spec $Revision: 1.1 $
2 .TH "DROPLANG" "1" "2003-11-02" "Application" "PostgreSQL Client Applications"
4 droplang \- remove a PostgreSQL procedural language
8 \fBdroplang\fR\fR [ \fR\fB\fIconnection-option\fB\fR...\fB \fR\fR]\fR \fB\fIlangname\fB\fR\fR [ \fR\fB\fIdbname\fB \fR\fR]\fR
10 \fBdroplang\fR\fR [ \fR\fB\fIconnection-option\fB\fR...\fB \fR\fR]\fR \fR\fR \fB--list\fR\fR | \fR\fB-l\fR\fR\fR \fB\fIdbname\fB\fR
13 \fBdroplang\fR is a utility for removing an
14 existing programming language from a
16 \fBdroplang\fR can drop any procedural language,
17 even those not supplied by the PostgreSQL distribution.
19 Although backend programming languages can be removed directly using
20 several SQL commands, it is recommended to use
21 \fBdroplang\fR because it performs a number
22 of checks and is much easier to use. See
23 DROP LANGUAGE [\fBdrop_language\fR(7)]
27 \fBdroplang\fR accepts the following command line arguments:
30 Specifies the name of the backend programming language to be removed.
32 \fB[-d] \fIdbname\fB\fR
34 \fB[--dbname] \fIdbname\fB\fR
35 Specifies from which database the language should be removed.
36 The default is to use the database with the same name as the
42 Display SQL commands as they are executed.
47 Show a list of already installed languages in the target database.
50 \fBdroplang\fR also accepts
51 the following command line arguments for connection parameters:
55 \fB--host \fIhost\fB\fR
56 Specifies the host name of the machine on which the
58 is running. If host begins with a slash, it is used
59 as the directory for the Unix domain socket.
63 \fB--port \fIport\fB\fR
64 Specifies the Internet TCP/IP port or local Unix domain socket file
65 extension on which the server
66 is listening for connections.
68 \fB-U \fIusername\fB\fR
70 \fB--username \fIusername\fB\fR
71 User name to connect as
76 Force password prompt.
87 Default connection parameters
90 Most error messages are self-explanatory. If not, run
91 \fBdroplang\fR with the \fB--echo\fR
92 option and see under the respective SQL command
96 Use \fBcreatelang\fR(1) to add a language.
99 To remove the language pltcl:
102 $ \fBdroplang pltcl dbname\fR
106 \fBcreatelang\fR(1), DROP LANGUAGE [\fBdrop_language\fR(7)]