Skip to content

Commit c07bb9e

Browse files
committed
No casting to LSN (XLogRecPtr) is required.
1 parent 5bb2300 commit c07bb9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/storage/bufpage.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: bufpage.h,v 1.35 2000/10/28 16:21:00 vadim Exp $
10+
* $Id: bufpage.h,v 1.36 2000/11/20 21:12:26 vadim Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -303,7 +303,7 @@ typedef enum
303303
#define PageGetLSN(page) \
304304
(((PageHeader) (page))->pd_lsn)
305305
#define PageSetLSN(page, lsn) \
306-
(((PageHeader) (page))->pd_lsn = (XLogRecPtr) (lsn))
306+
(((PageHeader) (page))->pd_lsn = (lsn))
307307

308308
#define PageGetSUI(page) \
309309
(((PageHeader) (page))->pd_sui)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy