[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: ALTER_TEXT_SEARCH_DICTIONARY.7
File is not writable. Editing disabled.
'\" t .\" Title: ALTER TEXT SEARCH DICTIONARY .\" Author: The PostgreSQL Global Development Group .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Date: 2017-11-06 .\" Manual: PostgreSQL 9.2.24 Documentation .\" Source: PostgreSQL 9.2.24 .\" Language: English .\" .TH "ALTER TEXT SEARCH DICTIONARY" "7" "2017-11-06" "PostgreSQL 9.2.24" "PostgreSQL 9.2.24 Documentation" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ALTER_TEXT_SEARCH_DICTIONARY \- change the definition of a text search dictionary .\" ALTER TEXT SEARCH DICTIONARY .SH "SYNOPSIS" .sp .nf ALTER TEXT SEARCH DICTIONARY \fIname\fR ( \fIoption\fR [ = \fIvalue\fR ] [, \&.\&.\&. ] ) ALTER TEXT SEARCH DICTIONARY \fIname\fR RENAME TO \fInew_name\fR ALTER TEXT SEARCH DICTIONARY \fIname\fR OWNER TO \fInew_owner\fR ALTER TEXT SEARCH DICTIONARY \fIname\fR SET SCHEMA \fInew_schema\fR .fi .SH "DESCRIPTION" .PP \fBALTER TEXT SEARCH DICTIONARY\fR changes the definition of a text search dictionary\&. You can change the dictionary\*(Aqs template\-specific options, or change the dictionary\*(Aqs name or owner\&. .PP You must be the owner of the dictionary to use \fBALTER TEXT SEARCH DICTIONARY\fR\&. .SH "PARAMETERS" .PP \fIname\fR .RS 4 The name (optionally schema\-qualified) of an existing text search dictionary\&. .RE .PP \fIoption\fR .RS 4 The name of a template\-specific option to be set for this dictionary\&. .RE .PP \fIvalue\fR .RS 4 The new value to use for a template\-specific option\&. If the equal sign and value are omitted, then any previous setting for the option is removed from the dictionary, allowing the default to be used\&. .RE .PP \fInew_name\fR .RS 4 The new name of the text search dictionary\&. .RE .PP \fInew_owner\fR .RS 4 The new owner of the text search dictionary\&. .RE .PP \fInew_schema\fR .RS 4 The new schema for the text search dictionary\&. .RE .PP Template\-specific options can appear in any order\&. .SH "EXAMPLES" .PP The following example command changes the stopword list for a Snowball\-based dictionary\&. Other parameters remain unchanged\&. .sp .if n \{\ .RS 4 .\} .nf ALTER TEXT SEARCH DICTIONARY my_dict ( StopWords = newrussian ); .fi .if n \{\ .RE .\} .PP The following example command changes the language option to dutch, and removes the stopword option entirely\&. .sp .if n \{\ .RS 4 .\} .nf ALTER TEXT SEARCH DICTIONARY my_dict ( language = dutch, StopWords ); .fi .if n \{\ .RE .\} .PP The following example command \(lqupdates\(rq the dictionary\*(Aqs definition without actually changing anything\&. .sp .if n \{\ .RS 4 .\} .nf ALTER TEXT SEARCH DICTIONARY my_dict ( dummy ); .fi .if n \{\ .RE .\} .sp (The reason this works is that the option removal code doesn\*(Aqt complain if there is no such option\&.) This trick is useful when changing configuration files for the dictionary: the \fBALTER\fR will force existing database sessions to re\-read the configuration files, which otherwise they would never do if they had read them earlier\&. .SH "COMPATIBILITY" .PP There is no \fBALTER TEXT SEARCH DICTIONARY\fR statement in the SQL standard\&. .SH "SEE ALSO" CREATE TEXT SEARCH DICTIONARY (\fBCREATE_TEXT_SEARCH_DICTIONARY\fR(7)), DROP TEXT SEARCH DICTIONARY (\fBDROP_TEXT_SEARCH_DICTIONARY\fR(7))
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 690.98 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: N/A