ALTER TEXT SEARCH TEMPLATE name RENAME TO new_name ALTER TEXT SEARCH TEMPLATE name SET SCHEMA new_schema
Note: The following description applies both to Postgres-XC and PostgreSQL if not described explicitly.
ALTER TEXT SEARCH TEMPLATE 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 ALTER TEXT SEARCH TEMPLATE.