Re: proposal: more practical view on function's source code

Поиск
Список
Период
Сортировка
Искать
От
Pavel Stehule
Тема
Re: proposal: more practical view on function's source code
Дата
Msg-id
162867791003210733x773384e5j677734d2a6b6f6d3@mail.gmail.com
Ответ на
Список
Дерево обсуждения
proposal: more practical view on function's source code Pavel Stehule <pavel.stehule@gmail.com>
Re: proposal: more practical view on function's source code Craig Ringer <craig@postnewspapers.com.au>
Re: proposal: more practical view on function's source code Pavel Stehule <pavel.stehule@gmail.com>
Re: proposal: more practical view on function's source code Tom Lane <tgl@sss.pgh.pa.us>
Re: proposal: more practical view on function's source code Pavel Stehule <pavel.stehule@gmail.com>
Re: proposal: more practical view on function's source code Robert Haas <robertmhaas@gmail.com>
Re: proposal: more practical view on function's source code Tom Lane <tgl@sss.pgh.pa.us>
Re: proposal: more practical view on function's source code Pavel Stehule <pavel.stehule@gmail.com>
Re: proposal: more practical view on function's source code Pavel Stehule <pavel.stehule@gmail.com>
Re: proposal: more practical view on function's source code Robert Haas <robertmhaas@gmail.com>
Re: proposal: more practical view on function's source code Peter Eisentraut <peter_e@gmx.net>
Re: proposal: more practical view on function's source code Pavel Stehule <pavel.stehule@gmail.com>
Re: proposal: more practical view on function's source code Steve Atkins <steve@blighty.com>
Re: proposal: more practical view on function's source code Dimitri Fontaine <dfontaine@hi-media.com>
Re: proposal: more practical view on function's source code Tom Lane <tgl@sss.pgh.pa.us>
Re: proposal: more practical view on function's source code Pavel Stehule <pavel.stehule@gmail.com>
Re: proposal: more practical view on function's source code Dimitri Fontaine <dfontaine@hi-media.com>
Re: proposal: more practical view on function's source code Dimitri Fontaine <dfontaine@hi-media.com>
Re: proposal: more practical view on function's source code Pavel Stehule <pavel.stehule@gmail.com>
Re: proposal: more practical view on function's source code Craig Ringer <craig@postnewspapers.com.au>
Re: proposal: more practical view on function's source code Pavel Stehule <pavel.stehule@gmail.com>
Re: proposal: more practical view on function's source code Andrew Dunstan <andrew@dunslane.net>
2010/3/21 Craig Ringer :
> On 21/03/2010 8:03 PM, Pavel Stehule wrote:
>>
>> Hello
>>
>> Current form of function detail isn't too practical (see screenshot 1)
>>
>> we can move source code to separate area (maybe we can add rownumbers)
>>
>> see screenshot 2 (it is only mockup, real implementation can be more
>> inteligent in rows numbering)
>
> Ideally, the output of the source listing could be used as input to CREATE
> OR REPLACE FUNCTION without excessive massaging. Those line number prefixes
> make it hard to grab the output of \df+ and do something useful with it.

there is \ef statement now

> Sure, vim's column-edit takes care of them quickly enough, but it's still a
> pain, and if the output format is to be changed it might be nice to see it
> change in a way that makes it easier to re-use that source listing.

I understanding. But this functionality is implemented yet. My
motivation is to design some tool for more easy searching n. row in
source code (for interpretation error messages) and possibility to see
this row in some context.

maybe we can gently select an behave with last char in command

\df+ standard output - numbered source code
\dfd - show only source code (\ Detail Function Dump )

Regards
Pavel
>
> --
> Craig Ringer
>

В списке pgsql-hackers по дате отправления
От: Craig Ringer
Дата:
От: Craig Ringer
Дата:
FAQ