diff options
Diffstat (limited to 'doc/src/sgml/ref/create_view.sgml')
-rw-r--r-- | doc/src/sgml/ref/create_view.sgml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/ref/create_view.sgml b/doc/src/sgml/ref/create_view.sgml index dc160818c3f..f1466c86780 100644 --- a/doc/src/sgml/ref/create_view.sgml +++ b/doc/src/sgml/ref/create_view.sgml @@ -1,5 +1,5 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/ref/create_view.sgml,v 1.34 2007/01/31 23:26:03 momjian Exp $ +$PostgreSQL: pgsql/doc/src/sgml/ref/create_view.sgml,v 1.35 2007/02/01 00:28:18 momjian Exp $ PostgreSQL documentation --> @@ -126,13 +126,13 @@ CREATE [ OR REPLACE ] [ TEMP | TEMPORARY ] VIEW <replaceable class="PARAMETER">n <para> Be careful that the names and types of the view's columns will be - assigned the way you want. For example, + assigned the way you want. For example: <programlisting> CREATE VIEW vista AS SELECT 'Hello World'; </programlisting> is bad form in two ways: the column name defaults to <literal>?column?</>, and the column data type defaults to <type>unknown</>. If you want a - string literal in a view's result, use something like + string literal in a view's result, use something like: <programlisting> CREATE VIEW vista AS SELECT text 'Hello World' AS hello; </programlisting> |