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

From Dent John
Subject Re: [WIP] UNNEST(REFCURSOR): allowing SELECT to consume data from aREFCURSOR
Date
Msg-id 0B00672A-B3EF-4FA3-9CBE-ADFEF7068181@QQdd.eu
Whole thread Raw
In response to Re: [WIP] UNNEST(REFCURSOR): allowing SELECT to consume data from a REFCURSOR  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: [WIP] UNNEST(REFCURSOR): allowing SELECT to consume data from aREFCURSOR
List pgsql-hackers
> On 18 Feb 2020, at 03:03, Thomas Munro <thomas.munro@gmail.com> wrote:
> 
> 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);
>   ^

Thanks for pointing that out.

I have updated the patch.

denty.


Attachment

pgsql-hackers by date:

Previous
From: Julien Rouhaud
Date:
Subject: Re: reindex concurrently and two toast indexes
Next
From: Justin Pryzby
Date:
Subject: Re: reindex concurrently and two toast indexes