aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-08-03 20:47:40 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-08-03 20:47:40 +0000
commitfd61fbe8373c975b7aa3ed5399781823bc3d286c (patch)
tree878ffeb33ce26ddfc51e94e11f01efe31ed83c55 /doc/src
parent8f0ee46dcb9dcf522cfa6475479ac8d67a9078fc (diff)
downloadpostgresql-fd61fbe8373c975b7aa3ed5399781823bc3d286c.tar.gz
postgresql-fd61fbe8373c975b7aa3ed5399781823bc3d286c.zip
For some reason, CREATE TYPE has only accepted alignment specifications
of 'int4' and 'double'. Add 'char' and 'int2' to allow user-defined types to access the full set of supported alignments.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/create_type.sgml5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/create_type.sgml b/doc/src/sgml/ref/create_type.sgml
index cd00b357d3c..1693063ad38 100644
--- a/doc/src/sgml/ref/create_type.sgml
+++ b/doc/src/sgml/ref/create_type.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_type.sgml,v 1.19 2001/03/24 02:35:25 thomas Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_type.sgml,v 1.20 2001/08/03 20:47:40 tgl Exp $
Postgres documentation
-->
@@ -153,7 +153,8 @@ CREATE TYPE <replaceable class="parameter">typename</replaceable> ( INPUT = <rep
<listitem>
<para>
Storage alignment requirement of the data type. If specified, must
- be '<literal>int4</literal>' or '<literal>double</literal>';
+ be '<literal>char</literal>', '<literal>int2</literal>',
+ '<literal>int4</literal>', or '<literal>double</literal>';
the default is '<literal>int4</literal>'.
</para>
</listitem>