Re: psql with "Function Type" in \df

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: psql with "Function Type" in \df
Дата
Msg-id 13102.1239726921@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: psql with "Function Type" in \df  (David Fetter <david@fetter.org>)
Ответы Re: psql with "Function Type" in \df  (David Fetter <david@fetter.org>)
Re: psql with "Function Type" in \df  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
David Fetter <david@fetter.org> writes:
> On Mon, Apr 13, 2009 at 07:24:31PM -0400, Tom Lane wrote:
>> I'd go for something like
>> 
>> Type
>> 
>> window
>> agg
>> trigger
>> normal
>> 
>> Or we could spell out "aggregate", but that makes the column a
>> couple of characters wider ...

> Done.

I had a second thought about that: presumably we should make the
function type names translatable.  If we do that, it might be better
to make the aggregate case be "aggregate" and take the width hit.
Otherwise translators are going to be puzzled when they come across
"agg" as a translatable phrase.

Or maybe I'm overthinking that problem.  Comments from anyone who
actually does translations?

> I've also added \df[antw], which lets people narrow their search.

Why didn't you make it work like \d[tisv], ie allow more than one
letter?  If you're going to be inventing new features at this late
date, they should at least work like the adjacent precedent.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Unicode support
Следующее
От: David Fetter
Дата:
Сообщение: Re: psql with "Function Type" in \df