]> begriffs open source - ai-pg/blob - full-docs/man7/ALTER_LANGUAGE.7
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / man7 / ALTER_LANGUAGE.7
1 '\" t
2 .\"     Title: ALTER LANGUAGE
3 .\"    Author: The PostgreSQL Global Development Group
4 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
5 .\"      Date: 2025
6 .\"    Manual: PostgreSQL 18.0 Documentation
7 .\"    Source: PostgreSQL 18.0
8 .\"  Language: English
9 .\"
10 .TH "ALTER LANGUAGE" "7" "2025" "PostgreSQL 18.0" "PostgreSQL 18.0 Documentation"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el       .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "NAME"
31 ALTER_LANGUAGE \- change the definition of a procedural language
32 .SH "SYNOPSIS"
33 .sp
34 .nf
35 ALTER [ PROCEDURAL ] LANGUAGE \fIname\fR RENAME TO \fInew_name\fR
36 ALTER [ PROCEDURAL ] LANGUAGE \fIname\fR OWNER TO { \fInew_owner\fR | CURRENT_ROLE | CURRENT_USER | SESSION_USER }
37 .fi
38 .SH "DESCRIPTION"
39 .PP
40 \fBALTER LANGUAGE\fR
41 changes the definition of a procedural language\&. The only functionality is to rename the language or assign a new owner\&. You must be superuser or owner of the language to use
42 \fBALTER LANGUAGE\fR\&.
43 .SH "PARAMETERS"
44 .PP
45 \fIname\fR
46 .RS 4
47 Name of a language
48 .RE
49 .PP
50 \fInew_name\fR
51 .RS 4
52 The new name of the language
53 .RE
54 .PP
55 \fInew_owner\fR
56 .RS 4
57 The new owner of the language
58 .RE
59 .SH "COMPATIBILITY"
60 .PP
61 There is no
62 \fBALTER LANGUAGE\fR
63 statement in the SQL standard\&.
64 .SH "SEE ALSO"
65 CREATE LANGUAGE (\fBCREATE_LANGUAGE\fR(7)), DROP LANGUAGE (\fBDROP_LANGUAGE\fR(7))