pgsql: Initialize 'recordXtime' to silence compiler warning.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Initialize 'recordXtime' to silence compiler warning.
Date: 2023-06-06 17:57:31
Message-ID: E1q6avy-000U2M-OE@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2a7fb520755f9132e0e9db7b4868887ac1af55bd

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

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2023-06-06 19:53:00 Re: could not extend file "base/5/3501" with FileFallocate(): Interrupted system call
Previous Message Bruce Momjian 2023-06-05 18:01:01 pgsql: doc: PG 16 relnotes, fix PREPARE/EXECUTE wording