Re: PL/pgSQL PERFORM with CTE
От | Pavel Stehule |
---|---|
Тема | Re: PL/pgSQL PERFORM with CTE |
Дата | |
Msg-id | CAFj8pRDvNBMm5kg4rs3yjHz2ZpxrN0j8VhqA_AOFA=YuFOzJLQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: PL/pgSQL PERFORM with CTE (Josh Berkus <josh@agliodbs.com>) |
Список | pgsql-hackers |
2013/8/23 Josh Berkus <josh@agliodbs.com>
Pavel,Are you planning to implement that in PL/pgSQL?
> 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.
yes. I would to see a stored procedures with this functionality in pg
Currently, PL/pgSQL requires RETURN ____ in order to return a query
result to the caller. Is there some reason we'd change that?
it is different functionality.
If you're implementing TSQL-for-PostgreSQL, of course you might want to
have different behavior with SELECT. However, TSQL is not PL/pgSQL.
I don't would to implement T-SQL. Same functionality has a PSM in MySQL. And in this moment, there is not any blocker why this should not be in Postgres.
Regards
Pavel
Pavel
В списке pgsql-hackers по дате отправления: