Re: pg_plan_advice: rtekind uninitialized compilation waning

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: Sami Imseih <samimseih@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2026-04-10T15:59:23Z
Lists: pgsql-hackers
On Fri, Mar 13, 2026 at 12:32 PM Nathan Bossart
<nathandbossart@gmail.com> wrote:
> 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.

Thanks. Apologies for failing to notice this thread.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



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.