Re: Re: proposal: a width specification for s specifier (format function), fix behave when positional and ordered placeholders are used

Поиск
Список
Период
Сортировка
Искать
От
Dean Rasheed
Тема
Re: Re: proposal: a width specification for s specifier (format function), fix behave when positional and ordered placeholders are used
Дата
Msg-id
CAEZATCWK13jPMZM2H1ZkQGA6FMwgf_6B1gCPrbcCo7h6SX-R_A@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Re: Re: proposal: a width specification for s specifier (format function), fix behave when positional and ordered placeholders are used Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Re: proposal: a width specification for s specifier (format function), fix behave when positional and ordered placeholders are used Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Re: proposal: a width specification for s specifier (format function), fix behave when positional and ordered placeholders are used Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
On 11 February 2013 14:29, Pavel Stehule  wrote:
> Hello
>
> updated patch
>
> * merged Dean's doc
> * allow NULL as width
>

Hi,
I have not had time to look at this properly, but it doesn't look as
though you have fixed the other problem I mentioned up-thread, with %s
for NULL values:

SELECT format('|%s|', NULL);
Result: ||
SELECT format('|%5s|', NULL);
Result: ||

In the second case, I think it should produce |     |.

Regards,
Dean


В списке pgsql-hackers по дате отправления
От: Kyotaro HORIGUCHI
Дата:
От: Atri Sharma
Дата:
Сообщение: Fractal tree indexing
FAQ