Re: PL/pgSQL 2 - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: PL/pgSQL 2
Date
Msg-id 5404785F.6050804@2ndquadrant.com
Whole thread Raw
In response to PL/pgSQL 2  (Joel Jacobson <joel@trustly.com>)
Responses Re: PL/pgSQL 2
List pgsql-hackers
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.

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Concurrently option for reindexdb
Next
From: Craig Ringer
Date:
Subject: Re: PL/pgSQL 2