2016-01-26 23:40 GMT-02:00 Tatsuo Ishii <is...@postgresql.org>: >> 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.
Indeed, you are right. > If you want to change the existing psql's behavior, propose it > yourself. It could be interesting, maybe using a \pset quote_columns_char, I'll think about, thank you. Best regards. -- Dickson S. Guedes mail/xmpp: gue...@guedesoft.net - skype: guediz http://github.com/guedes - http://guedesoft.net http://www.postgresql.org.br -- Sent via pgsql-hackers mailing list (email@example.com) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers