aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-03-23 05:14:37 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-03-23 05:14:37 +0000
commit8d9e025e7fcc68737d5a0e99b457417ed595af46 (patch)
treefeca4424957b7784e94428b5ed938454a4c71fdf /doc/src
parentefeffae2457c69802eed7e4c45c1c3c97528a6fe (diff)
downloadpostgresql-8d9e025e7fcc68737d5a0e99b457417ed595af46.tar.gz
postgresql-8d9e025e7fcc68737d5a0e99b457417ed595af46.zip
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.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/catalogs.sgml12
1 files changed, 7 insertions, 5 deletions
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 @@
<!--
Documentation of the system catalogs, directed toward PostgreSQL developers
- $Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.66 2003/02/22 00:45:03 tgl Exp $
+ $Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.67 2003/03/23 05:14:36 tgl Exp $
-->
<chapter id="catalogs">
@@ -3050,12 +3050,14 @@
<row>
<entry>stavaluesN</entry>
- <entry><type>text[]</type></entry>
+ <entry><type>anyarray</type></entry>
<entry></entry>
<entry>Column data values of the appropriate kind for the Nth
- <quote>slot</quote>, 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.
+ <quote>slot</quote>, 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 <quote>anyarray</>.
</entry>
</row>
</tbody>