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.96) (envelope-from ) id 1wKcvZ-001C2i-18 for pgsql-docs@arkaria.postgresql.org; Wed, 06 May 2026 14:08:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wKcvY-00HJ0I-0O for pgsql-docs@arkaria.postgresql.org; Wed, 06 May 2026 14:08:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wKcvX-00HJ0A-2q for pgsql-docs@lists.postgresql.org; Wed, 06 May 2026 14:08:39 +0000 Received: from mail-yx1-xb12d.google.com ([2607:f8b0:4864:20::b12d]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wKcvV-00000000piy-3wuw for pgsql-docs@lists.postgresql.org; Wed, 06 May 2026 14:08:39 +0000 Received: by mail-yx1-xb12d.google.com with SMTP id 956f58d0204a3-65c1ba7eeb6so5734914d50.1 for ; Wed, 06 May 2026 07:08:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1778076516; cv=none; d=google.com; s=arc-20240605; b=O6pXnNdYTke+LXGXOMCo2al9q8rdUCX9gDf4Z0vMBBBSr8xEA84KnNvffzxjTRPIxm 6/7rfR6AE6cjeAtwEdFxWi9auacbbDVNVKQUcFxbJrcKBmnGZlum8QEEmblGGQIqLb6O kvau8842CKyWWD/wVdf16RYeGykpyvTEumNIl5fryVAJVDJq6le+ePkNW+S0dHqg8JPn rbJUd4an6NzEZR16qcEAu8fzvXJUgLP/plURX2KFo5RxxaXC/vodxj5oieIWvyVpdSPQ b21WAeUACyI7//42ZLyc3wrmZRwVW3KK2yvKomKM3C5ffWN3NRW+VEm4tShSEFypNF5H T21g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=DuRI+4bC4MBO3I7K6ld0YF5etuWJxqbclWhSMnKu3VU=; fh=poM3QkkEKVbK791lLJaICJdur8aF8OD88bN4OhfeR6Q=; b=dEVfyMLRnPI/Nhc4SIQyu1mLiOnkxfEDCOb2lCfmg1DsrGzS3pbbk43DAChwe1FDnc SvaQHVXhnor+OqHCy94tnl3v7YVyEQwveFU5IZ0/dpsIVADSQiBLfy6poIjuaTuX/BuY 38CyyjwmtU2vEPVagJ1/dsqV0KcAIX+nkKFWz9E0fTpYtznt0Q5v0+mc74oInuCz8x2V Tqt98uQDj6XF79yEyhQ8Dv4oqDuvT/llEB373WHF3vU+WAk2iHa2sj9vfPw9ER+W58tK ObKSH9iglPH78qQnOfSEzoqnf3cevjG6youuDkg/X5PJ79IwmzsetJdIwrLPIcBeY+u0 AvRA==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778076516; x=1778681316; 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=DuRI+4bC4MBO3I7K6ld0YF5etuWJxqbclWhSMnKu3VU=; b=iEWcy1eafjZcdKzaPRRfxaRiJpnsHDmvXzPwGbtO5EnIIMBiedhQTRXb71ElHnNWQh nLeUWftlBLDYwTgzElNCTiQeKJ4nyVpTjZt0l3iKmGkyKZnqkMsGlMvRnoS+BsibqZy4 u4Y0eeOgfaQVefHAARfxrCsTmJsqdfJmpeHK9v1vSvA/vfn5MoONPzri3Cc7qRK3NtS/ HkK7aUEzdFiO6t7BHwB8Jw7BU9QWcU8/PRT29FROkWfpFoo5e1pjevfVpy+pKUL/h0R+ xBlTOiP0kThN7Ksv0a7HjkCQWYudgTHCiK2ozUp0g3KedmdlAYbrM5JUSpudzDsieTc8 bD6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778076516; x=1778681316; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=DuRI+4bC4MBO3I7K6ld0YF5etuWJxqbclWhSMnKu3VU=; b=rcZPYYT2AfDzh7E2QsrmISLf4gqVD/JXwGH+K5U2xJ5jLtCHlAGQ5vlKe+HHXIxmOs T+jtZ1swCeLKSEKuavzfOF1n/lk5apIpNsLfVZaz35ARg24Gv4rSsV/VE0MIKCYe9xw8 Q6sR6rT7R1rgsR+erzxC74f7eS9OXMV+rlaFiuVg5VEVO0jVJYKtkd9ttdgB+0t9+Om0 Dj/mgHL2DijLUAb941PvgG987z4g0pc/97lHvclNoEf1HWHhNVOwcpkElhVu4qiamsP6 DqWA/jRbTcR5D8ssPFY8/qvl1vIXGSgbEXOV7Df0mvTlbMuTRvXNzv6bB4YOfK1vzUJg MFWw== X-Forwarded-Encrypted: i=1; AFNElJ+V2s85/m2ie3IG0qji2XQfHapBO4hEMZuVS/cfMwEq4Rf//iXpvcIHFDhAExBGwC7VdwIKEeI1YOop@lists.postgresql.org X-Gm-Message-State: AOJu0YwR9eLTJdI5jvJQ5efyfCFeR476KF5jxb9D4DcoKTMstgS0fEVC ZsMMTBBnM8welgrGAS7sYyncEl7mttUVcKBEZLSyF5A+gpfRSj6Z8wtzXXTKtWbGxmoRpgRXQ/u fvzl8lfeeuMxGZxApYUEd+UUmuAFn9JM= X-Gm-Gg: AeBDiesWCmQAccAozaqr92yy3d5IYhtGQVV3HBZOn2J5GrdB67gw4jaS3f0DvVX6nnj N2pAiX6taESwFIenqZv120WohGAXZ73DQFDkYPkCRAUM7pW84uekviP53WnSoHmpyszcZL9g66v ZtgUMzZhw045jceojHldsDrV82QpXhpUuSZRbWSKpkWG/khYFYzv6t4AnZXTLNVd0IAzbIq2r3r 7P1fdBC44yOsBPkTvG457QWccTcjfLkT76jxqia1WTICR9HNwMZu2tmGtq+9g3ch+Xj7ZI5+eVU m/QMossRdUYfZGSt X-Received: by 2002:a05:690e:2003:b0:65c:7306:e17e with SMTP id 956f58d0204a3-65c79d15ab9mr2929449d50.44.1778076515987; Wed, 06 May 2026 07:08:35 -0700 (PDT) MIME-Version: 1.0 References: <177801333530.795.16999885814007014333@wrigleys.postgresql.org> <767365.1778075522@sss.pgh.pa.us> In-Reply-To: <767365.1778075522@sss.pgh.pa.us> From: "David G. Johnston" Date: Wed, 6 May 2026 07:07:59 -0700 X-Gm-Features: AVHnY4LhWzm0MwMQq-05unH5-i5b_BaHdbXbIoWUd2amWk3hDt24okWDn3zJGTI Message-ID: Subject: Re: Suspected documentation error To: Tom Lane Cc: scoobster17@gmail.com, pgsql-docs@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000001e740d065126b38c" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000001e740d065126b38c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, May 6, 2026 at 6:52=E2=80=AFAM Tom Lane wrote: > "David G. Johnston" writes: > > On Tue, May 5, 2026 at 3:02=E2=80=AFPM PG Doc comments form < > noreply@postgresql.org> > > wrote: > >> in the Udemy course I'm following, I noticed that the notes "OF" state > >> "time-zone offset from UTC (HH or HH:MM)", which I believe should be > >> "time-zone offset from UTC (HH or HH:MI)". > > > Technically interpreting either of those according to the format > specifiers > > co-located in that table is wrong. > > Yeah; I think writing MI would make for more confusion not less, since > this specifier doesn't emit the same values that HH and MI refer to. > > > All HH and MM stand for here are hours > > and minutes, trying to communicate fixed two-digits. > > I'm inclined to try to fix it via formatting: change HH and MM to > lower case and wrap them in so they render in italics. > The other details are easily discovered by experiment, so I don't > feel a need to make the table entries any more verbose. Thoughts? > This table doesn't seem to care about having "verbose" descriptions, e.g., "IDDD - day of ISO 8601 week-numbering year (001=E2=80=93371; day 1 of the = year is Monday of the first ISO week)" Our documentation is considered good because we try to avoid making people learn by experimentation. And isn't replaceable usually something the user is expected to provide a value for - not something the system populates? David J. --0000000000001e740d065126b38c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, May 6, 2026 at 6:52=E2=80=AFAM Tom Lane <tgl@sss.pgh.pa.us> wrote:
"David G. Johnston" <david.g.johnston@g= mail.com> writes:
> On Tue, May 5, 2026 at 3:02=E2=80=AFPM PG Doc comments form <noreply@postgresql.or= g>
> wrote:
>> in the Udemy course I'm following, I noticed that the notes &q= uot;OF" state
>> "time-zone offset from UTC (HH or HH:MM)", which I belie= ve should be
>> "time-zone offset from UTC (HH or HH:MI)".

> Technically interpreting either of those according to the format speci= fiers
> co-located in that table is wrong.

Yeah; I think writing MI would make for more confusion not less, since
this specifier doesn't emit the same values that HH and MI refer to.
> All HH and MM stand for here are hours
> and minutes, trying to communicate fixed two-digits.

I'm inclined to try to fix it via formatting: change HH and MM to
lower case and wrap them in <replaceable> so they render in italics.<= br> The other details are easily discovered by experiment, so I don't
feel a need to make the table entries any more verbose.=C2=A0 Thoughts?
=

This table doesn't seem to care about ha= ving "verbose" descriptions, e.g.,

"IDDD - day o= f ISO 8601 week-numbering year (001=E2=80=93371; day 1 of the year is Monda= y of the first ISO week)"

Our documentation is co= nsidered good because we try to avoid making people learn by experimentatio= n.

And isn't replaceable usually something the use= r is expected to provide a value for - not something the system populates?<= /div>

David J.

--0000000000001e740d065126b38c--