Re: Remove extra includes of "access/xloginsert.h" when "access/xlog.h" is included
Alvaro Herrera <alvherre@alvh.no-ip.org>
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-01-29T19:37:20Z
Lists: pgsql-hackers
On 2022-Jan-29, Bharath Rupireddy wrote:
> Removing the xloginsert.h in xlog.h would need us to add xloginsert.h
> in more areas.
Sure.
> And also, it might break any non-core extensions that
> includes just xlog.h and gets xloginsert.h.
That's a pretty easy fix anyway -- it's not even version-specific, since
the fix would work with the older versions. It's not something that
would break on a minor version, either.
--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
"The problem with the facetime model is not just that it's demoralizing, but
that the people pretending to work interrupt the ones actually working."
(Paul Graham)
Commits
-
Remove xloginsert.h from xlog.h
- b3d7d6e462fc 15.0 landed
-
Revamp the WAL record format.
- 2c03216d8311 9.5.0 cited
-
Move the backup-block logic from XLogInsert to a new file, xloginsert.c.
- 2076db2aea76 9.5.0 cited