pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Initialize 'recordXtime' to silence compiler warning.
Date: Tue, 06 Jun 2023 17:57:31 +0000
Message-ID: <E1q6avy-000U2U-QN@gemulon.postgresql.org> (raw)

Initialize 'recordXtime' to silence compiler warning.

In reality, recordXtime will always be set by the getRecordTimestamp
call, but the compiler doesn't necessarily see that.

Back-patch to all supported versions.

Author: Tristan Partin
Discussion: https://www.postgresql.org/message-id/CT5MN8E11U0M.1NYNCHXYUHY41@gonk

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7c35768cde241a61cdc6fb32663cdb5aeb559022

Modified Files
--------------
src/backend/access/transam/xlog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1q6avy-000U2U-QN@gemulon.postgresql.org>
Permalink:  ../E1q6avy-000U2U-QN@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1q6avy-000U2U-QN@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Initialize 'recordXtime' to silence compiler warning.
  In-Reply-To: <E1q6avy-000U2U-QN@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox