Re: PostgreSQL 7.4 and 8.0 - psql reference

From: Halley Pacheco de Oliveira <halleypo(at)yahoo(dot)com(dot)br>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: PostgreSQL 7.4 and 8.0 - psql reference
Date: 2005-06-12 15:50:22
Message-ID: 20050612155023.2981.qmail@web52710.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Ok, now I understand

>CREATE TABLE "fooBARbaz" (foo TEXT);
CREATE TABLE

> \dt
...
---------+---------------+--------+----------
public | A weird" name | tabela | postgres
public | fooBARbaz | tabela | postgres
...

> \dt fooBARbaz

No relation found

> \dt foo"BAR"baz
...
---------+-----------+--------+----------
public | fooBARbaz | table | postgres
(1 row)

Thanks,
Halley

--- Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> escreveu:

> Halley Pacheco de Oliveira <halleypo(at)yahoo(dot)com(dot)br> writes:
> > 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.
>
> Please observe the context in which that statement appears: it is
> talking about backslash commands only.
>
> For the syntax of SQL commands see
> http://www.postgresql.org/docs/8.0/static/sql-syntax.html
>
> regards, tom lane
>

__________________________________________________
Converse com seus amigos em tempo real com o Yahoo! Messenger
http://br.download.yahoo.com/messenger/

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message stig erikson 2005-06-12 19:39:28 type casting reference?
Previous Message Tom Lane 2005-06-12 15:10:38 Re: PostgreSQL 7.4 and 8.0 - psql reference