mirror of
https://github.com/postgres/postgres.git
synced 2025-08-21 10:42:50 +03:00
Tsearch2 functionality migrates to core. The bulk of this work is by
Oleg Bartunov and Teodor Sigaev, but I did a lot of editorializing, so anything that's broken is probably my fault. Documentation is nonexistent as yet, but let's land the patch so we can get some portability testing done.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/commands/defrem.h,v 1.82 2007/07/17 05:02:02 neilc Exp $
|
||||
* $PostgreSQL: pgsql/src/include/commands/defrem.h,v 1.83 2007/08/21 01:11:27 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -92,6 +92,35 @@ extern void RenameOpFamily(List *name, const char *access_method, const char *ne
|
||||
extern void AlterOpClassOwner(List *name, const char *access_method, Oid newOwnerId);
|
||||
extern void AlterOpFamilyOwner(List *name, const char *access_method, Oid newOwnerId);
|
||||
|
||||
/* commands/tsearchcmds.c */
|
||||
extern void DefineTSParser(List *names, List *parameters);
|
||||
extern void RenameTSParser(List *oldname, const char *newname);
|
||||
extern void RemoveTSParser(List *names, DropBehavior behavior,
|
||||
bool missing_ok);
|
||||
extern void RemoveTSParserById(Oid prsId);
|
||||
|
||||
extern void DefineTSDictionary(List *names, List *parameters);
|
||||
extern void RenameTSDictionary(List *oldname, const char *newname);
|
||||
extern void RemoveTSDictionary(List *names, DropBehavior behavior,
|
||||
bool missing_ok);
|
||||
extern void RemoveTSDictionaryById(Oid dictId);
|
||||
extern void AlterTSDictionary(AlterTSDictionaryStmt *stmt);
|
||||
extern void AlterTSDictionaryOwner(List *name, Oid newOwnerId);
|
||||
|
||||
extern void DefineTSTemplate(List *names, List *parameters);
|
||||
extern void RenameTSTemplate(List *oldname, const char *newname);
|
||||
extern void RemoveTSTemplate(List *names, DropBehavior behavior,
|
||||
bool missing_ok);
|
||||
extern void RemoveTSTemplateById(Oid tmplId);
|
||||
|
||||
extern void DefineTSConfiguration(List *names, List *parameters);
|
||||
extern void RenameTSConfiguration(List *oldname, const char *newname);
|
||||
extern void RemoveTSConfiguration(List *names, DropBehavior behavior,
|
||||
bool missing_ok);
|
||||
extern void RemoveTSConfigurationById(Oid cfgId);
|
||||
extern void AlterTSConfiguration(AlterTSConfigurationStmt *stmt);
|
||||
extern void AlterTSConfigurationOwner(List *name, Oid newOwnerId);
|
||||
|
||||
/* support routines in commands/define.c */
|
||||
|
||||
extern char *case_translate_language_name(const char *input);
|
||||
|
Reference in New Issue
Block a user