From 8d9e025e7fcc68737d5a0e99b457417ed595af46 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 23 Mar 2003 05:14:37 +0000 Subject: Instead of storing pg_statistic stavalues entries as text strings, store them as arrays of the internal datatype. This requires treating the stavalues columns as 'anyarray' rather than 'text[]', which is not 100% kosher but seems to work fine for the purposes we need for pg_statistic. Perhaps in the future 'anyarray' will be allowed more generally. --- doc/src/sgml/catalogs.sgml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index 4b50e8f4427..ddac7b38420 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -1,6 +1,6 @@ @@ -3050,12 +3050,14 @@ stavaluesN - text[] + anyarray Column data values of the appropriate kind for the Nth - slot, or NULL if the slot kind does not store any data values. - For data-type independence, all column data values are converted - to external textual form and stored as TEXT datums. + slot, or NULL if the slot kind does not store any data + values. + Each array's element values are actually of the specific column's + datatype, so there is no way to define these columns' type more + specifically than anyarray. -- cgit v1.2.3