Re: SQL Function Slowness, 8.3.0

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: SQL Function Slowness, 8.3.0
Дата
Msg-id 1208449557.4259.331.camel@ebony.site
обсуждение исходный текст
Ответ на Re: SQL Function Slowness, 8.3.0  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: SQL Function Slowness, 8.3.0  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: SQL Function Slowness, 8.3.0  (Craig Ringer <craig@postnewspapers.com.au>)
Список pgsql-performance
On Thu, 2008-04-17 at 12:12 -0400, Tom Lane wrote:
> Simon Riggs <simon@2ndquadrant.com> writes:
> > I think it would help if there was some way to prepare functions to
> > allow them to be posted and understood more easily. These would help:
>
> > * a name obfuscator, so people can post functions without revealing
> > inner workings of their company and potentially lose intellectual
> > property rights over code posted in that way
>
> > * a pretty printer, so we can better understand them when we see 'em
>
> Aren't these suggestions mutually contradictory?

No, they're orthogonal. The pretty printer would get the indenting and
line feeds correct, the obfuscator would replace actual names with "A",
"B" or "Table1" etc..

Obfuscating the names would make the code harder to understand, true,
but only if the code is written in English (or your language-of-choice).
It wouldn't damage our ability to read other language code at all.

--
  Simon Riggs
  2ndQuadrant  http://www.2ndQuadrant.com


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SQL Function Slowness, 8.3.0
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SQL Function Slowness, 8.3.0