Re: pg_plan_advice: rtekind uninitialized compilation waning

Nathan Bossart <nathandbossart@gmail.com>

From: Nathan Bossart <nathandbossart@gmail.com>
To: Sami Imseih <samimseih@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>, robertmhaas@gmail.com
Date: 2026-03-13T16:32:48Z
Lists: pgsql-hackers
On Thu, Mar 12, 2026 at 04:20:14PM -0500, Nathan Bossart wrote:
> On Thu, Mar 12, 2026 at 03:16:29PM -0500, Sami Imseih wrote:
>> Attached initializes rtekind to RTE_RELATION to keep the compiler happy.
>> The value is set correctly inside the loop before it's used.
> 
> Looks correct to me.

Committed.

-- 
nathan



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Initialize variable to placate compiler.