Wrong off type in smgrfd and mdfd - Mailing list pgsql-hackers

From 邱宇航
Subject Wrong off type in smgrfd and mdfd
Date
Msg-id FB981645-5E05-4929-B31A-8EA0649D21C3@gmail.com
Whole thread Raw
List pgsql-hackers
While reading code, I notice off in mdfd is an uint32, which might be
problematic. Considering enlarge segsize to 8GB and even larger, the off
might be overflowed. So I change it to off_t.

Best regards,
Yuhang Qiu


Attachment

pgsql-hackers by date:

Previous
From: Xuneng Zhou
Date:
Subject: Re: Add progressive backoff to XactLockTableWait functions
Next
From: Aleksander Alekseev
Date:
Subject: Re: Remove unused wait_event_info parameter in FileStartReadV()