]> begriffs open source - ai-pg/blob - full-docs/src/sgml/man7/ALTER_TEXT_SEARCH_TEMPLATE.7
PG 18 docs from https://ftp.postgresql.org/pub/source/v18.0/postgresql-18.0-docs...
[ai-pg] / full-docs / src / sgml / man7 / ALTER_TEXT_SEARCH_TEMPLATE.7
1 '\" t
2 .\"     Title: ALTER TEXT SEARCH TEMPLATE
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 TEXT SEARCH TEMPLATE" "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_TEXT_SEARCH_TEMPLATE \- change the definition of a text search template
32 .SH "SYNOPSIS"
33 .sp
34 .nf
35 ALTER TEXT SEARCH TEMPLATE \fIname\fR RENAME TO \fInew_name\fR
36 ALTER TEXT SEARCH TEMPLATE \fIname\fR SET SCHEMA \fInew_schema\fR
37 .fi
38 .SH "DESCRIPTION"
39 .PP
40 \fBALTER TEXT SEARCH TEMPLATE\fR
41 changes the definition of a text search template\&. Currently, the only supported functionality is to change the template\*(Aqs name\&.
42 .PP
43 You must be a superuser to use
44 \fBALTER TEXT SEARCH TEMPLATE\fR\&.
45 .SH "PARAMETERS"
46 .PP
47 \fIname\fR
48 .RS 4
49 The name (optionally schema\-qualified) of an existing text search template\&.
50 .RE
51 .PP
52 \fInew_name\fR
53 .RS 4
54 The new name of the text search template\&.
55 .RE
56 .PP
57 \fInew_schema\fR
58 .RS 4
59 The new schema for the text search template\&.
60 .RE
61 .SH "COMPATIBILITY"
62 .PP
63 There is no
64 \fBALTER TEXT SEARCH TEMPLATE\fR
65 statement in the SQL standard\&.
66 .SH "SEE ALSO"
67 CREATE TEXT SEARCH TEMPLATE (\fBCREATE_TEXT_SEARCH_TEMPLATE\fR(7)), DROP TEXT SEARCH TEMPLATE (\fBDROP_TEXT_SEARCH_TEMPLATE\fR(7))