2 .\" Title: ALTER TEXT SEARCH TEMPLATE
3 .\" Author: The PostgreSQL Global Development Group
4 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
6 .\" Manual: PostgreSQL 18.0 Documentation
7 .\" Source: PostgreSQL 18.0
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 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 ALTER_TEXT_SEARCH_TEMPLATE \- change the definition of a text search template
35 ALTER TEXT SEARCH TEMPLATE \fIname\fR RENAME TO \fInew_name\fR
36 ALTER TEXT SEARCH TEMPLATE \fIname\fR SET SCHEMA \fInew_schema\fR
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\&.
43 You must be a superuser to use
44 \fBALTER TEXT SEARCH TEMPLATE\fR\&.
49 The name (optionally schema\-qualified) of an existing text search template\&.
54 The new name of the text search template\&.
59 The new schema for the text search template\&.
64 \fBALTER TEXT SEARCH TEMPLATE\fR
65 statement in the SQL standard\&.
67 CREATE TEXT SEARCH TEMPLATE (\fBCREATE_TEXT_SEARCH_TEMPLATE\fR(7)), DROP TEXT SEARCH TEMPLATE (\fBDROP_TEXT_SEARCH_TEMPLATE\fR(7))