summaryrefslogtreecommitdiff
path: root/src/backend/access/brin/brin.c
diff options
context:
space:
mode:
authorPeter Eisentraut2025-02-11 21:03:29 +0000
committerPeter Eisentraut2025-02-13 09:57:07 +0000
commited5e5f071033c8bdaabc8d9cd015f89aa3ccfeef (patch)
treeadc8ea474c2ffc8fa4443478b9c7902b15aaf0b7 /src/backend/access/brin/brin.c
parentcdaeff9b39d9ea0cdd8a0676dc6aac7d719b4541 (diff)
Remove unnecessary (char *) casts [xlog]
Remove (char *) casts no longer needed after XLogRegisterData() and XLogRegisterBufData() argument type change. Reviewed-by: Dagfinn Ilmari MannsÃ¥ker <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/fd1fcedb-3492-4fc8-9e3e-74b97f2db6c7%40eisentraut.org
Diffstat (limited to 'src/backend/access/brin/brin.c')
-rw-r--r--src/backend/access/brin/brin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/brin/brin.c b/src/backend/access/brin/brin.c
index ccf824bbdb2..4265687afa4 100644
--- a/src/backend/access/brin/brin.c
+++ b/src/backend/access/brin/brin.c
@@ -1135,7 +1135,7 @@ brinbuild(Relation heap, Relation index, IndexInfo *indexInfo)
xlrec.pagesPerRange = BrinGetPagesPerRange(index);
XLogBeginInsert();
- XLogRegisterData((char *) &xlrec, SizeOfBrinCreateIdx);
+ XLogRegisterData(&xlrec, SizeOfBrinCreateIdx);
XLogRegisterBuffer(0, meta, REGBUF_WILL_INIT | REGBUF_STANDARD);
recptr = XLogInsert(RM_BRIN_ID, XLOG_BRIN_CREATE_INDEX);