Re: PL/pgSQL 2

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: PL/pgSQL 2
Дата
Msg-id 5404853C.8050007@2ndQuadrant.com
обсуждение исходный текст
Ответ на Re: PL/pgSQL 2  (Craig Ringer <craig@2ndquadrant.com>)
Ответы Re: PL/pgSQL 2  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
On 09/01/2014 03:45 PM, Craig Ringer wrote:
> On 09/01/2014 05:04 PM, Joel Jacobson wrote:
>> Just like with plpgsql, once released, plpgsql2 cannot break
>> compatibility with future versions, so we only have one chance to
>> carefully think though what we would like to change in the language.
> You're not proposing to copy plpgsql's runtime though, right? Just add
> conditional paths where v1 and v2 differ.
>
> Personally I'd rather look at adding language version pragmas or a new
> function attribute, but that's mostly bikeshedding.
>
>> From the top of my head, these are Things I personally would want to see
>> in plpgsql2:
> - Accept RECORD input, dynamic access to fields of records without
>   resorting to hstore hacks. This is certainly my #1.
>
Also, an easy way to tell pl/pgsql to *not* cache plans without
resorting to EXECUT'ins trings would nice

Cheers
Hannu

-- 
Hannu Krosing
PostgreSQL Consultant
Performance, Scalability and High Availability
2ndQuadrant Nordic OÜ




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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: PL/pgSQL 2
Следующее
От: Andres Freund
Дата:
Сообщение: Re: PL/pgSQL 2