Re: Why format() adds double quote?
| От | Daniel Verite |
|---|---|
| Тема | Re: Why format() adds double quote? |
| Дата | |
| Msg-id | 2f1ee47a-77b2-409f-a9f1-24f1673c6025@mm обсуждение исходный текст |
| Ответ на | Re: Why format() adds double quote? (Tatsuo Ishii <ishii@postgresql.org>) |
| Ответы |
Re: Why format() adds double quote?
Re: Why format() adds double quote? Re: Why format() adds double quote? |
| Список | pgsql-hackers |
Tatsuo Ishii wrote:
> IMO, it's a bug or at least an inconsistency
Personally I don't see this change being good for everything.
Let's play devil's advocate:
create table abc(U&"foo\2003" int);
U+2003 is 'EM SPACE', in Unicode's General Punctuation block.
With the current version, format('%I', attname) on this column is:
"foo "
With the patched version, it produces this:
foo
So the visual hint that there are more characters at the end is lost.
Best regards,
--
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite
В списке pgsql-hackers по дате отправления: