RE: Disable WAL logging to speed up data loading - Mailing list pgsql-hackers

From tsunakawa.takay@fujitsu.com
Subject RE: Disable WAL logging to speed up data loading
Date
Msg-id TYAPR01MB2990816598C44C2B714D3EB4FEAA0@TYAPR01MB2990.jpnprd01.prod.outlook.com
Whole thread Raw
In response to RE: Disable WAL logging to speed up data loading  ("osumi.takamichi@fujitsu.com" <osumi.takamichi@fujitsu.com>)
Responses RE: Disable WAL logging to speed up data loading  ("osumi.takamichi@fujitsu.com" <osumi.takamichi@fujitsu.com>)
List pgsql-hackers
From: Osumi, Takamichi/大墨 昂道 <osumi.takamichi@fujitsu.com>
> I updated the patch following this discussion, and fixed the documentation as
> well.


+          (rmid == RM_GIST_ID && info == RM_GIST_ID) ||
+          (rmid == RM_GENERIC_ID)))

info is wrong for GiST, and one pair of parenthesis is unnecessary.  The above would be:

+          (rmid == RM_GIST_ID && info == XLOG_GIST_ASSIGN_LSN) ||
+          rmid == RM_GENERIC_ID))


Regards
Takayuki Tsunakawa


pgsql-hackers by date:

Previous
From: "Andrey V. Lepikhov"
Date:
Subject: Re: [POC] Fast COPY FROM command for the table with foreign partitions
Next
From: Masahiko Sawada
Date:
Subject: Re: logical replication worker accesses catalogs in error context callback