| From: | Michael Paquier <michael(at)paquier(dot)xyz> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Fix calculation related to temporary WAL segment name in basic_a |
| Date: | 2022-10-17 02:40:36 |
| Message-ID: | E1okG3Q-002hjR-6d@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Fix calculation related to temporary WAL segment name in basic_archive
The file name used for its temporary destination, before renaming it to
the real deal, has been using a microseconds in a timestamp aimed to be
originally in milli-seconds. This is harmless as this is aimed at being
a safeguard against name collisions (note MyProcPid in the name), but
let's be correct with the maths.
While on it, add a note in the module's makefile to document why
installcheck is not supported.
Author: Nathan Bossart
Reviewed-by: Bharath Rupireddy
Discussion: https://postgr.es/m/20221014044106.GA1673343@nathanxps13
Backpatch-through: 15
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/c68a1839902daeb42cf1ebc89edfdd91c00e5091
Modified Files
--------------
contrib/basic_archive/Makefile | 3 ++-
contrib/basic_archive/basic_archive.c | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2022-10-17 15:35:40 | pgsql: Guard against table-AM-less relations in planner. |
| Previous Message | Michael Paquier | 2022-10-17 02:14:39 | pgsql: Add checks for regexes with user name map in test for peer authe |