PostgreSQL 7.4 and 8.0 - psql reference - Mailing list pgsql-docs

From Halley Pacheco de Oliveira
Subject PostgreSQL 7.4 and 8.0 - psql reference
Date
Msg-id 20050612104259.58872.qmail@web52706.mail.yahoo.com
Whole thread Raw
Responses Re: PostgreSQL 7.4 and 8.0 - psql reference  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-docs
In Part II - PostgreSQL Client Applications, psql --  PostgreSQL interactive terminal
(psql-ref.sgml - http://www.postgresql.org/docs/8.0/interactive/app-psql.html) is written:

For example, FOO"BAR"BAZ is interpreted as fooBARbaz, and "A weird"" name" becomes A weird" name.

So using psql I tried:

CREATE TABLE FOO"BAR"BAZ (foo text);

and got:

ERROR:  syntax error at or near ""BAR"" at character 17

AND

> CREATE TABLE "A weird"" name" (foo text);
CREATE TABLE
> \dt
...
---------+---------------+--------+----------
 public  | A weird" name | table  | postgres

So what is happening with FOO"BAR"BAZ? What is really written in the documentation?

Thanks,
Halley






____________________________________________________
Yahoo! Mail, cada vez melhor: agora com 1GB de espaço grátis! http://mail.yahoo.com.br

pgsql-docs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Generate Windows MO files in Linux
Next
From: Halley Pacheco de Oliveira
Date:
Subject: Chapter 44. Native Language Support