From 74c1723fc8dca2d70576ef2f0a66f4a7c99c173a Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 23 Nov 2011 00:03:22 -0500 Subject: 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. --- doc/src/sgml/ref/create_type.sgml | 7 ------- 1 file changed, 7 deletions(-) (limited to 'doc/src') 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 name AS RANGE ( [ , COLLATION = collation ] [ , CANONICAL = canonical_function ] [ , SUBTYPE_DIFF = subtype_diff_function ] - [ , ANALYZE = analyze_function ] ) CREATE TYPE name ( @@ -167,12 +166,6 @@ CREATE TYPE name that is, its result should be positive whenever its first argument is greater than its second according to the sort ordering. - - - The optional analyze - function performs type-specific statistics collection for columns of the - range type. This is defined the same as for base types; see below. - -- cgit v1.2.3