Re: Proposal: real procedures again (8.4) - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Proposal: real procedures again (8.4)
Date
Msg-id 200710271255.47431.josh.berkus@sun.com
Whole thread Raw
In response to Re: Proposal: real procedures again (8.4)  ("Merlin Moncure" <mmoncure@gmail.com>)
Responses Re: Proposal: real procedures again (8.4)
Re: Proposal: real procedures again (8.4)
List pgsql-hackers
Merlin, Pavel,

> Mutable session variables would be nice, but I'll take a plpgsql
> langauge (or psm) with or without them, so long as transactions are
> manual.  It's possible to emulate variables using scalar functions
> with the desired volatility currently (but you still have to be
> careful with transactions).

The other big useful feature we're missing from Functions is multisets.  
Not only would they be generally useful for SP programming, but multisets 
would eliminate one of the big hurdles in re-writing T-SQL stored 
procedures in PG, and thus make it easier to port from SQL Server.  You 
don't hear a lot of demand for multisets on the mailing lists because 
we're not getting those SQL Server / Sybase crossovers now.

Of course, Pavel can implement one of these features at a time ...

-- 
Josh Berkus
PostgreSQL Lead
Sun Microsystems
San Francisco
01-415-752-2500


pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: Re: Datum should be defined outside postgres.h
Next
From: Hannu Krosing
Date:
Subject: Re: Proposal: real procedures again (8.4)