Re: string function - "format" function proposal

Поиск
Список
Период
Сортировка
Искать
От
Itagaki Takahiro
Тема
Re: string function - "format" function proposal
Дата
Msg-id
AANLkTimsOHDD8Pc6MXsRXQY8+CsjzJ6EcVFD8tuh4sFV@mail.gmail.com
Ответ на
Список
Дерево обсуждения
string function - "format" function proposal Pavel Stehule <pavel.stehule@gmail.com>
Re: string function - "format" function proposal Itagaki Takahiro <itagaki.takahiro@gmail.com>
Re: string function - "format" function proposal Pavel Stehule <pavel.stehule@gmail.com>
Re: string function - "format" function proposal Alvaro Herrera <alvherre@commandprompt.com>
Re: string function - "format" function proposal Pavel Stehule <pavel.stehule@gmail.com>
Re: string function - "format" function proposal Pavel Stehule <pavel.stehule@gmail.com>
Re: string function - "format" function proposal "A.M." <agentm@themactionfaction.com>
Re: string function - "format" function proposal David Fetter <david@fetter.org>
Re: string function - "format" function proposal Pavel Stehule <pavel.stehule@gmail.com>
Re: string function - "format" function proposal Itagaki Takahiro <itagaki.takahiro@gmail.com>
Re: string function - "format" function proposal Pavel Stehule <pavel.stehule@gmail.com>
Re: string function - "format" function proposal Itagaki Takahiro <itagaki.takahiro@gmail.com>
Re: string function - "format" function proposal Pavel Stehule <pavel.stehule@gmail.com>
Re: string function - "format" function proposal Tom Lane <tgl@sss.pgh.pa.us>
Re: string function - "format" function proposal Pavel Stehule <pavel.stehule@gmail.com>
Re: string function - "format" function proposal Tom Lane <tgl@sss.pgh.pa.us>
Re: string function - "format" function proposal Itagaki Takahiro <itagaki.takahiro@gmail.com>
Re: string function - "format" function proposal Tom Lane <tgl@sss.pgh.pa.us>
Re: string function - "format" function proposal Itagaki Takahiro <itagaki.takahiro@gmail.com>
Re: string function - "format" function proposal Pavel Stehule <pavel.stehule@gmail.com>
Re: string function - "format" function proposal Pavel Stehule <pavel.stehule@gmail.com>
Re: string function - "format" function proposal Itagaki Takahiro <itagaki.takahiro@gmail.com>
Re: string function - "format" function proposal Pavel Stehule <pavel.stehule@gmail.com>
Re: string function - "format" function proposal Robert Haas <robertmhaas@gmail.com>
Re: string function - "format" function proposal Itagaki Takahiro <itagaki.takahiro@gmail.com>
Re: string function - "format" function proposal Alvaro Herrera <alvherre@commandprompt.com>
Re: string function - "format" function proposal Robert Haas <robertmhaas@gmail.com>
Re: string function - "format" function proposal Pavel Stehule <pavel.stehule@gmail.com>
Re: string function - "format" function proposal Itagaki Takahiro <itagaki.takahiro@gmail.com>
Re: string function - "format" function proposal Robert Haas <robertmhaas@gmail.com>
Re: string function - "format" function proposal Andrew Dunstan <andrew@dunslane.net>
Re: string function - "format" function proposal Itagaki Takahiro <itagaki.takahiro@gmail.com>
Re: string function - "format" function proposal Pavel Stehule <pavel.stehule@gmail.com>
Re: string function - "format" function proposal Itagaki Takahiro <itagaki.takahiro@gmail.com>
Re: string function - "format" function proposal Pavel Stehule <pavel.stehule@gmail.com>
Re: string function - "format" function proposal Itagaki Takahiro <itagaki.takahiro@gmail.com>
Re: string function - "format" function proposal Robert Haas <robertmhaas@gmail.com>
Re: string function - "format" function proposal Tom Lane <tgl@sss.pgh.pa.us>
Re: string function - "format" function proposal Robert Haas <robertmhaas@gmail.com>
Re: string function - "format" function proposal Tom Lane <tgl@sss.pgh.pa.us>
Re: string function - "format" function proposal Robert Haas <robertmhaas@gmail.com>
Re: string function - "format" function proposal Itagaki Takahiro <itagaki.takahiro@gmail.com>
Re: string function - "format" function proposal Pavel Stehule <pavel.stehule@gmail.com>
Re: string function - "format" function proposal Robert Haas <robertmhaas@gmail.com>
Re: string function - "format" function proposal Pavel Stehule <pavel.stehule@gmail.com>
Re: string function - "format" function proposal Robert Haas <robertmhaas@gmail.com>
Re: string function - "format" function proposal Pavel Stehule <pavel.stehule@gmail.com>
Re: string function - "format" function proposal Pavel Stehule <pavel.stehule@gmail.com>
On Thu, Oct 14, 2010 at 9:50 PM, Andrew Dunstan  wrote:
> They're both somewhat arcane. But I think the C syntax is likely to be more
> familiar to a wider group of users (including, for example, perl hackers)
> than the C# syntax, and is to be preferred on those grounds alone.

OK, probably C syntax is the best design.
Then, let's merge format() and  substitute() in the latest patch.

I have a comment about %i for identifier format. %i is also used in
printf(), so it would be better to choose another character, like %I.
(%l is ok, but would be %L if we choose %I.)
Implementation for sprintf() in strincfunc might not be used now,
but it will be a conflict when we also merge it to format() in the future.

-- 
Itagaki Takahiro

В списке pgsql-hackers по дате отправления
От: Robert Haas
Дата:
От: Hitoshi Harada
Дата:
Сообщение: Re: UNION DISTINCT in doc
FAQ