Re: PL/pgSQL PERFORM with CTE - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: PL/pgSQL PERFORM with CTE
Date
Msg-id 5217A10E.5060807@agliodbs.com
Whole thread Raw
In response to PL/pgSQL PERFORM with CTE  ("David E. Wheeler" <david@justatheory.com>)
Responses Re: PL/pgSQL PERFORM with CTE  (Merlin Moncure <mmoncure@gmail.com>)
Re: PL/pgSQL PERFORM with CTE  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
Pavel,

> But it can have a different reason. In T-SQL (Microsoft or Sybase) or MySQL
> a unbound query is used to direct transfer data to client side.

Are you planning to implement that in PL/pgSQL?

Currently, PL/pgSQL requires RETURN ____ in order to return a query
result to the caller.  Is there some reason we'd change that?

If you're implementing TSQL-for-PostgreSQL, of course you might want to
have different behavior with SELECT.  However, TSQL is not PL/pgSQL.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [PATCH] pg_sleep(interval)
Next
From: Fábio Telles Rodriguez
Date:
Subject: Re: Performance problem in PLPgSQL