📄 droplang.1
字号:
.\\" auto-generated by docbook2man-spec $Revision: 1.1.1.1 $.TH "DROPLANG" "1" "2008-01-03" "Application" "PostgreSQL Client Applications".SH NAMEdroplang \- remove a PostgreSQL procedural language.SH SYNOPSIS.sp\fBdroplang\fR [ \fB\fIconnection-option\fB\fR\fI...\fR ] \fB\fIlangname\fB\fR [ \fB\fIdbname\fB\fR ] \fBdroplang\fR [ \fB\fIconnection-option\fB\fR\fI...\fR ] \fB [ --list ] [ -l ] \fR \fB\fIdbname\fB\fR.SH "DESCRIPTION".PP\fBdroplang\fR is a utility for removing an existing programming language from aPostgreSQL database.\fBdroplang\fR can drop any procedural language,even those not supplied by the PostgreSQL distribution..PPAlthough backend programming languages can be removed directly usingseveral SQL commands, it is recommended to use\fBdroplang\fR because it performs a numberof checks and is much easier to use. SeeDROP LANGUAGE [\fBdrop_language\fR(7)]for more..SH "OPTIONS".PP\fBdroplang\fR accepts the following command line arguments:.TP\fB\fIlangname\fB\fRSpecifies the name of the backend programming language to be removed..TP\fB[-d] \fIdbname\fB\fR.TP\fB[--dbname] \fIdbname\fB\fRSpecifies from which database the language should be removed.The default is to use the database with the same name as thecurrent system user..TP\fB-e\fR.TP\fB--echo\fRDisplay SQL commands as they are executed..TP\fB-l\fR.TP\fB--list\fRShow a list of already installed languages in the target database..PP.PP\fBdroplang\fR also accepts the following command line arguments for connection parameters:.TP\fB-h \fIhost\fB\fR.TP\fB--host \fIhost\fB\fRSpecifies the host name of the machine on which the serveris running. If host begins with a slash, it is used as the directory for the Unix domain socket..TP\fB-p \fIport\fB\fR.TP\fB--port \fIport\fB\fRSpecifies the Internet TCP/IP port or local Unix domain socket file extension on which the serveris listening for connections..TP\fB-U \fIusername\fB\fR.TP\fB--username \fIusername\fB\fRUser name to connect as.TP\fB-W\fR.TP\fB--password\fRForce password prompt..PP.SH "ENVIRONMENT".TP\fBPGDATABASE\fR.TP\fBPGHOST\fR.TP\fBPGPORT\fR.TP\fBPGUSER\fRDefault connection parameters.PPThis utility, like most other PostgreSQL utilities,also uses the environment variables supported by \fBlibpq\fR(see in the documentation)..PP.SH "DIAGNOSTICS".PPMost error messages are self-explanatory. If not, run\fBdroplang\fR with the \fB--echo\fRoption and see under the respective SQL commandfor details. Also, any default connection settings and environmentvariables used by the \fBlibpq\fR front-endlibrary will apply..SH "NOTES".PPUse \fBcreatelang\fR(1) to add a language..SH "EXAMPLES".PPTo remove the language pltcl:.sp.nf$ \fBdroplang pltcl dbname\fR.sp.fi.SH "SEE ALSO"\fBcreatelang\fR(1), DROP LANGUAGE [\fBdrop_language\fR(7)]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -