diff options
| author | Tom Lane | 2007-08-21 01:11:32 +0000 |
|---|---|---|
| committer | Tom Lane | 2007-08-21 01:11:32 +0000 |
| commit | 140d4ebcb46e17cdb1be43892ed797e5e060c8ef (patch) | |
| tree | f99d209dbe5e40dcb434c3841e0c8b4ff383f453 /src/include/utils | |
| parent | 4e94d1f952c3ce5670ceae3c12b55e344503a701 (diff) | |
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.
Diffstat (limited to 'src/include/utils')
| -rw-r--r-- | src/include/utils/acl.h | 6 | ||||
| -rw-r--r-- | src/include/utils/builtins.h | 10 | ||||
| -rw-r--r-- | src/include/utils/syscache.h | 15 |
3 files changed, 26 insertions, 5 deletions
diff --git a/src/include/utils/acl.h b/src/include/utils/acl.h index 5eb054e146..92d153ea5a 100644 --- a/src/include/utils/acl.h +++ b/src/include/utils/acl.h @@ -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/utils/acl.h,v 1.101 2007/03/26 16:58:41 tgl Exp $ + * $PostgreSQL: pgsql/src/include/utils/acl.h,v 1.102 2007/08/21 01:11:29 tgl Exp $ * * NOTES * An ACL array is simply an array of AclItems, representing the union @@ -181,6 +181,8 @@ typedef enum AclObjectKind ACL_KIND_OPFAMILY, /* pg_opfamily */ ACL_KIND_CONVERSION, /* pg_conversion */ ACL_KIND_TABLESPACE, /* pg_tablespace */ + ACL_KIND_TSDICTIONARY, /* pg_ts_dict */ + ACL_KIND_TSCONFIGURATION, /* pg_ts_config */ MAX_ACL_KIND /* MUST BE LAST */ } AclObjectKind; @@ -281,5 +283,7 @@ extern bool pg_opclass_ownercheck(Oid opc_oid, Oid roleid); extern bool pg_opfamily_ownercheck(Oid opf_oid, Oid roleid); extern bool pg_database_ownercheck(Oid db_oid, Oid roleid); extern bool pg_conversion_ownercheck(Oid conv_oid, Oid roleid); +extern bool pg_ts_dict_ownercheck(Oid dict_oid, Oid roleid); +extern bool pg_ts_config_ownercheck(Oid cfg_oid, Oid roleid); #endif /* ACL_H */ diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index de677902d4..ee0532f63b 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -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/utils/builtins.h,v 1.299 2007/07/25 12:22:54 mha Exp $ + * $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.300 2007/08/21 01:11:30 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -523,6 +523,14 @@ extern Datum regtypein(PG_FUNCTION_ARGS); extern Datum regtypeout(PG_FUNCTION_ARGS); extern Datum regtyperecv(PG_FUNCTION_ARGS); extern Datum regtypesend(PG_FUNCTION_ARGS); +extern Datum regconfigin(PG_FUNCTION_ARGS); +extern Datum regconfigout(PG_FUNCTION_ARGS); +extern Datum regconfigrecv(PG_FUNCTION_ARGS); +extern Datum regconfigsend(PG_FUNCTION_ARGS); +extern Datum regdictionaryin(PG_FUNCTION_ARGS); +extern Datum regdictionaryout(PG_FUNCTION_ARGS); +extern Datum regdictionaryrecv(PG_FUNCTION_ARGS); +extern Datum regdictionarysend(PG_FUNCTION_ARGS); extern Datum text_regclass(PG_FUNCTION_ARGS); extern List *stringToQualifiedNameList(const char *string); extern char *format_procedure(Oid procedure_oid); diff --git a/src/include/utils/syscache.h b/src/include/utils/syscache.h index 12cd9a72f2..b34e880321 100644 --- a/src/include/utils/syscache.h +++ b/src/include/utils/syscache.h @@ -9,7 +9,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/utils/syscache.h,v 1.69 2007/04/02 03:49:41 tgl Exp $ + * $PostgreSQL: pgsql/src/include/utils/syscache.h,v 1.70 2007/08/21 01:11:30 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -65,8 +65,17 @@ #define RELOID 34 #define RULERELNAME 35 #define STATRELATT 36 -#define TYPENAMENSP 37 -#define TYPEOID 38 +#define TSCONFIGMAP 37 +#define TSCONFIGNAMENSP 38 +#define TSCONFIGOID 39 +#define TSDICTNAMENSP 40 +#define TSDICTOID 41 +#define TSPARSERNAMENSP 42 +#define TSPARSEROID 43 +#define TSTEMPLATENAMENSP 44 +#define TSTEMPLATEOID 45 +#define TYPENAMENSP 46 +#define TYPEOID 47 extern void InitCatalogCache(void); extern void InitCatalogCachePhase2(void); |
