Re: RfD: more powerful "any" types
| От | Tom Lane |
|---|---|
| Тема | Re: RfD: more powerful "any" types |
| Дата | |
| Msg-id | 4674.1252603006@sss.pgh.pa.us обсуждение |
| Ответ на | Re: RfD: more powerful "any" types (Alvaro Herrera <alvherre@commandprompt.com>) |
| Ответы |
Re: RfD: more powerful "any" types
Re: RfD: more powerful "any" types |
| Список | pgsql-hackers |
Alvaro Herrera <alvherre@commandprompt.com> writes:
> alvherre=# select text_format('% was % at % and said % % times', 'Pavel'::text, 'here'::unknown, now(),
row('a','b','c'),'{42}'::int[]);
> text_format
> -----------------------------------------------------------------------------
> Pavel was here at 2009-09-10 13:12:09.054653-04 and said (a,b,c) {42} times
> (1 fila)
Is that what's being proposed? That pretty much sucks --- it's just
another way of concatenating some strings. I thought the idea was to
provide the same power as sprintf, eg field width controls, numeric
formatting options, etc.
regards, tom lane
В списке pgsql-hackers по дате отправления: