From 05911de4dabd2ab35a6017707cc4affade3d413c Mon Sep 17 00:00:00 2001 From: Bruce Momjian <bruce@momjian.us> Date: Sat, 23 Dec 2006 01:28:09 +0000 Subject: [PATCH] Document that CREATE TYPE names should not begin with an underscore, rather than being disallowed. --- doc/src/sgml/ref/create_type.sgml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/ref/create_type.sgml b/doc/src/sgml/ref/create_type.sgml index 64880d80766..e85c94dbe74 100644 --- a/doc/src/sgml/ref/create_type.sgml +++ b/doc/src/sgml/ref/create_type.sgml @@ -1,5 +1,5 @@ <!-- -$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 --> @@ -452,8 +452,8 @@ CREATE TYPE <replaceable class="parameter">name</replaceable> <title>Notes</title> <para> - User-defined type names cannot begin with the underscore character - (<literal>_</literal>) and can only be 62 characters + User-defined type names should not begin with the underscore character + (<literal>_</literal>) and should only be 62 characters long (or in general <symbol>NAMEDATALEN</symbol> - 2, rather than the <symbol>NAMEDATALEN</symbol> - 1 characters allowed for other names). Type names beginning with underscore are reserved for -- GitLab