Re: execute block like Firebird does

Поиск
Список
Период
Сортировка
От Fabrízio de Royes Mello
Тема Re: execute block like Firebird does
Дата
Msg-id CAPfkCSCGP+fJSp4S7iEJ=5WduWKGKSOLpANpF_J-Mp-v7hCnuQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: execute block like Firebird does  (Steven Lembark <lembark@wrkhors.com>)
Список pgsql-general

Em dom, 11 de fev de 2018 às 13:54, Steven Lembark <lembark@wrkhors.com> escreveu:

> > you can use a DO - block:
> >
> >
> > https://www.postgresql.org/docs/current/static/sql-do.html
> >
>
> But DO blocks returns "void", I mean you can't return values/records
> from this statement.

Insert the necessary records into a temporary table, process them,
post-process them into variables or destination table?


Can be a solution, but it can lead to a catalog bloat. 

Regards,


--
   Fabrízio de Royes Mello         Timbira - http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento

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

Предыдущее
От: Steven Lembark
Дата:
Сообщение: Re: execute block like Firebird does
Следующее
От: Thiemo Kellner
Дата:
Сообщение: Re: execute block like Firebird does