Unmark gen_random_uuid() function leakproof.
[pgsql.git] / src / include / storage / checksum.h
blob08e9d598ce61c4d77c02509e75cacd3300142bf5
1 /*-------------------------------------------------------------------------
3 * checksum.h
4 * Checksum implementation for data pages.
6 * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
9 * src/include/storage/checksum.h
11 *-------------------------------------------------------------------------
13 #ifndef CHECKSUM_H
14 #define CHECKSUM_H
16 #include "storage/block.h"
19 * Compute the checksum for a Postgres page. The page must be aligned on a
20 * 4-byte boundary.
22 extern uint16 pg_checksum_page(char *page, BlockNumber blkno);
24 #endif /* CHECKSUM_H */