From: Bruce Momjian Date: Sat, 23 Aug 2008 20:31:37 +0000 (+0000) Subject: Add missing descriptions for aggregates, functions and conversions. X-Git-Tag: REL8_4_BETA1~1049 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=31ad4e5396572078bb86428dffccd413609ff2ec;p=postgresql Add missing descriptions for aggregates, functions and conversions. Bernd Helmle --- diff --git a/src/backend/utils/mb/conversion_procs/Makefile b/src/backend/utils/mb/conversion_procs/Makefile index 2bb45d8434..051e885ed8 100644 --- a/src/backend/utils/mb/conversion_procs/Makefile +++ b/src/backend/utils/mb/conversion_procs/Makefile @@ -4,7 +4,7 @@ # Makefile for utils/mb/conversion_procs # # IDENTIFICATION -# $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/Makefile,v 1.19 2008/03/18 16:24:50 petere Exp $ +# $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/Makefile,v 1.20 2008/08/23 20:31:37 momjian Exp $ # #------------------------------------------------------------------------- @@ -175,8 +175,10 @@ ifeq ($(enable_shared), yes) obj=$$1; shift; \ echo "-- $$se --> $$de"; \ echo "CREATE OR REPLACE FUNCTION $$func (INTEGER, INTEGER, CSTRING, INTERNAL, INTEGER) RETURNS VOID AS '$$"libdir"/$$obj', '$$func' LANGUAGE C STRICT;"; \ + echo "COMMENT ON FUNCTION $$func(INTEGER, INTEGER, CSTRING, INTERNAL, INTEGER) IS 'internal conversion function for $$se to $$de';"; \ echo "DROP CONVERSION pg_catalog.$$name;"; \ echo "CREATE DEFAULT CONVERSION pg_catalog.$$name FOR '$$se' TO '$$de' FROM $$func;"; \ + echo "COMMENT ON CONVERSION pg_catalog.$$name IS 'conversion for $$se to $$de';"; \ done > $@ else echo "-- No conversion support, for lack of shared library support" > $@ diff --git a/src/include/catalog/catversion.h b/src/include/catalog/catversion.h index 27501367f5..d8a4b492fe 100644 --- a/src/include/catalog/catversion.h +++ b/src/include/catalog/catversion.h @@ -37,7 +37,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/catalog/catversion.h,v 1.478 2008/08/16 00:01:37 tgl Exp $ + * $PostgreSQL: pgsql/src/include/catalog/catversion.h,v 1.479 2008/08/23 20:31:37 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -53,6 +53,6 @@ */ /* yyyymmddN */ -#define CATALOG_VERSION_NO 200808141 +#define CATALOG_VERSION_NO 200808231 #endif diff --git a/src/include/catalog/pg_proc.h b/src/include/catalog/pg_proc.h index d00d36e85f..4111f43623 100644 --- a/src/include/catalog/pg_proc.h +++ b/src/include/catalog/pg_proc.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/catalog/pg_proc.h,v 1.510 2008/08/16 00:01:37 tgl Exp $ + * $PostgreSQL: pgsql/src/include/catalog/pg_proc.h,v 1.511 2008/08/23 20:31:37 momjian Exp $ * * NOTES * The script catalog/genbki.sh reads this file and generates .bki @@ -237,6 +237,7 @@ DESCR("I/O"); DATA(insert OID = 110 ( unknownout PGNSP PGUID 12 1 0 0 f f t f i 1 2275 "705" _null_ _null_ _null_ unknownout _null_ _null_ _null_ )); DESCR("I/O"); DATA(insert OID = 111 ( numeric_fac PGNSP PGUID 12 1 0 0 f f t f i 1 1700 "20" _null_ _null_ _null_ numeric_fac _null_ _null_ _null_ )); +DESCR("equivalent to factorial"); DATA(insert OID = 115 ( box_above_eq PGNSP PGUID 12 1 0 0 f f t f i 2 16 "603 603" _null_ _null_ _null_ box_above_eq _null_ _null_ _null_ )); DESCR("is above (allows touching)"); @@ -3228,121 +3229,225 @@ DESCR("convert boolean to text"); /* Aggregates (moved here from pg_aggregate for 7.3) */ DATA(insert OID = 2100 ( avg PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "20" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("the average (arithmetic mean) as numeric of all bigint values"); DATA(insert OID = 2101 ( avg PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "23" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("the average (arithmetic mean) as numeric of all integer values"); DATA(insert OID = 2102 ( avg PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "21" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("the average (arithmetic mean) as numeric of all smallint values"); DATA(insert OID = 2103 ( avg PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "1700" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("the average (arithmetic mean) as numeric of all numeric values"); DATA(insert OID = 2104 ( avg PGNSP PGUID 12 1 0 0 t f f f i 1 701 "700" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("the average (arithmetic mean) as float8 of all float4 values"); DATA(insert OID = 2105 ( avg PGNSP PGUID 12 1 0 0 t f f f i 1 701 "701" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("the average (arithmetic mean) as float8 of all float8 values"); DATA(insert OID = 2106 ( avg PGNSP PGUID 12 1 0 0 t f f f i 1 1186 "1186" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("the average (arithmetic mean) as interval of all interval values"); DATA(insert OID = 2107 ( sum PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "20" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sum as numeric across all bigint input values"); DATA(insert OID = 2108 ( sum PGNSP PGUID 12 1 0 0 t f f f i 1 20 "23" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sum as bigint across all integer input values"); DATA(insert OID = 2109 ( sum PGNSP PGUID 12 1 0 0 t f f f i 1 20 "21" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sum as bigint across all smallint input values"); DATA(insert OID = 2110 ( sum PGNSP PGUID 12 1 0 0 t f f f i 1 700 "700" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sum as float4 across all float4 input values"); DATA(insert OID = 2111 ( sum PGNSP PGUID 12 1 0 0 t f f f i 1 701 "701" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sum as float8 across all float8 input values"); DATA(insert OID = 2112 ( sum PGNSP PGUID 12 1 0 0 t f f f i 1 790 "790" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sum as money across all money input values"); DATA(insert OID = 2113 ( sum PGNSP PGUID 12 1 0 0 t f f f i 1 1186 "1186" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sum as interval across all interval input values"); DATA(insert OID = 2114 ( sum PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "1700" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sum as numeric across all numeric input values"); DATA(insert OID = 2115 ( max PGNSP PGUID 12 1 0 0 t f f f i 1 20 "20" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("maximum value of all bigint input values"); DATA(insert OID = 2116 ( max PGNSP PGUID 12 1 0 0 t f f f i 1 23 "23" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("maximum value of all integer input values"); DATA(insert OID = 2117 ( max PGNSP PGUID 12 1 0 0 t f f f i 1 21 "21" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("maximum value of all smallint input values"); DATA(insert OID = 2118 ( max PGNSP PGUID 12 1 0 0 t f f f i 1 26 "26" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("maximum value of all oid input values"); DATA(insert OID = 2119 ( max PGNSP PGUID 12 1 0 0 t f f f i 1 700 "700" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("maximum value of all float4 input values"); DATA(insert OID = 2120 ( max PGNSP PGUID 12 1 0 0 t f f f i 1 701 "701" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("maximum value of all float8 input values"); DATA(insert OID = 2121 ( max PGNSP PGUID 12 1 0 0 t f f f i 1 702 "702" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("maximum value of all abstime input values"); DATA(insert OID = 2122 ( max PGNSP PGUID 12 1 0 0 t f f f i 1 1082 "1082" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("maximum value of all date input values"); DATA(insert OID = 2123 ( max PGNSP PGUID 12 1 0 0 t f f f i 1 1083 "1083" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("maximum value of all time input values"); DATA(insert OID = 2124 ( max PGNSP PGUID 12 1 0 0 t f f f i 1 1266 "1266" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("maximum value of all time with time zone input values"); DATA(insert OID = 2125 ( max PGNSP PGUID 12 1 0 0 t f f f i 1 790 "790" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("maximum value of all money input values"); DATA(insert OID = 2126 ( max PGNSP PGUID 12 1 0 0 t f f f i 1 1114 "1114" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("maximum value of all timestamp input values"); DATA(insert OID = 2127 ( max PGNSP PGUID 12 1 0 0 t f f f i 1 1184 "1184" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("maximum value of all timestamp with time zone input values"); DATA(insert OID = 2128 ( max PGNSP PGUID 12 1 0 0 t f f f i 1 1186 "1186" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("maximum value of all interval input values"); DATA(insert OID = 2129 ( max PGNSP PGUID 12 1 0 0 t f f f i 1 25 "25" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("maximum value of all text input values"); DATA(insert OID = 2130 ( max PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "1700" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("maximum value of all numeric input values"); DATA(insert OID = 2050 ( max PGNSP PGUID 12 1 0 0 t f f f i 1 2277 "2277" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("maximum value of all anyarray input values"); DATA(insert OID = 2244 ( max PGNSP PGUID 12 1 0 0 t f f f i 1 1042 "1042" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("maximum value of all bpchar input values"); DATA(insert OID = 2797 ( max PGNSP PGUID 12 1 0 0 t f f f i 1 27 "27" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("maximum value of all tid input values"); DATA(insert OID = 2131 ( min PGNSP PGUID 12 1 0 0 t f f f i 1 20 "20" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("minimum value of all bigint input values"); DATA(insert OID = 2132 ( min PGNSP PGUID 12 1 0 0 t f f f i 1 23 "23" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("minimum value of all integer input values"); DATA(insert OID = 2133 ( min PGNSP PGUID 12 1 0 0 t f f f i 1 21 "21" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("minimum value of all smallint input values"); DATA(insert OID = 2134 ( min PGNSP PGUID 12 1 0 0 t f f f i 1 26 "26" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("minimum value of all oid input values"); DATA(insert OID = 2135 ( min PGNSP PGUID 12 1 0 0 t f f f i 1 700 "700" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("minimum value of all float4 input values"); DATA(insert OID = 2136 ( min PGNSP PGUID 12 1 0 0 t f f f i 1 701 "701" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("minimum value of all float8 input values"); DATA(insert OID = 2137 ( min PGNSP PGUID 12 1 0 0 t f f f i 1 702 "702" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("minimum value of all abstime input values"); DATA(insert OID = 2138 ( min PGNSP PGUID 12 1 0 0 t f f f i 1 1082 "1082" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("minimum value of all date input values"); DATA(insert OID = 2139 ( min PGNSP PGUID 12 1 0 0 t f f f i 1 1083 "1083" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("minimum value of all time input values"); DATA(insert OID = 2140 ( min PGNSP PGUID 12 1 0 0 t f f f i 1 1266 "1266" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("minimum value of all time with time zone input values"); DATA(insert OID = 2141 ( min PGNSP PGUID 12 1 0 0 t f f f i 1 790 "790" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("minimum value of all money input values"); DATA(insert OID = 2142 ( min PGNSP PGUID 12 1 0 0 t f f f i 1 1114 "1114" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("minimum value of all timestamp input values"); DATA(insert OID = 2143 ( min PGNSP PGUID 12 1 0 0 t f f f i 1 1184 "1184" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("minimum value of all timestamp with time zone input values"); DATA(insert OID = 2144 ( min PGNSP PGUID 12 1 0 0 t f f f i 1 1186 "1186" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("minimum value of all interval input values"); DATA(insert OID = 2145 ( min PGNSP PGUID 12 1 0 0 t f f f i 1 25 "25" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("minimum value of all text values"); DATA(insert OID = 2146 ( min PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "1700" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("minimum value of all numeric input values"); DATA(insert OID = 2051 ( min PGNSP PGUID 12 1 0 0 t f f f i 1 2277 "2277" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("minimum value of all anyarray input values"); DATA(insert OID = 2245 ( min PGNSP PGUID 12 1 0 0 t f f f i 1 1042 "1042" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("minimum value of all bpchar input values"); DATA(insert OID = 2798 ( min PGNSP PGUID 12 1 0 0 t f f f i 1 27 "27" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("minimum value of all tid input values"); /* count has two forms: count(any) and count(*) */ DATA(insert OID = 2147 ( count PGNSP PGUID 12 1 0 0 t f f f i 1 20 "2276" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("number of input rows for which the input expression is not null"); DATA(insert OID = 2803 ( count PGNSP PGUID 12 1 0 0 t f f f i 0 20 "" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("number of input rows"); DATA(insert OID = 2718 ( var_pop PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "20" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("population variance of bigint input values (square of the population standard deviation)"); DATA(insert OID = 2719 ( var_pop PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "23" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("population variance of integer input values (square of the population standard deviation)"); DATA(insert OID = 2720 ( var_pop PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "21" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("population variance of smallint input values (square of the population standard deviation)"); DATA(insert OID = 2721 ( var_pop PGNSP PGUID 12 1 0 0 t f f f i 1 701 "700" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("population variance of float4 input values (square of the population standard deviation)"); DATA(insert OID = 2722 ( var_pop PGNSP PGUID 12 1 0 0 t f f f i 1 701 "701" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("population variance of float8 input values (square of the population standard deviation)"); DATA(insert OID = 2723 ( var_pop PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "1700" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("population variance of numeric input values (square of the population standard deviation)"); DATA(insert OID = 2641 ( var_samp PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "20" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sample variance of bigint input values (square of the sample standard deviation)"); DATA(insert OID = 2642 ( var_samp PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "23" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sample variance of integer input values (square of the sample standard deviation)"); DATA(insert OID = 2643 ( var_samp PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "21" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sample variance of smallint input values (square of the sample standard deviation)"); DATA(insert OID = 2644 ( var_samp PGNSP PGUID 12 1 0 0 t f f f i 1 701 "700" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sample variance of float4 input values (square of the sample standard deviation)"); + DATA(insert OID = 2645 ( var_samp PGNSP PGUID 12 1 0 0 t f f f i 1 701 "701" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sample variance of float8 input values (square of the sample standard deviation)"); DATA(insert OID = 2646 ( var_samp PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "1700" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sample variance of numeric input values (square of the sample standard deviation)"); DATA(insert OID = 2148 ( variance PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "20" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("historical alias for var_samp"); DATA(insert OID = 2149 ( variance PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "23" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("historical alias for var_samp"); DATA(insert OID = 2150 ( variance PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "21" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("historical alias for var_samp"); DATA(insert OID = 2151 ( variance PGNSP PGUID 12 1 0 0 t f f f i 1 701 "700" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("historical alias for var_samp"); DATA(insert OID = 2152 ( variance PGNSP PGUID 12 1 0 0 t f f f i 1 701 "701" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("historical alias for var_samp"); DATA(insert OID = 2153 ( variance PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "1700" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("historical alias for var_samp"); DATA(insert OID = 2724 ( stddev_pop PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "20" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("population standard deviation of bigint input values"); DATA(insert OID = 2725 ( stddev_pop PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "23" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("population standard deviation of integer input values"); DATA(insert OID = 2726 ( stddev_pop PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "21" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("population standard deviation of smallint input values"); DATA(insert OID = 2727 ( stddev_pop PGNSP PGUID 12 1 0 0 t f f f i 1 701 "700" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("population standard deviation of float4 input values"); DATA(insert OID = 2728 ( stddev_pop PGNSP PGUID 12 1 0 0 t f f f i 1 701 "701" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("population standard deviation of float8 input values"); DATA(insert OID = 2729 ( stddev_pop PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "1700" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("population standard deviation of numeric input values"); DATA(insert OID = 2712 ( stddev_samp PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "20" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sample standard deviation of bigint input values"); DATA(insert OID = 2713 ( stddev_samp PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "23" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sample standard deviation of integer input values"); DATA(insert OID = 2714 ( stddev_samp PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "21" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sample standard deviation of smallint input values"); DATA(insert OID = 2715 ( stddev_samp PGNSP PGUID 12 1 0 0 t f f f i 1 701 "700" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sample standard deviation of float4 input values"); DATA(insert OID = 2716 ( stddev_samp PGNSP PGUID 12 1 0 0 t f f f i 1 701 "701" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sample standard deviation of float8 input values"); DATA(insert OID = 2717 ( stddev_samp PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "1700" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sample standard deviation of numeric input values"); DATA(insert OID = 2154 ( stddev PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "20" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("historical alias for stddev_samp"); DATA(insert OID = 2155 ( stddev PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "23" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("historical alias for stddev_samp"); DATA(insert OID = 2156 ( stddev PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "21" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("historical alias for stddev_samp"); DATA(insert OID = 2157 ( stddev PGNSP PGUID 12 1 0 0 t f f f i 1 701 "700" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("historical alias for stddev_samp"); DATA(insert OID = 2158 ( stddev PGNSP PGUID 12 1 0 0 t f f f i 1 701 "701" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("historical alias for stddev_samp"); DATA(insert OID = 2159 ( stddev PGNSP PGUID 12 1 0 0 t f f f i 1 1700 "1700" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("historical alias for stddev_samp"); DATA(insert OID = 2818 ( regr_count PGNSP PGUID 12 1 0 0 t f f f i 2 20 "701 701" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("number of input rows in which both expressions are nonnull"); DATA(insert OID = 2819 ( regr_sxx PGNSP PGUID 12 1 0 0 t f f f i 2 701 "701 701" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sum of squares of the independent variable (sum(X^2) - sum(X)^2/N)"); DATA(insert OID = 2820 ( regr_syy PGNSP PGUID 12 1 0 0 t f f f i 2 701 "701 701" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sum of squares of the dependent variable (sum(Y^2) - sum(Y)^2/N)"); DATA(insert OID = 2821 ( regr_sxy PGNSP PGUID 12 1 0 0 t f f f i 2 701 "701 701" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sum of products of independent times dependent variable (sum(X*Y) - sum(X) * sum(Y)/N)"); DATA(insert OID = 2822 ( regr_avgx PGNSP PGUID 12 1 0 0 t f f f i 2 701 "701 701" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("average of the independent variable (sum(X)/N)"); DATA(insert OID = 2823 ( regr_avgy PGNSP PGUID 12 1 0 0 t f f f i 2 701 "701 701" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("average of the dependent variable (sum(Y)/N)"); DATA(insert OID = 2824 ( regr_r2 PGNSP PGUID 12 1 0 0 t f f f i 2 701 "701 701" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("square of the correlation coefficient"); DATA(insert OID = 2825 ( regr_slope PGNSP PGUID 12 1 0 0 t f f f i 2 701 "701 701" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("slope of the least-squares-fit linear equation determined by the (X, Y) pairs"); DATA(insert OID = 2826 ( regr_intercept PGNSP PGUID 12 1 0 0 t f f f i 2 701 "701 701" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("y-intercept of the least-squares-fit linear equation determined by the (X, Y) pairs"); DATA(insert OID = 2827 ( covar_pop PGNSP PGUID 12 1 0 0 t f f f i 2 701 "701 701" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("population covariance"); DATA(insert OID = 2828 ( covar_samp PGNSP PGUID 12 1 0 0 t f f f i 2 701 "701 701" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("sample covariance"); DATA(insert OID = 2829 ( corr PGNSP PGUID 12 1 0 0 t f f f i 2 701 "701 701" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("correlation coefficient"); DATA(insert OID = 2160 ( text_pattern_lt PGNSP PGUID 12 1 0 0 f f t f i 2 16 "25 25" _null_ _null_ _null_ text_pattern_lt _null_ _null_ _null_ )); DATA(insert OID = 2161 ( text_pattern_le PGNSP PGUID 12 1 0 0 f f t f i 2 16 "25 25" _null_ _null_ _null_ text_pattern_le _null_ _null_ _null_ )); @@ -4180,11 +4285,17 @@ DESCR("smaller of two"); DATA(insert OID = 3525 ( enum_larger PGNSP PGUID 12 1 0 0 f f t f i 2 3500 "3500 3500" _null_ _null_ _null_ enum_larger _null_ _null_ _null_ )); DESCR("larger of two"); DATA(insert OID = 3526 ( max PGNSP PGUID 12 1 0 0 t f f f i 1 3500 "3500" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("maximum of anyenum"); DATA(insert OID = 3527 ( min PGNSP PGUID 12 1 0 0 t f f f i 1 3500 "3500" _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ )); +DESCR("minimum of anyenum"); DATA(insert OID = 3528 ( enum_first PGNSP PGUID 12 1 0 0 f f f f s 1 3500 "3500" _null_ _null_ _null_ enum_first _null_ _null_ _null_ )); +DESCR("returns the first value of the input enum type"); DATA(insert OID = 3529 ( enum_last PGNSP PGUID 12 1 0 0 f f f f s 1 3500 "3500" _null_ _null_ _null_ enum_last _null_ _null_ _null_ )); +DESCR("returns the last value of the input enum type"); DATA(insert OID = 3530 ( enum_range PGNSP PGUID 12 1 0 0 f f f f s 2 2277 "3500 3500" _null_ _null_ _null_ enum_range_bounds _null_ _null_ _null_ )); +DESCR("returns the range between the two given enum values, as an ordered array"); DATA(insert OID = 3531 ( enum_range PGNSP PGUID 12 1 0 0 f f f f s 1 2277 "3500" _null_ _null_ _null_ enum_range_all _null_ _null_ _null_ )); +DESCR("returns the range of the given enum type as an ordered array"); DATA(insert OID = 3532 ( enum_recv PGNSP PGUID 12 1 0 0 f f t f s 2 3500 "2275 26" _null_ _null_ _null_ enum_recv _null_ _null_ _null_ )); DATA(insert OID = 3533 ( enum_send PGNSP PGUID 12 1 0 0 f f t f s 1 17 "3500" _null_ _null_ _null_ enum_send _null_ _null_ _null_ ));