Re: [WIP] UNNEST(REFCURSOR): allowing SELECT to consume data from a REFCURSOR - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: [WIP] UNNEST(REFCURSOR): allowing SELECT to consume data from a REFCURSOR
Date
Msg-id CA+hUKGJoe4uE4ce80BwDigL9zwHkeY98S_qqFQrCXVuMYvJD0w@mail.gmail.com
Whole thread Raw
In response to Re: [WIP] UNNEST(REFCURSOR): allowing SELECT to consume data from aREFCURSOR  (Dent John <denty@QQdd.eu>)
Responses Re: [WIP] UNNEST(REFCURSOR): allowing SELECT to consume data from aREFCURSOR
List pgsql-hackers
On Sat, Jan 25, 2020 at 11:59 PM Dent John <denty@qqdd.eu> wrote:
> Attached patch addresses these points, so should now apply cleanly agains dev.

From the trivialities department, I see a bunch of warnings about
local declaration placement (we're still using C90 rules for those by
project policy):

refcursor.c:138:3: error: ISO C90 forbids mixed declarations and code
[-Werror=declaration-after-statement]
   MemoryContext oldcontext =
MemoryContextSwitchTo(funcctx->multi_call_memory_ctx);
   ^



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: [HACKERS] WAL logging problem in 9.4.3?
Next
From: Amit Langote
Date:
Subject: Re: tiny documentation fix