Re: posix_fadvise v22 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: posix_fadvise v22
Date
Msg-id 8347.1229012970@sss.pgh.pa.us
Whole thread Raw
In response to Re: posix_fadvise v22  (Greg Stark <greg.stark@enterprisedb.com>)
Responses Re: posix_fadvise v22  ("Greg Stark" <stark@enterprisedb.com>)
List pgsql-hackers
Greg Stark <greg.stark@enterprisedb.com> writes:
>> A variable prefetch_pages is defined as "unsigned" or "int"
>> in some places. Why don't you define it only once in a header
>> and include the header in source files?

> Just... Which header?

MHO: the header that goes with the source file that is most concerned with
implementing the variable's behavior (which is also the file that should
have the actual variable definition).
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Updates of SE-PostgreSQL 8.4devel patches (r1268)
Next
From: Tom Lane
Date:
Subject: Re: Updates of SE-PostgreSQL 8.4devel patches (r1268)