From b9f0e54bc955ba3f6187d238b03c9c99c576a6af Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 27 Feb 2023 07:45:44 +0100 Subject: Update types in smgr API Change data buffer to void *, from char *, and add const where appropriate. This makes it match the File API (see also 2d4f1ba6cfc2f0a977f1c30bda9848041343e248) and stdio. Discussion: https://www.postgresql.org/message-id/flat/11dda853-bb5b-59ba-a746-e168b1ce4bdb%40enterprisedb.com --- contrib/bloom/blinsert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/bloom/blinsert.c') diff --git a/contrib/bloom/blinsert.c b/contrib/bloom/blinsert.c index f81442efb3f..dcd81208953 100644 --- a/contrib/bloom/blinsert.c +++ b/contrib/bloom/blinsert.c @@ -178,7 +178,7 @@ blbuildempty(Relation index) */ PageSetChecksumInplace(metapage, BLOOM_METAPAGE_BLKNO); smgrwrite(RelationGetSmgr(index), INIT_FORKNUM, BLOOM_METAPAGE_BLKNO, - (char *) metapage, true); + metapage, true); log_newpage(&(RelationGetSmgr(index))->smgr_rlocator.locator, INIT_FORKNUM, BLOOM_METAPAGE_BLKNO, metapage, true); -- cgit v1.2.3