Re: pgsql: Do all accesses to shared buffer headers through - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Do all accesses to shared buffer headers through
Date
Msg-id 15672.1129163252@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Do all accesses to shared buffer headers  (Neil Conway <neilc@samurai.com>)
List pgsql-committers
Neil Conway <neilc@samurai.com> writes:
> IMHO it is notationally clearer to define a "BufferDescPtr" that
> contains the "volatile" qualifier than to make sure that "volatile" is
> used everywhere that it is needed -- obviously, neither approach is
> fool-proof. But perhaps that's just me...

Personally I dislike hiding type qualifiers like const and volatile
inside typedefs.  I agree it's a judgment call.

            regards, tom lane

pgsql-committers by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Don't try to remove duplicate OR-subclauses in
Next
From: aglio@pgfoundry.org (User Aglio)
Date:
Subject: press - pr: Final edits in preparation for translation.