Re: Fix warning: ‘startpos’ may be used uninitialized in function ‘results_differ’

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: m(dot)litsarev(at)postgrespro(dot)ru
Cc: Ewan Young <kdbase(dot)hack(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Fix warning: ‘startpos’ may be used uninitialized in function ‘results_differ’
Date: 2026-06-17 06:03:28
Message-ID: 35001244-73b8-4d01-b1b7-4b460f4b3eb5@iki.fi
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 16/06/2026 18:22, m(dot)litsarev(at)postgrespro(dot)ru wrote:
>> ...I propose the attached, to bail out if the fopen() fails. (As the
>> original patch, this looks a lot smaller with "diff -w")
> I agree the v2 patch is even better.

Committed, thanks!

- Heikki

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chao Li 2026-06-17 06:05:43 Fix pg_restore --no-globals SQL output for pg_dumpall archives
Previous Message Jim Jones 2026-06-17 06:00:56 Re: [PoC] XMLCast (SQL/XML X025)