Re: Another documentation issue - Mailing list pgsql-general

From Igor Korot
Subject Re: Another documentation issue
Date
Msg-id CA+FnnTzckDncW3KJ7XN72WJpaj2KaOb0290HFji58F9gU3OCXQ@mail.gmail.com
Whole thread Raw
In response to Re: Another documentation issue  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom,

On Wed, Apr 23, 2025 at 1:40 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
Igor Korot <ikorot01@gmail.com> writes:
> On Wed, Apr 23, 2025 at 1:28 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> If we do anything about this, I'd just say "systems that have
>> posix_fadvise()".  If we write something more specific it's likely to
>> become obsolete, and it doesn't seem to me that it's hard for someone
>> to research "does my box have posix_fadvise()?

> Imagine a person that wants to write a program which will cover creating
> the table space.
> Such person needs to cover the appropriate fields with possible values.
> Is there a #define such person should check to cover the appropriate values?

HAVE_POSIX_FADVISE.  Seems to me it'd be way easier to find that
from documentation that mentions posix_fadvise than from documentation
that says "it works on systems X, Y, Z".

Agreed.
Hopefully someone can put this in…


Thx.



                        regards, tom lane

pgsql-general by date:

Previous
From: Pawel Veselov
Date:
Subject: Re: Dump version issues
Next
From: Adrian Klaver
Date:
Subject: Re: Dump version issues