| From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Refactor setting XLP_FIRST_IS_OVERWRITE_CONTRECORD. |
| Date: | 2022-02-16 07:51:19 |
| Message-ID: | E1nKF5r-0003aE-2q@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Refactor setting XLP_FIRST_IS_OVERWRITE_CONTRECORD.
Set it directly in CreateOverwriteContrecordRecord(). That way,
AdvanceXLInsertBuffer() doesn't need the missingContrecPtr global
variable. This is in preparation for splitting xlog.c into multiple
files.
Reviewed-by: Robert Haas
Discussion: https://www.postgresql.org/message-id/a462d79c-cb5a-47cc-e9ac-616b5003965f%40iki.fi
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/b3a5d01c051b2a6579dc13af93a3dc3bebe8d051
Modified Files
--------------
src/backend/access/transam/xlog.c | 73 ++++++++++++++++++++++++++++-----------
1 file changed, 53 insertions(+), 20 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Heikki Linnakangas | 2022-02-16 09:15:57 | Re: pgsql: Split xlog.c into xlog.c and xlogrecovery.c. |
| Previous Message | Etsuro Fujita | 2022-02-16 06:24:15 | pgsql: Doc: Update documentation for modifying postgres_fdw foreign tab |