Re: Shared buffer access rule violations? - Mailing list pgsql-hackers

From Asim R P
Subject Re: Shared buffer access rule violations?
Date
Msg-id CANXE4Tfxmjv8Z-kcwWUCYxx6zCFS=GeBPm-ZjjLucvrGewjUtg@mail.gmail.com
Whole thread Raw
In response to Re: Shared buffer access rule violations?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Shared buffer access rule violations?
List pgsql-hackers
Please find attached a patch to mark a shared buffer as read-write or
read-only using mprotect().  The idea is to catch violations of shared
buffer access rules.  This patch was useful to detect the access
violations reported in this thread.  The mprotect() calls are enabled
by -DMPROTECT_BUFFER compile time flag.

Asim

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Internal error XX000 with enable_partition_pruning=on, pg 11 beta1 on Debian
Next
From: Peter Geoghegan
Date:
Subject: Re: Shared buffer access rule violations?