Re: PL/pgSQL 2

Поиск
Список
Период
Сортировка
От Marko Tiikkaja
Тема Re: PL/pgSQL 2
Дата
Msg-id 540443D0.4060609@joh.to
обсуждение исходный текст
Ответ на Re: PL/pgSQL 2  (Hannu Krosing <hannu@2ndQuadrant.com>)
Ответы Re: PL/pgSQL 2  (Andres Freund <andres@2ndquadrant.com>)
Re: PL/pgSQL 2  (Hannu Krosing <hannu@2ndQuadrant.com>)
Re: PL/pgSQL 2  (Steven Lembark <lembark@wrkhors.com>)
Список pgsql-hackers
On 9/1/14 11:53 AM, Hannu Krosing wrote:
> On 09/01/2014 11:24 AM, Andres Freund wrote:
>> Look at the *disaster* the few minor changes in python3 were. It's now,
>> years after, only starting to get used again.
>>
>> You're going to have to find a more gradual way of doing this.
> Probably a better way (and there has been some talk of it) is
> having some kind of PRAGMA functionality, or pl/pgsql specific
> LOCAL SET to affect "just this function" and not spill to nested
> functions as is the case for SETs now.

I can't imagine how that would work for anyone who has thousands of 
functions.

I've tried my best over the past ~year or so, but any attempts at 
breaking backwards compatibility have been rejected.  I really don't see 
any gradual way of doing this.  We either break things, live with what 
we have right now, or create a new language.


.marko



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Make LWLockAcquireCommon() inline?
Следующее
От: Joel Jacobson
Дата:
Сообщение: Re: PL/pgSQL 2