2 doc/src/sgml/ref/alter_tstemplate.sgml
3 PostgreSQL documentation
6 <refentry id=
"sql-altertstemplate">
7 <indexterm zone=
"sql-altertstemplate">
8 <primary>ALTER TEXT SEARCH TEMPLATE
</primary>
12 <refentrytitle>ALTER TEXT SEARCH TEMPLATE
</refentrytitle>
13 <manvolnum>7</manvolnum>
14 <refmiscinfo>SQL - Language Statements
</refmiscinfo>
18 <refname>ALTER TEXT SEARCH TEMPLATE
</refname>
19 <refpurpose>change the definition of a text search template
</refpurpose>
24 ALTER TEXT SEARCH TEMPLATE
<replaceable>name
</replaceable> RENAME TO
<replaceable>new_name
</replaceable>
25 ALTER TEXT SEARCH TEMPLATE
<replaceable>name
</replaceable> SET SCHEMA
<replaceable>new_schema
</replaceable>
30 <title>Description
</title>
33 <command>ALTER TEXT SEARCH TEMPLATE
</command> changes the definition of
34 a text search template. Currently, the only supported functionality
35 is to change the template's name.
39 You must be a superuser to use
<command>ALTER TEXT SEARCH TEMPLATE
</command>.
44 <title>Parameters
</title>
48 <term><replaceable class=
"parameter">name
</replaceable></term>
51 The name (optionally schema-qualified) of an existing text search template.
57 <term><replaceable class=
"parameter">new_name
</replaceable></term>
60 The new name of the text search template.
66 <term><replaceable class=
"parameter">new_schema
</replaceable></term>
69 The new schema for the text search template.
77 <title>Compatibility
</title>
80 There is no
<command>ALTER TEXT SEARCH TEMPLATE
</command> statement in
86 <title>See Also
</title>
88 <simplelist type=
"inline">
89 <member><xref linkend=
"sql-createtstemplate"/></member>
90 <member><xref linkend=
"sql-droptstemplate"/></member>