Re: Why format() adds double quote?
| От | Tatsuo Ishii |
|---|---|
| Тема | Re: Why format() adds double quote? |
| Дата | |
| Msg-id | 20160127.104057.154346136736149633.t-ishii@sraoss.co.jp обсуждение исходный текст |
| Ответ на | Re: Why format() adds double quote? ("Dickson S. Guedes" <listas@guedesoft.net>) |
| Ответы |
Re: Why format() adds double quote?
|
| Список | pgsql-hackers |
> Thanks for advocate, I see here that it even produces that output with
> simple spaces.
>
> postgres=# create table x ("aí " text);
> CREATE TABLE
> postgres=# \d x
> Tabela "public.x"
> Coluna | Tipo | Modificadores
> ----------+------+---------------
> aí | text |
>
>
> This will break copy&paste user actions and scripts that parses that output.
>
> Maybe the patch should consider left/right non-printable chars to
> choose whether to show or not the " ?
This is a totally different story from the topic discussed in this
thread. psql never adds double quotations to column name even with
upper case col names.
test=# create table t6("ABC" int);
CREATE TABLE
test=# \d t6 Table "public.t6"Column | Type | Modifiers
--------+---------+-----------ABC | integer |
If you want to change the existing psql's behavior, propose it
yourself.
Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp
В списке pgsql-hackers по дате отправления: