Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
createlang(1)
Edit
PageHistory
Diff
Info
LikePages
CREATELANG !!!CREATELANG NAME SYNOPSIS DESCRIPTION NOTES USAGE ---- !!NAME createlang - define a new PostgreSQL procedural language !!SYNOPSIS __createlang__ [[ ''connection-options''... ] ''langname'' [[ ''dbname'' ] __createlang__ [[ ''connection-options''... ] __--list__ | __-l__ ''dbname'' __INPUTS__ __createlang__ accepts the following command line arguments: ''langname'' Specifies the name of the procedural programming language to be defined. __-d, --dbname__ ''dbname'' Specifies to which database the language should be added. The default is to use the database with the same name as the current system user. __-e, --echo__ Displays SQL commands as they are executed. __-l, --list__ Shows a list of already installed languages in the target database (which must be specified). __--L__ ''directory'' Specifies the directory in which the language interpreter is to be found. The directory is normally found automatically; this option is primarily for debugging purposes. __createlang__ also accepts the following command line arguments for connection parameters: __-h, --host__ ''host'' Specifies the host name of the machine on which the server is running. If host begins with a slash, it is used as the directory for the Unix domain socket. __-p, --port__ ''port'' Specifies the Internet TCP/IP port or local Unix domain socket file extension on which the server is listening for connections. __-U, --username__ ''username'' User name to connect as __-W, --password__ Force password prompt. __OUTPUTS__ Most error messages are self-explanatory. If not, run __createlang__ with the __--echo__ option and see under the respective SQL command for details. Check also under psql(1) for more possibilities. !!DESCRIPTION __createlang__ is a utility for adding a new programming language to a PostgreSQL database. __createlang__ can handle all the languages supplied in the default PostgreSQL distribution, but not languages provided by other parties. Although backend programming languages can be added directly using several SQL commands, it is recommended to use __createlang__ because it performs a number of checks and is much easier to use. See CREATE LANGUAGE [[__create_language__(l)] for more. !!NOTES Use droplang(1) to remove a language. __createlang__ is a shell script that invokes __psql__ several times. If you have things arranged so that a password prompt is required to connect, you will be prompted for a password several times. !!USAGE To install pltcl into the database template1: $ __createlang pltcl template1 __ ----
2 pages link to
createlang(1)
:
Man1c
droplang(1)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.