Retrieve results in PostgreSQL stored procedure allowing query parallelism - Mailing list pgsql-general

From Joan Pujol
Subject Retrieve results in PostgreSQL stored procedure allowing query parallelism
Date
Msg-id CACdKRvKahtBBV2DrfDO5rWAgY2YKSBzuZCpuGTaSEpvOxV62Fw@mail.gmail.com
Whole thread Raw
Responses Re: Retrieve results in PostgreSQL stored procedure allowing query parallelism
List pgsql-general
I want to execute an SQL query and process its results inside a stored
procedure without preventing query parallelism. Since I don't want to
prevent query parallelism, cursors can't be used, and I would like to
avoid creating a temporal table.

Is this possible? If so, what is the best way to execute the query,
retrieve all results in memory, and process them inside the stored
procedure?

-- 
Joan Pujol



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: client/server versions
Next
From: "David G. Johnston"
Date:
Subject: Re: Retrieve results in PostgreSQL stored procedure allowing query parallelism