Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u7euA-003PuR-HD for pgsql-general@arkaria.postgresql.org; Wed, 23 Apr 2025 18:33:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1u7eu8-008qis-N6 for pgsql-general@arkaria.postgresql.org; Wed, 23 Apr 2025 18:33:05 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u7eu8-008qij-61 for pgsql-general@lists.postgresql.org; Wed, 23 Apr 2025 18:33:05 +0000 Received: from mail-yw1-x1134.google.com ([2607:f8b0:4864:20::1134]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1u7eu6-001ZwQ-2N for pgsql-general@lists.postgresql.org; Wed, 23 Apr 2025 18:33:04 +0000 Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-7053f85f059so2322277b3.2 for ; Wed, 23 Apr 2025 11:33:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745433182; x=1746037982; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=NQ9nQgCkNp/VX5eedN9nBM2zWn3zlXJ7EYEC/k7G19Q=; b=OezCyPJjkgGWUhwDBcmgVbeg42L4kP3cexn309mr74qhpYOC2VKR0mDQ6THKLmMMUO x+thSsFOHHemFqMHIPaPdLK7kbBr20/bA//avP6Ej2P2sBMCDQDofsKK9SqzU8ygn2Qt LlBbDeF+kz/eR67PwYZ19mfT8ERl8ElLNTPJbBrzogGS4Oy7eDxZnd/hGHxG/+hbrOIS n15hW1NJU5vLpnBB5Ec4Gqj5hOjTMLWkyA7pghq9ka/Ob1Kt9qxGSvuTBUvrw/4G89YY HT1FgRNYWyOBiov/t+eKeBl83bJhFLV/KGgQqSJYdNsnpUnUTtr6HFkQYoBJLuo8vZ8z 4pfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745433182; x=1746037982; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NQ9nQgCkNp/VX5eedN9nBM2zWn3zlXJ7EYEC/k7G19Q=; b=X9HXfcWGUIqgJOTY6VMFlIMEHXwJkh15LDQ/O1dN1YPMmw/or0Aou+m8YT77X2tl4a 5SYkb05+0+Stl19/XKHWASMaj0KAMknm3pfHAt+eMalYDZ0Ohmfj21yku9RxFlh1aHHm aDaiRU1Xv8OMxeEyqOVcTsHT3WBVOjtWPO8HneIf2Sc7CXoxOXUlrqO21ft2urt/ISL3 UBQV+V2kp36keIJ111gCFeA8yjahv8OjBqjau6epfWgnFZLRU37m7SzIrYADA9fzYl+b GlaXs+nyRHIiI/wYF2NeLR92sVkVF8Yi0nPnQkdVYml5DZUaGBFVZgfvZMtVlpcV45yO Njfw== X-Forwarded-Encrypted: i=1; AJvYcCXpJkUOKwIXtNhHnnGsk0PlcvlOEoF62XzYiTVe5Ta2P+KKKwes7w4Pe84I6zhN4oq5IIjqiPcz6xByGx5O@lists.postgresql.org X-Gm-Message-State: AOJu0YwBp/PCS0+j4jhLe1cY5IG5t1EL6pi7nFPWKxUdJxkSvqfBMPws ZsAsQsl7aQY4VMcPnqNXVGiGu3BM9dZxORXta/m+pJ+xoPfg73GQk66DSkKnIrvPjGVbiUhSzQ7 OwmY6w07fHBRxY4ZXj1kgqLZCPKk= X-Gm-Gg: ASbGnctalhSxYFE9TBWSQXx6jcE9ceNJ0VzpJUGHWE1XMjragns2Zhy179y49jIfpOg JEXll9bRb0HPWrargrcwRnOz9ynAXce12u8b8VHU8tUCCSq50kWpAV84SO5teV6piVhSwR66OEK Skr8EKLpWiptmRKWtl4jCOuacQ8j/exhbS8+UR6hoeAUobKoD5/cWwpCAf X-Google-Smtp-Source: AGHT+IFMSaOOBg95kMNHAiw+xnPt24kzG6BL6vSt4agm3ybdIqnrnTgMGJCdXVrSUJ7ldelxgSuweSfBa34ZYursevE= X-Received: by 2002:a05:690c:905:b0:6ff:1fac:c4fc with SMTP id 00721157ae682-706cce0c22cmr335905387b3.37.1745433182067; Wed, 23 Apr 2025 11:33:02 -0700 (PDT) MIME-Version: 1.0 References: <03763b6b43cfd8a7194c2fb06452178db4256494.camel@cybertec.at> <4B9E0CAC-FB06-4F35-8C77-33AEA7F741B7@yesql.se> <1430373.1745432896@sss.pgh.pa.us> In-Reply-To: <1430373.1745432896@sss.pgh.pa.us> From: Igor Korot Date: Wed, 23 Apr 2025 13:32:50 -0500 X-Gm-Features: ATxdqUEauzknogxJBoz_OmsjB4IbbtVCWhXPEWEztUf2KLBez15cgmnHA91abZM Message-ID: Subject: Re: Another documentation issue To: Tom Lane Cc: Daniel Gustafsson , Laurenz Albe , "pgsql-generallists.postgresql.org" Content-Type: multipart/alternative; boundary="000000000000cbed2306337654ea" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000cbed2306337654ea Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Tom, On Wed, Apr 23, 2025 at 1:28=E2=80=AFPM Tom Lane wrote: > Daniel Gustafsson writes: > >> On 23 Apr 2025, at 09:16, Laurenz Albe > wrote: > >> On Wed, 2025-04-23 at 00:21 -0500, Igor Korot wrote: > >>> No explanation of what is "supported system" is given... > > >> According to the source, it is "systems that have posix_fadvise()". W= e > could document that, > >> but I don't know if it would help many people. I am not sure how easy > and feasible it is > >> to research which versions of which operating systems qualify. > > >> From memory it's supported on FreeBSD, NetBSD and Linux with Windows, > macOS and > > OpenBSD not supporting it. Assuming I'm not completely wrong (a 1 minu= te > > search shows it's in the ballpark) we could perhaps add something like > > "Unsupported platforms include (but isn't limited to) Windows and macOS= " > which > > would provide a bit more clarity. > > 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= ? Thank you? ". > > regards, tom lane > --000000000000cbed2306337654ea Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi, Tom,

On Wed, Apr 23, 2025 a= t 1:28=E2=80=AFPM Tom Lane <tgl@sss= .pgh.pa.us> wrote:
Daniel G= ustafsson <daniel@y= esql.se> writes:
>> On 23 Apr 2025, at 09:16, Laurenz Albe <laurenz.albe@cybertec.at> wro= te:
>> On Wed, 2025-04-23 at 00:21 -0500, Igor Korot wrote:
>>> No explanation of what is "supported system" is give= n...

>> According to the source, it is "systems that have posix_fadvi= se()".=C2=A0 We could document that,
>> but I don't know if it would help many people.=C2=A0 I am not = sure how easy and feasible it is
>> to research which versions of which operating systems qualify.

>> From memory it's supported on FreeBSD, NetBSD and Linux with W= indows, macOS and
> OpenBSD not supporting it.=C2=A0 Assuming I'm not completely wrong= (a 1 minute
> search shows it's in the ballpark) we could perhaps add something = like
> "Unsupported platforms include (but isn't limited to) Windows= and macOS" which
> would provide a bit more clarity.

If we do anything about this, I'd just say "systems that have
posix_fadvise()".=C2=A0 If we write something more specific it's l= ikely to
become obsolete, and it doesn't seem to me that it's hard for someo= ne
to research "does my box have posix_fadvise()?

Imagine a person that wants to write a p= rogram which will cover creating the table space.
Such person needs to cover the appropriate fields= with possible values.

I= s there a #define such person should check to cover the appropriate values?=

Thank you?

".
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 regards, tom lane
--000000000000cbed2306337654ea--