From 140d4ebcb46e17cdb1be43892ed797e5e060c8ef Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 21 Aug 2007 01:11:32 +0000 Subject: 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. --- doc/src/sgml/datatype.sgml | 30 ++++++++++++++++++++++++++---- doc/src/sgml/func.sgml | 10 ++++++---- 2 files changed, 32 insertions(+), 8 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml index 99cc22958f2..f1d882a11e4 100644 --- a/doc/src/sgml/datatype.sgml +++ b/doc/src/sgml/datatype.sgml @@ -1,4 +1,4 @@ - + Data Types @@ -3484,6 +3484,14 @@ SET xmloption TO { DOCUMENT | CONTENT }; regtype + + regconfig + + + + regdictionary + + xid @@ -3505,9 +3513,9 @@ SET xmloption TO { DOCUMENT | CONTENT }; configuration variable is enabled. Type oid represents an object identifier. There are also several alias types for oid: regproc, regprocedure, - regoper, regoperator, regclass, and - regtype. shows an - overview. + regoper, regoperator, regclass, + regtype, regconfig, and regdictionary. + shows an overview. @@ -3614,6 +3622,20 @@ SELECT * FROM pg_attribute data type name integer + + + regconfig + pg_ts_config + text search configuration + english + + + + regdictionary + pg_ts_dict + text search dictionary + simple + diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 2bb1ff1d757..bc9abc689cb 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ - + Functions and Operators @@ -10794,7 +10794,9 @@ SELECT relname FROM pg_class WHERE pg_table_is_visible(oid); All these functions require object OIDs to identify the object to be checked. If you want to test an object by name, it is convenient to use the OID alias types (regclass, regtype, - regprocedure, or regoperator), for example: + regprocedure, regoperator, regconfig, + or regdictionary), + for example: SELECT pg_type_is_visible('myschema.widget'::regtype); @@ -11255,8 +11257,8 @@ SELECT set_config('log_statement_stats', 'off', false); pg_rotate_logfile signals the log-file manager to switch to a new output file immediately. This works only when the built-in - log collector is running, since otherwise there is no log-file manager - subprocess. + log collector is running, since otherwise there is no log-file manager + subprocess. -- cgit v1.2.3