logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ALTER_TEXT_SEARCH_TEMPLATE - change the definition of a text search template

Compatibility

There is no ALTERTEXTSEARCHTEMPLATE statement in the SQL standard.

Description

ALTERTEXTSEARCHTEMPLATE changes the definition of a text search template. Currently, the only supported functionality is to change the template's name. You must be a superuser to use ALTERTEXTSEARCHTEMPLATE.

Name

ALTER_TEXT_SEARCH_TEMPLATE - change the definition of a text search template

Parameters

name The name (optionally schema-qualified) of an existing text search template. new_name The new name of the text search template. new_schema The new schema for the text search template.

See Also

CREATE TEXT SEARCH TEMPLATE (CREATE_TEXT_SEARCH_TEMPLATE(7)), DROP TEXT SEARCH TEMPLATE (DROP_TEXT_SEARCH_TEMPLATE(7)) PostgreSQL 17.5 2025 ALTERTEXTSEARCHTEMPLATE(7)

Synopsis

ALTER TEXT SEARCH TEMPLATE name RENAME TO new_name ALTER TEXT SEARCH TEMPLATE name SET SCHEMA new_schema

See Also