]> begriffs open source - ai-pg/blob - full-docs/man7/ALTER_TEXT_SEARCH_PARSER.7
Include links to all subsection html pages, with shorter paths too
[ai-pg] / full-docs / man7 / ALTER_TEXT_SEARCH_PARSER.7
1 '\" t
2 .\"     Title: ALTER TEXT SEARCH PARSER
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 PARSER" "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_PARSER \- change the definition of a text search parser
32 .SH "SYNOPSIS"
33 .sp
34 .nf
35 ALTER TEXT SEARCH PARSER \fIname\fR RENAME TO \fInew_name\fR
36 ALTER TEXT SEARCH PARSER \fIname\fR SET SCHEMA \fInew_schema\fR
37 .fi
38 .SH "DESCRIPTION"
39 .PP
40 \fBALTER TEXT SEARCH PARSER\fR
41 changes the definition of a text search parser\&. Currently, the only supported functionality is to change the parser\*(Aqs name\&.
42 .PP
43 You must be a superuser to use
44 \fBALTER TEXT SEARCH PARSER\fR\&.
45 .SH "PARAMETERS"
46 .PP
47 \fIname\fR
48 .RS 4
49 The name (optionally schema\-qualified) of an existing text search parser\&.
50 .RE
51 .PP
52 \fInew_name\fR
53 .RS 4
54 The new name of the text search parser\&.
55 .RE
56 .PP
57 \fInew_schema\fR
58 .RS 4
59 The new schema for the text search parser\&.
60 .RE
61 .SH "COMPATIBILITY"
62 .PP
63 There is no
64 \fBALTER TEXT SEARCH PARSER\fR
65 statement in the SQL standard\&.
66 .SH "SEE ALSO"
67 CREATE TEXT SEARCH PARSER (\fBCREATE_TEXT_SEARCH_PARSER\fR(7)), DROP TEXT SEARCH PARSER (\fBDROP_TEXT_SEARCH_PARSER\fR(7))