aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-11-23 00:03:22 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2011-11-23 00:03:22 -0500
commit74c1723fc8dca2d70576ef2f0a66f4a7c99c173a (patch)
treea55cb1107a595453641f67d38774550969ed479e /doc/src
parentdf73584431e7edb1dd76578777bd0fcc17b916a1 (diff)
downloadpostgresql-74c1723fc8dca2d70576ef2f0a66f4a7c99c173a.tar.gz
postgresql-74c1723fc8dca2d70576ef2f0a66f4a7c99c173a.zip
Remove user-selectable ANALYZE option for range types.
It's not clear that a per-datatype typanalyze function would be any more useful than a generic typanalyze for ranges. What *is* clear is that letting unprivileged users select typanalyze functions is a crash risk or worse. So remove the option from CREATE TYPE AS RANGE, and instead put in a generic typanalyze function for ranges. The generic function does nothing as yet, but hopefully we'll improve that before 9.2 release.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/create_type.sgml7
1 files changed, 0 insertions, 7 deletions
diff --git a/doc/src/sgml/ref/create_type.sgml b/doc/src/sgml/ref/create_type.sgml
index 808990feb77..1bf8cd95460 100644
--- a/doc/src/sgml/ref/create_type.sgml
+++ b/doc/src/sgml/ref/create_type.sgml
@@ -33,7 +33,6 @@ CREATE TYPE <replaceable class="parameter">name</replaceable> AS RANGE (
[ , COLLATION = <replaceable class="parameter">collation</replaceable> ]
[ , CANONICAL = <replaceable class="parameter">canonical_function</replaceable> ]
[ , SUBTYPE_DIFF = <replaceable class="parameter">subtype_diff_function</replaceable> ]
- [ , ANALYZE = <replaceable class="parameter">analyze_function</replaceable> ]
)
CREATE TYPE <replaceable class="parameter">name</replaceable> (
@@ -167,12 +166,6 @@ CREATE TYPE <replaceable class="parameter">name</replaceable>
that is, its result should be positive whenever its first argument is
greater than its second according to the sort ordering.
</para>
-
- <para>
- The optional <replaceable class="parameter">analyze</replaceable>
- function performs type-specific statistics collection for columns of the
- range type. This is defined the same as for base types; see below.
- </para>
</refsect2>
<refsect2>