Commit 05911de4 authored by Bruce Momjian's avatar Bruce Momjian

Document that CREATE TYPE names should not begin with an underscore,

rather than being disallowed.
parent 27eeca5c
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_type.sgml,v 1.64 2006/09/16 00:30:17 momjian Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_type.sgml,v 1.65 2006/12/23 01:28:09 momjian Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -452,8 +452,8 @@ CREATE TYPE <replaceable class="parameter">name</replaceable> ...@@ -452,8 +452,8 @@ CREATE TYPE <replaceable class="parameter">name</replaceable>
<title>Notes</title> <title>Notes</title>
<para> <para>
User-defined type names cannot begin with the underscore character User-defined type names should not begin with the underscore character
(<literal>_</literal>) and can only be 62 characters (<literal>_</literal>) and should only be 62 characters
long (or in general <symbol>NAMEDATALEN</symbol> - 2, rather than long (or in general <symbol>NAMEDATALEN</symbol> - 2, rather than
the <symbol>NAMEDATALEN</symbol> - 1 characters allowed for other the <symbol>NAMEDATALEN</symbol> - 1 characters allowed for other
names). Type names beginning with underscore are reserved for names). Type names beginning with underscore are reserved for
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment