pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feedShould the WAIT FOR command tag be "WAIT" or "WAIT FOR"?
7+ messages / 4 participants
[nested] [flat]
* Should the WAIT FOR command tag be "WAIT" or "WAIT FOR"?
@ 2026-08-28 19:58 Masahiko Sawada <sawada.mshk@gmail.com>
0 siblings, 1 reply; 7+ messages in thread
From: Masahiko Sawada @ 2026-08-28 19:58 UTC (permalink / raw)
To: pgsql-hackers; +Cc: Alexander Korotkov <aekorotkov@gmail.com>; Ivan Kartyshov <i.kartyshov@postgrespro.ru>; Xuneng Zhou <xunengzhou@gmail.com>
Hi all,
While reviewing a patch for the WAIT FOR command I noticed that its
command tag is "WAIT" rather than "WAIT FOR". I could not find this
discussed in the main thread, although I have not read all of them, so
I might miss something. I want to confirm it because a command tag is
not something we can revisit later when we release v19.0.
There are some command tags that are shorter than the command they
name: RELEASE, ROLLBACK, SET and WAIT. While the first three commands
make sense as they have some variants or some keywords are omittable
such as RELEASE [SAVEPOINT], ROLLBACK [TRANSACTION], ROLLBACK TO
[SAVEPOINT], SET ROLE, and SET TRANSACTION, the WAIT FOR has a single
spelling, "WAIT FOR LSN ...". Strictly the same rule would argue for
"WAIT FOR LSN", but "WAIT FOR" is the name the manual gives the
command, and it leaves room if other things become waitable in the
future.
If it was a deliberate choice I am happy to leave it alone. Otherwise
I would slightly prefer "WAIT FOR", and I can post the one-line patch.
Regards,
--
Masahiko Sawada
Amazon Web Services: https://aws.amazon.com
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Should the WAIT FOR command tag be "WAIT" or "WAIT FOR"?
@ 2026-08-28 20:11 Tom Lane <tgl@sss.pgh.pa.us>
parent: Masahiko Sawada <sawada.mshk@gmail.com>
0 siblings, 1 reply; 7+ messages in thread
From: Tom Lane @ 2026-08-28 20:11 UTC (permalink / raw)
To: Masahiko Sawada <sawada.mshk@gmail.com>; +Cc: pgsql-hackers; Alexander Korotkov <aekorotkov@gmail.com>; Ivan Kartyshov <i.kartyshov@postgrespro.ru>; Xuneng Zhou <xunengzhou@gmail.com>
Masahiko Sawada <sawada.mshk@gmail.com> writes:
> While reviewing a patch for the WAIT FOR command I noticed that its
> command tag is "WAIT" rather than "WAIT FOR". I could not find this
> discussed in the main thread, although I have not read all of them, so
> I might miss something. I want to confirm it because a command tag is
> not something we can revisit later when we release v19.0.
I think it's fine. The FOR is a noise word that's useful only to
make the command's grammar vaguely resemble English. For precedent,
consider INSERT, which must have INTO but that's not part of the
command tag.
> Strictly the same rule would argue for
> "WAIT FOR LSN", but "WAIT FOR" is the name the manual gives the
> command, and it leaves room if other things become waitable in the
> future.
If anything, I'd change the manual. "WAIT FOR" is neither short
nor a useful description of what's being waited for. Either "WAIT"
or "WAIT FOR LSN" would be more plausible as a page heading.
regards, tom lane
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Should the WAIT FOR command tag be "WAIT" or "WAIT FOR"?
@ 2026-08-28 21:39 Masahiko Sawada <sawada.mshk@gmail.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 7+ messages in thread
From: Masahiko Sawada @ 2026-08-28 21:39 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-hackers; Alexander Korotkov <aekorotkov@gmail.com>; Ivan Kartyshov <i.kartyshov@postgrespro.ru>; Xuneng Zhou <xunengzhou@gmail.com>
On Fri, Aug 28, 2026 at 1:11 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Masahiko Sawada <sawada.mshk@gmail.com> writes:
> > While reviewing a patch for the WAIT FOR command I noticed that its
> > command tag is "WAIT" rather than "WAIT FOR". I could not find this
> > discussed in the main thread, although I have not read all of them, so
> > I might miss something. I want to confirm it because a command tag is
> > not something we can revisit later when we release v19.0.
>
> I think it's fine. The FOR is a noise word that's useful only to
> make the command's grammar vaguely resemble English. For precedent,
> consider INSERT, which must have INTO but that's not part of the
> command tag.
Good point. A difference between INSERT and WAIT is that the doc uses
"WAIT FOR" as its command name instead of "WAIT" whereas it uses
"INSERT" for INSERT statements:
% git grep -e "<command>WAIT.*</command>"
doc/src/sgml/ref/wait_for.sgml: <command>WAIT FOR</command> must be
executed as a top-level command.
doc/src/sgml/ref/wait_for.sgml: <command>WAIT FOR</command> waits
until the specified
doc/src/sgml/ref/wait_for.sgml: <command>WAIT FOR</command> compares
only the numeric
doc/src/sgml/ref/wait_for.sgml: <command>WAIT FOR</command> will
return <literal>success</literal>
doc/src/sgml/ref/wait_for.sgml: On a standby server, <command>WAIT
FOR</command> sessions may be
doc/src/sgml/ref/wait_for.sgml: doing. Applications using
<command>WAIT FOR</command> on a standby
doc/src/sgml/ref/wait_for.sgml: You can use <command>WAIT
FOR</command> command to wait for
doc/src/sgml/ref/wait_for.sgml: Then an application could run
<command>WAIT FOR</command>
doc/src/sgml/ref/wait_for.sgml: The same example uses <command>WAIT
FOR</command> with
doc/src/sgml/release-19.sgml: A new <link
linkend="sql-wait-for"><command>WAIT FOR</command></link>
doc/src/sgml/release-19.sgml:Add <link
linkend="sql-wait-for"><command>WAIT FOR</command></link> command to
allow standbys to wait for <link
linkend="wal-internals"><acronym>LSN</acronym></link> values to be
written, flushed, or replayed (Kartyshov Ivan, Alexander Korotkov,
Xuneng Zhou)
>
> > Strictly the same rule would argue for
> > "WAIT FOR LSN", but "WAIT FOR" is the name the manual gives the
> > command, and it leaves room if other things become waitable in the
> > future.
>
> If anything, I'd change the manual. "WAIT FOR" is neither short
> nor a useful description of what's being waited for. Either "WAIT"
> or "WAIT FOR LSN" would be more plausible as a page heading.
Agreed.
Regards,
--
Masahiko Sawada
Amazon Web Services: https://aws.amazon.com
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Should the WAIT FOR command tag be "WAIT" or "WAIT FOR"?
@ 2026-08-31 04:52 Xuneng Zhou <xunengzhou@gmail.com>
parent: Masahiko Sawada <sawada.mshk@gmail.com>
0 siblings, 1 reply; 7+ messages in thread
From: Xuneng Zhou @ 2026-08-31 04:52 UTC (permalink / raw)
To: Masahiko Sawada <sawada.mshk@gmail.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; pgsql-hackers; Alexander Korotkov <aekorotkov@gmail.com>; Ivan Kartyshov <i.kartyshov@postgrespro.ru>
Hi Sawada-san, Tom,
On Sat, Aug 29, 2026 at 5:40 AM Masahiko Sawada <sawada.mshk@gmail.com> wrote:
>
> On Fri, Aug 28, 2026 at 1:11 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >
> > Masahiko Sawada <sawada.mshk@gmail.com> writes:
> > > While reviewing a patch for the WAIT FOR command I noticed that its
> > > command tag is "WAIT" rather than "WAIT FOR". I could not find this
> > > discussed in the main thread, although I have not read all of them, so
> > > I might miss something. I want to confirm it because a command tag is
> > > not something we can revisit later when we release v19.0.
> >
> > I think it's fine. The FOR is a noise word that's useful only to
> > make the command's grammar vaguely resemble English. For precedent,
> > consider INSERT, which must have INTO but that's not part of the
> > command tag.
>
> Good point. A difference between INSERT and WAIT is that the doc uses
> "WAIT FOR" as its command name instead of "WAIT" whereas it uses
> "INSERT" for INSERT statements:
>
> % git grep -e "<command>WAIT.*</command>"
> doc/src/sgml/ref/wait_for.sgml: <command>WAIT FOR</command> must be
> executed as a top-level command.
> doc/src/sgml/ref/wait_for.sgml: <command>WAIT FOR</command> waits
> until the specified
> doc/src/sgml/ref/wait_for.sgml: <command>WAIT FOR</command> compares
> only the numeric
> doc/src/sgml/ref/wait_for.sgml: <command>WAIT FOR</command> will
> return <literal>success</literal>
> doc/src/sgml/ref/wait_for.sgml: On a standby server, <command>WAIT
> FOR</command> sessions may be
> doc/src/sgml/ref/wait_for.sgml: doing. Applications using
> <command>WAIT FOR</command> on a standby
> doc/src/sgml/ref/wait_for.sgml: You can use <command>WAIT
> FOR</command> command to wait for
> doc/src/sgml/ref/wait_for.sgml: Then an application could run
> <command>WAIT FOR</command>
> doc/src/sgml/ref/wait_for.sgml: The same example uses <command>WAIT
> FOR</command> with
> doc/src/sgml/release-19.sgml: A new <link
> linkend="sql-wait-for"><command>WAIT FOR</command></link>
> doc/src/sgml/release-19.sgml:Add <link
> linkend="sql-wait-for"><command>WAIT FOR</command></link> command to
> allow standbys to wait for <link
> linkend="wal-internals"><acronym>LSN</acronym></link> values to be
> written, flushed, or replayed (Kartyshov Ivan, Alexander Korotkov,
> Xuneng Zhou)
>
> >
> > > Strictly the same rule would argue for
> > > "WAIT FOR LSN", but "WAIT FOR" is the name the manual gives the
> > > command, and it leaves room if other things become waitable in the
> > > future.
> >
> > If anything, I'd change the manual. "WAIT FOR" is neither short
> > nor a useful description of what's being waited for. Either "WAIT"
> > or "WAIT FOR LSN" would be more plausible as a page heading.
>
> Agreed.
Thanks for raising this. The above reasoning makes sense to me. Here's
a patch for it.
--
Regards,
Xuneng Zhou
HighGo Software Co., Ltd.
Attachments:
v1-0001-doc-Rename-the-WAIT-FOR-reference-page-to-WAIT.patch (application/octet-stream, 1.2K) download
From 76956843da10ce27a2a1de3e120a804ea0763652 Mon Sep 17 00:00:00 2001
From: alterego655 <824662526@qq.com>
Date: Mon, 31 Aug 2026 12:43:37 +0800
Subject: [PATCH v1] doc: Rename the WAIT FOR reference page to WAIT
Use WAIT for the index entry, page title, and psql help name, matching
the command tag. Keep the existing reference ID and WAIT FOR LSN
syntax unchanged.
---
doc/src/sgml/ref/wait_for.sgml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/src/sgml/ref/wait_for.sgml b/doc/src/sgml/ref/wait_for.sgml
index a65e6167b88..6cd624a79f9 100644
--- a/doc/src/sgml/ref/wait_for.sgml
+++ b/doc/src/sgml/ref/wait_for.sgml
@@ -5,17 +5,17 @@ PostgreSQL documentation
<refentry id="sql-wait-for">
<indexterm zone="sql-wait-for">
- <primary>WAIT FOR</primary>
+ <primary>WAIT</primary>
</indexterm>
<refmeta>
- <refentrytitle>WAIT FOR</refentrytitle>
+ <refentrytitle>WAIT</refentrytitle>
<manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta>
<refnamediv>
- <refname>WAIT FOR</refname>
+ <refname>WAIT</refname>
<refpurpose>wait for WAL to reach a target <acronym>LSN</acronym></refpurpose>
</refnamediv>
--
2.51.0
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Should the WAIT FOR command tag be "WAIT" or "WAIT FOR"?
@ 2026-09-10 22:13 Alexander Korotkov <aekorotkov@gmail.com>
parent: Xuneng Zhou <xunengzhou@gmail.com>
0 siblings, 1 reply; 7+ messages in thread
From: Alexander Korotkov @ 2026-09-10 22:13 UTC (permalink / raw)
To: Xuneng Zhou <xunengzhou@gmail.com>; +Cc: Masahiko Sawada <sawada.mshk@gmail.com>; Tom Lane <tgl@sss.pgh.pa.us>; pgsql-hackers; Ivan Kartyshov <i.kartyshov@postgrespro.ru>
On Mon, Aug 31, 2026 at 7:52 AM Xuneng Zhou <xunengzhou@gmail.com> wrote:
> On Sat, Aug 29, 2026 at 5:40 AM Masahiko Sawada <sawada.mshk@gmail.com> wrote:
> >
> > On Fri, Aug 28, 2026 at 1:11 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > >
> > > Masahiko Sawada <sawada.mshk@gmail.com> writes:
> > > > While reviewing a patch for the WAIT FOR command I noticed that its
> > > > command tag is "WAIT" rather than "WAIT FOR". I could not find this
> > > > discussed in the main thread, although I have not read all of them, so
> > > > I might miss something. I want to confirm it because a command tag is
> > > > not something we can revisit later when we release v19.0.
> > >
> > > I think it's fine. The FOR is a noise word that's useful only to
> > > make the command's grammar vaguely resemble English. For precedent,
> > > consider INSERT, which must have INTO but that's not part of the
> > > command tag.
> >
> > Good point. A difference between INSERT and WAIT is that the doc uses
> > "WAIT FOR" as its command name instead of "WAIT" whereas it uses
> > "INSERT" for INSERT statements:
> >
> > % git grep -e "<command>WAIT.*</command>"
> > doc/src/sgml/ref/wait_for.sgml: <command>WAIT FOR</command> must be
> > executed as a top-level command.
> > doc/src/sgml/ref/wait_for.sgml: <command>WAIT FOR</command> waits
> > until the specified
> > doc/src/sgml/ref/wait_for.sgml: <command>WAIT FOR</command> compares
> > only the numeric
> > doc/src/sgml/ref/wait_for.sgml: <command>WAIT FOR</command> will
> > return <literal>success</literal>
> > doc/src/sgml/ref/wait_for.sgml: On a standby server, <command>WAIT
> > FOR</command> sessions may be
> > doc/src/sgml/ref/wait_for.sgml: doing. Applications using
> > <command>WAIT FOR</command> on a standby
> > doc/src/sgml/ref/wait_for.sgml: You can use <command>WAIT
> > FOR</command> command to wait for
> > doc/src/sgml/ref/wait_for.sgml: Then an application could run
> > <command>WAIT FOR</command>
> > doc/src/sgml/ref/wait_for.sgml: The same example uses <command>WAIT
> > FOR</command> with
> > doc/src/sgml/release-19.sgml: A new <link
> > linkend="sql-wait-for"><command>WAIT FOR</command></link>
> > doc/src/sgml/release-19.sgml:Add <link
> > linkend="sql-wait-for"><command>WAIT FOR</command></link> command to
> > allow standbys to wait for <link
> > linkend="wal-internals"><acronym>LSN</acronym></link> values to be
> > written, flushed, or replayed (Kartyshov Ivan, Alexander Korotkov,
> > Xuneng Zhou)
> >
> > >
> > > > Strictly the same rule would argue for
> > > > "WAIT FOR LSN", but "WAIT FOR" is the name the manual gives the
> > > > command, and it leaves room if other things become waitable in the
> > > > future.
> > >
> > > If anything, I'd change the manual. "WAIT FOR" is neither short
> > > nor a useful description of what's being waited for. Either "WAIT"
> > > or "WAIT FOR LSN" would be more plausible as a page heading.
> >
> > Agreed.
>
> Thanks for raising this. The above reasoning makes sense to me. Here's
> a patch for it.
Thank you for the patch. I think we should do some additional renames.
1. Change <command>WAIT FOR</command> to <command>WAIT</command> in
the page body.
2. The two error messages in commands/wait.c: WAIT FOR => WAIT
3. The reference id sql-waitfor => sql-wait
4. File name ref/wait_for.sgml => ref/wait.sgml, and the entity
&waitFor => &wait
------
Regards,
Alexander Korotkov
Supabase
Attachments:
v2-0001-Rename-the-WAIT-FOR-command-to-WAIT-in-the-docume.patch (application/octet-stream, 9.0K) download
From 3062d71423cbf2275bbedb4b714552e132e60353 Mon Sep 17 00:00:00 2001
From: Alexander Korotkov <akorotkov@postgresql.org>
Date: Fri, 11 Sep 2026 01:08:31 +0300
Subject: [PATCH v2] Rename the WAIT FOR command to WAIT in the documentation
The command tag is WAIT, but the reference page called the command
"WAIT FOR" in its title, index entry, psql help name and throughout its
prose, and so did the error messages. FOR is a noise word that makes the
grammar read like English, exactly as INTO does for INSERT and FROM does
for DELETE; neither of those is part of the command's name. Settle on
WAIT everywhere the command is named, and keep WAIT FOR LSN wherever the
syntax itself is being shown.
Rename the reference page's id and file name to match, following
cb2c696b1dd: v19 is not released, so the URL is not yet baked into a
supported version, and every other page's id matches its title.
Reported-by: Masahiko Sawada <sawada.mshk@gmail.com>
Discussion: https://postgr.es/m/CAD21AoBdtiPTbm7T_aNeDON9JpFG9g%3DJDUP4WU-Y8t8_xqvR5Q%40mail.gmail.com
Backpatch-through: 19
Author: Xuneng Zhou <xunengzhou@gmail.com>
Reviewed-by: Alexander Korotkov <aekorotkov@gmail.com>
---
doc/src/sgml/high-availability.sgml | 2 +-
doc/src/sgml/ref/allfiles.sgml | 2 +-
doc/src/sgml/ref/{wait_for.sgml => wait.sgml} | 30 +++++++++----------
doc/src/sgml/reference.sgml | 2 +-
src/backend/commands/wait.c | 8 ++---
5 files changed, 22 insertions(+), 22 deletions(-)
rename doc/src/sgml/ref/{wait_for.sgml => wait.sgml} (94%)
diff --git a/doc/src/sgml/high-availability.sgml b/doc/src/sgml/high-availability.sgml
index d58b16977cd..b24bb2ec45f 100644
--- a/doc/src/sgml/high-availability.sgml
+++ b/doc/src/sgml/high-availability.sgml
@@ -1426,7 +1426,7 @@ postgres=# SELECT pg_current_wal_insert_lsn();
The <acronym>LSN</acronym> obtained from the primary is then communicated
to the standby server. This can be managed at the application level or
via the connection pooler. On the standby, the application issues the
- <xref linkend="sql-waitfor"/> command to block further processing until
+ <xref linkend="sql-wait"/> command to block further processing until
the standby's WAL replay process reaches (or exceeds) the specified
<acronym>LSN</acronym>.
diff --git a/doc/src/sgml/ref/allfiles.sgml b/doc/src/sgml/ref/allfiles.sgml
index 141ada9c50a..b7ea1f37291 100644
--- a/doc/src/sgml/ref/allfiles.sgml
+++ b/doc/src/sgml/ref/allfiles.sgml
@@ -189,7 +189,7 @@ Complete list of usable sgml source files in this directory.
<!ENTITY update SYSTEM "update.sgml">
<!ENTITY vacuum SYSTEM "vacuum.sgml">
<!ENTITY values SYSTEM "values.sgml">
-<!ENTITY waitFor SYSTEM "wait_for.sgml">
+<!ENTITY wait SYSTEM "wait.sgml">
<!-- applications and utilities -->
<!ENTITY clusterdb SYSTEM "clusterdb.sgml">
diff --git a/doc/src/sgml/ref/wait_for.sgml b/doc/src/sgml/ref/wait.sgml
similarity index 94%
rename from doc/src/sgml/ref/wait_for.sgml
rename to doc/src/sgml/ref/wait.sgml
index 04ca9400426..9204924b1c1 100644
--- a/doc/src/sgml/ref/wait_for.sgml
+++ b/doc/src/sgml/ref/wait.sgml
@@ -1,21 +1,21 @@
<!--
-doc/src/sgml/ref/wait_for.sgml
+doc/src/sgml/ref/wait.sgml
PostgreSQL documentation
-->
-<refentry id="sql-waitfor">
- <indexterm zone="sql-waitfor">
- <primary>WAIT FOR</primary>
+<refentry id="sql-wait">
+ <indexterm zone="sql-wait">
+ <primary>WAIT</primary>
</indexterm>
<refmeta>
- <refentrytitle>WAIT FOR</refentrytitle>
+ <refentrytitle>WAIT</refentrytitle>
<manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta>
<refnamediv>
- <refname>WAIT FOR</refname>
+ <refname>WAIT</refname>
<refpurpose>wait for WAL to reach a target <acronym>LSN</acronym></refpurpose>
</refnamediv>
@@ -217,7 +217,7 @@ WAIT FOR LSN '<replaceable class="parameter">lsn</replaceable>'
<refsect1>
<title>Notes</title>
<para>
- <command>WAIT FOR</command> must be executed as a top-level command.
+ <command>WAIT</command> must be executed as a top-level command.
It cannot be executed from a function, procedure, or
<command>DO</command> block. It also requires that no active or
registered snapshot be held, and therefore cannot be used in contexts
@@ -226,7 +226,7 @@ WAIT FOR LSN '<replaceable class="parameter">lsn</replaceable>'
</para>
<para>
- <command>WAIT FOR</command> waits until the specified
+ <command>WAIT</command> waits until the specified
<parameter>lsn</parameter> is reached according to the specified
<parameter>mode</parameter>. The <literal>standby_replay</literal> mode
waits for the LSN to be replayed (applied to the database), which is
@@ -258,12 +258,12 @@ WAIT FOR LSN '<replaceable class="parameter">lsn</replaceable>'
</para>
<para>
- <command>WAIT FOR</command> compares only the numeric
+ <command>WAIT</command> compares only the numeric
<acronym>LSN</acronym>; it has no notion of which timeline a WAL
record belongs to. This matters when a standby continues recovery
across an upstream timeline switch — for example, a cascading
standby whose upstream gets promoted. In that case
- <command>WAIT FOR</command> will return <literal>success</literal>
+ <command>WAIT</command> will return <literal>success</literal>
as soon as the position used by the selected wait mode reaches or
passes the numeric <acronym>LSN</acronym>, regardless of which
timeline that <acronym>LSN</acronym> belongs to. Applications that need to
@@ -272,11 +272,11 @@ WAIT FOR LSN '<replaceable class="parameter">lsn</replaceable>'
</para>
<para>
- On a standby server, <command>WAIT FOR</command> sessions may be
+ On a standby server, <command>WAIT</command> sessions may be
interrupted by recovery conflicts. Some recovery conflicts are
unavoidable: for example, replaying a tablespace drop resolves
conflicts by terminating all backends, regardless of what they are
- doing. Applications using <command>WAIT FOR</command> on a standby
+ doing. Applications using <command>WAIT</command> on a standby
should be prepared to handle such interruptions, for example by
retrying the command or falling back to an alternative mechanism.
</para>
@@ -287,7 +287,7 @@ WAIT FOR LSN '<replaceable class="parameter">lsn</replaceable>'
<title>Examples</title>
<para>
- You can use <command>WAIT FOR</command> command to wait for
+ You can use the <command>WAIT</command> command to wait for
the <type>pg_lsn</type> value. For example, an application could update
the <literal>movie</literal> table and get the <acronym>lsn</acronym> after
changes just made. This example uses <function>pg_current_wal_insert_lsn</function>
@@ -305,7 +305,7 @@ postgres=# SELECT pg_current_wal_insert_lsn();
(1 row)
</programlisting>
- Then an application could run <command>WAIT FOR</command>
+ Then an application could run <command>WAIT</command>
with the <parameter>lsn</parameter> obtained from primary. After that the
changes made on primary should be guaranteed to be visible on replica.
@@ -368,7 +368,7 @@ ERROR: timed out while waiting for target LSN 0/0306EE20 to be replayed; curren
</para>
<para>
- The same example uses <command>WAIT FOR</command> with
+ The same example uses <command>WAIT</command> with the
<parameter>NO_THROW</parameter> option:
<programlisting>
diff --git a/doc/src/sgml/reference.sgml b/doc/src/sgml/reference.sgml
index d9fdbb5d254..1dc7d6f8319 100644
--- a/doc/src/sgml/reference.sgml
+++ b/doc/src/sgml/reference.sgml
@@ -217,7 +217,7 @@
&update;
&vacuum;
&values;
- &waitFor;
+ &wait;
</reference>
diff --git a/src/backend/commands/wait.c b/src/backend/commands/wait.c
index 9ba4c75021e..d78f98e5266 100644
--- a/src/backend/commands/wait.c
+++ b/src/backend/commands/wait.c
@@ -54,8 +54,8 @@ ExecWaitStmt(ParseState *pstate, WaitStmt *stmt, bool isTopLevel,
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
errmsg("%s can only be executed as a top-level statement",
- "WAIT FOR"),
- errdetail("WAIT FOR cannot be used within a function, procedure, or DO block.")));
+ "WAIT"),
+ errdetail("WAIT cannot be used within a function, procedure, or DO block.")));
/* Parse and validate the mandatory LSN */
lsn = DatumGetLSN(DirectFunctionCall1(pg_lsn_in,
@@ -171,8 +171,8 @@ ExecWaitStmt(ParseState *pstate, WaitStmt *stmt, bool isTopLevel,
if (HaveRegisteredOrActiveSnapshot())
ereport(ERROR,
errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
- errmsg("WAIT FOR must be called without an active or registered snapshot"),
- errdetail("WAIT FOR cannot be executed within a transaction with an isolation level higher than READ COMMITTED."));
+ errmsg("WAIT must be called without an active or registered snapshot"),
+ errdetail("WAIT cannot be executed within a transaction with an isolation level higher than READ COMMITTED."));
/*
* As the result we should hold no snapshot, and correspondingly our xmin
--
2.55.0
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Should the WAIT FOR command tag be "WAIT" or "WAIT FOR"?
@ 2026-09-11 03:48 Xuneng Zhou <xunengzhou@gmail.com>
parent: Alexander Korotkov <aekorotkov@gmail.com>
0 siblings, 1 reply; 7+ messages in thread
From: Xuneng Zhou @ 2026-09-11 03:48 UTC (permalink / raw)
To: Alexander Korotkov <aekorotkov@gmail.com>; +Cc: Masahiko Sawada <sawada.mshk@gmail.com>; Tom Lane <tgl@sss.pgh.pa.us>; pgsql-hackers; Ivan Kartyshov <i.kartyshov@postgrespro.ru>
Hi Alexander,
On Fri, Sep 11, 2026 at 6:13 AM Alexander Korotkov <aekorotkov@gmail.com> wrote:
>
> On Mon, Aug 31, 2026 at 7:52 AM Xuneng Zhou <xunengzhou@gmail.com> wrote:
> > On Sat, Aug 29, 2026 at 5:40 AM Masahiko Sawada <sawada.mshk@gmail.com> wrote:
> > >
> > > On Fri, Aug 28, 2026 at 1:11 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > > >
> > > > Masahiko Sawada <sawada.mshk@gmail.com> writes:
> > > > > While reviewing a patch for the WAIT FOR command I noticed that its
> > > > > command tag is "WAIT" rather than "WAIT FOR". I could not find this
> > > > > discussed in the main thread, although I have not read all of them, so
> > > > > I might miss something. I want to confirm it because a command tag is
> > > > > not something we can revisit later when we release v19.0.
> > > >
> > > > I think it's fine. The FOR is a noise word that's useful only to
> > > > make the command's grammar vaguely resemble English. For precedent,
> > > > consider INSERT, which must have INTO but that's not part of the
> > > > command tag.
> > >
> > > Good point. A difference between INSERT and WAIT is that the doc uses
> > > "WAIT FOR" as its command name instead of "WAIT" whereas it uses
> > > "INSERT" for INSERT statements:
> > >
> > > % git grep -e "<command>WAIT.*</command>"
> > > doc/src/sgml/ref/wait_for.sgml: <command>WAIT FOR</command> must be
> > > executed as a top-level command.
> > > doc/src/sgml/ref/wait_for.sgml: <command>WAIT FOR</command> waits
> > > until the specified
> > > doc/src/sgml/ref/wait_for.sgml: <command>WAIT FOR</command> compares
> > > only the numeric
> > > doc/src/sgml/ref/wait_for.sgml: <command>WAIT FOR</command> will
> > > return <literal>success</literal>
> > > doc/src/sgml/ref/wait_for.sgml: On a standby server, <command>WAIT
> > > FOR</command> sessions may be
> > > doc/src/sgml/ref/wait_for.sgml: doing. Applications using
> > > <command>WAIT FOR</command> on a standby
> > > doc/src/sgml/ref/wait_for.sgml: You can use <command>WAIT
> > > FOR</command> command to wait for
> > > doc/src/sgml/ref/wait_for.sgml: Then an application could run
> > > <command>WAIT FOR</command>
> > > doc/src/sgml/ref/wait_for.sgml: The same example uses <command>WAIT
> > > FOR</command> with
> > > doc/src/sgml/release-19.sgml: A new <link
> > > linkend="sql-wait-for"><command>WAIT FOR</command></link>
> > > doc/src/sgml/release-19.sgml:Add <link
> > > linkend="sql-wait-for"><command>WAIT FOR</command></link> command to
> > > allow standbys to wait for <link
> > > linkend="wal-internals"><acronym>LSN</acronym></link> values to be
> > > written, flushed, or replayed (Kartyshov Ivan, Alexander Korotkov,
> > > Xuneng Zhou)
> > >
> > > >
> > > > > Strictly the same rule would argue for
> > > > > "WAIT FOR LSN", but "WAIT FOR" is the name the manual gives the
> > > > > command, and it leaves room if other things become waitable in the
> > > > > future.
> > > >
> > > > If anything, I'd change the manual. "WAIT FOR" is neither short
> > > > nor a useful description of what's being waited for. Either "WAIT"
> > > > or "WAIT FOR LSN" would be more plausible as a page heading.
> > >
> > > Agreed.
> >
> > Thanks for raising this. The above reasoning makes sense to me. Here's
> > a patch for it.
>
> Thank you for the patch. I think we should do some additional renames.
> 1. Change <command>WAIT FOR</command> to <command>WAIT</command> in
> the page body.
> 2. The two error messages in commands/wait.c: WAIT FOR => WAIT
> 3. The reference id sql-waitfor => sql-wait
> 4. File name ref/wait_for.sgml => ref/wait.sgml, and the entity
> &waitFor => &wait
Thanks for adding them. I did not notice that. Also changed the error
lines in the tap test.
--
Regards,
Xuneng Zhou
HighGo Software Co., Ltd.
Attachments:
v3-0001-Rename-the-WAIT-FOR-command-to-WAIT-in-the-docume.patch (application/octet-stream, 10.7K) download
From d9224a503eee53bf5eada62e7c166d9245c1268f Mon Sep 17 00:00:00 2001
From: Xuneng Zhou <xunengzhou@gmail.com>
Date: Fri, 11 Sep 2026 11:42:21 +0800
Subject: [PATCH v3] Rename the WAIT FOR command to WAIT in the documentation
The command tag is WAIT, but the reference page called the command
"WAIT FOR" in its title, index entry, psql help name and throughout its
prose, and so did the error messages. FOR is a noise word that makes the
grammar read like English, exactly as INTO does for INSERT and FROM does
for DELETE; neither of those is part of the command's name. Settle on
WAIT everywhere the command is named, and keep WAIT FOR LSN wherever the
syntax itself is being shown.
Rename the reference page's id and file name to match, following
cb2c696b1dd: v19 is not released, so the URL is not yet baked into a
supported version, and every other page's id matches its title.
Reported-by: Masahiko Sawada sawada.mshk@gmail.com
Discussion: https://postgr.es/m/CAD21AoBdtiPTbm7T_aNeDON9JpFG9g%3DJDUP4WU-Y8t8_xqvR5Q%40mail.gmail.com
Backpatch-through: 19
Author: Xuneng Zhou xunengzhou@gmail.com
Reviewed-by: Alexander Korotkov aekorotkov@gmail.com
---
doc/src/sgml/high-availability.sgml | 2 +-
doc/src/sgml/ref/allfiles.sgml | 2 +-
doc/src/sgml/ref/{wait_for.sgml => wait.sgml} | 30 +++++++++----------
doc/src/sgml/reference.sgml | 2 +-
src/backend/commands/wait.c | 8 ++---
src/test/recovery/t/049_wait_for_lsn.pl | 8 ++---
6 files changed, 26 insertions(+), 26 deletions(-)
rename doc/src/sgml/ref/{wait_for.sgml => wait.sgml} (94%)
diff --git a/doc/src/sgml/high-availability.sgml b/doc/src/sgml/high-availability.sgml
index d58b16977cd..b24bb2ec45f 100644
--- a/doc/src/sgml/high-availability.sgml
+++ b/doc/src/sgml/high-availability.sgml
@@ -1426,7 +1426,7 @@ postgres=# SELECT pg_current_wal_insert_lsn();
The <acronym>LSN</acronym> obtained from the primary is then communicated
to the standby server. This can be managed at the application level or
via the connection pooler. On the standby, the application issues the
- <xref linkend="sql-waitfor"/> command to block further processing until
+ <xref linkend="sql-wait"/> command to block further processing until
the standby's WAL replay process reaches (or exceeds) the specified
<acronym>LSN</acronym>.
diff --git a/doc/src/sgml/ref/allfiles.sgml b/doc/src/sgml/ref/allfiles.sgml
index 141ada9c50a..b7ea1f37291 100644
--- a/doc/src/sgml/ref/allfiles.sgml
+++ b/doc/src/sgml/ref/allfiles.sgml
@@ -189,7 +189,7 @@ Complete list of usable sgml source files in this directory.
<!ENTITY update SYSTEM "update.sgml">
<!ENTITY vacuum SYSTEM "vacuum.sgml">
<!ENTITY values SYSTEM "values.sgml">
-<!ENTITY waitFor SYSTEM "wait_for.sgml">
+<!ENTITY wait SYSTEM "wait.sgml">
<!-- applications and utilities -->
<!ENTITY clusterdb SYSTEM "clusterdb.sgml">
diff --git a/doc/src/sgml/ref/wait_for.sgml b/doc/src/sgml/ref/wait.sgml
similarity index 94%
rename from doc/src/sgml/ref/wait_for.sgml
rename to doc/src/sgml/ref/wait.sgml
index 04ca9400426..9204924b1c1 100644
--- a/doc/src/sgml/ref/wait_for.sgml
+++ b/doc/src/sgml/ref/wait.sgml
@@ -1,21 +1,21 @@
<!--
-doc/src/sgml/ref/wait_for.sgml
+doc/src/sgml/ref/wait.sgml
PostgreSQL documentation
-->
-<refentry id="sql-waitfor">
- <indexterm zone="sql-waitfor">
- <primary>WAIT FOR</primary>
+<refentry id="sql-wait">
+ <indexterm zone="sql-wait">
+ <primary>WAIT</primary>
</indexterm>
<refmeta>
- <refentrytitle>WAIT FOR</refentrytitle>
+ <refentrytitle>WAIT</refentrytitle>
<manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta>
<refnamediv>
- <refname>WAIT FOR</refname>
+ <refname>WAIT</refname>
<refpurpose>wait for WAL to reach a target <acronym>LSN</acronym></refpurpose>
</refnamediv>
@@ -217,7 +217,7 @@ WAIT FOR LSN '<replaceable class="parameter">lsn</replaceable>'
<refsect1>
<title>Notes</title>
<para>
- <command>WAIT FOR</command> must be executed as a top-level command.
+ <command>WAIT</command> must be executed as a top-level command.
It cannot be executed from a function, procedure, or
<command>DO</command> block. It also requires that no active or
registered snapshot be held, and therefore cannot be used in contexts
@@ -226,7 +226,7 @@ WAIT FOR LSN '<replaceable class="parameter">lsn</replaceable>'
</para>
<para>
- <command>WAIT FOR</command> waits until the specified
+ <command>WAIT</command> waits until the specified
<parameter>lsn</parameter> is reached according to the specified
<parameter>mode</parameter>. The <literal>standby_replay</literal> mode
waits for the LSN to be replayed (applied to the database), which is
@@ -258,12 +258,12 @@ WAIT FOR LSN '<replaceable class="parameter">lsn</replaceable>'
</para>
<para>
- <command>WAIT FOR</command> compares only the numeric
+ <command>WAIT</command> compares only the numeric
<acronym>LSN</acronym>; it has no notion of which timeline a WAL
record belongs to. This matters when a standby continues recovery
across an upstream timeline switch — for example, a cascading
standby whose upstream gets promoted. In that case
- <command>WAIT FOR</command> will return <literal>success</literal>
+ <command>WAIT</command> will return <literal>success</literal>
as soon as the position used by the selected wait mode reaches or
passes the numeric <acronym>LSN</acronym>, regardless of which
timeline that <acronym>LSN</acronym> belongs to. Applications that need to
@@ -272,11 +272,11 @@ WAIT FOR LSN '<replaceable class="parameter">lsn</replaceable>'
</para>
<para>
- On a standby server, <command>WAIT FOR</command> sessions may be
+ On a standby server, <command>WAIT</command> sessions may be
interrupted by recovery conflicts. Some recovery conflicts are
unavoidable: for example, replaying a tablespace drop resolves
conflicts by terminating all backends, regardless of what they are
- doing. Applications using <command>WAIT FOR</command> on a standby
+ doing. Applications using <command>WAIT</command> on a standby
should be prepared to handle such interruptions, for example by
retrying the command or falling back to an alternative mechanism.
</para>
@@ -287,7 +287,7 @@ WAIT FOR LSN '<replaceable class="parameter">lsn</replaceable>'
<title>Examples</title>
<para>
- You can use <command>WAIT FOR</command> command to wait for
+ You can use the <command>WAIT</command> command to wait for
the <type>pg_lsn</type> value. For example, an application could update
the <literal>movie</literal> table and get the <acronym>lsn</acronym> after
changes just made. This example uses <function>pg_current_wal_insert_lsn</function>
@@ -305,7 +305,7 @@ postgres=# SELECT pg_current_wal_insert_lsn();
(1 row)
</programlisting>
- Then an application could run <command>WAIT FOR</command>
+ Then an application could run <command>WAIT</command>
with the <parameter>lsn</parameter> obtained from primary. After that the
changes made on primary should be guaranteed to be visible on replica.
@@ -368,7 +368,7 @@ ERROR: timed out while waiting for target LSN 0/0306EE20 to be replayed; curren
</para>
<para>
- The same example uses <command>WAIT FOR</command> with
+ The same example uses <command>WAIT</command> with the
<parameter>NO_THROW</parameter> option:
<programlisting>
diff --git a/doc/src/sgml/reference.sgml b/doc/src/sgml/reference.sgml
index d9fdbb5d254..1dc7d6f8319 100644
--- a/doc/src/sgml/reference.sgml
+++ b/doc/src/sgml/reference.sgml
@@ -217,7 +217,7 @@
&update;
&vacuum;
&values;
- &waitFor;
+ &wait;
</reference>
diff --git a/src/backend/commands/wait.c b/src/backend/commands/wait.c
index 9ba4c75021e..d78f98e5266 100644
--- a/src/backend/commands/wait.c
+++ b/src/backend/commands/wait.c
@@ -54,8 +54,8 @@ ExecWaitStmt(ParseState *pstate, WaitStmt *stmt, bool isTopLevel,
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
errmsg("%s can only be executed as a top-level statement",
- "WAIT FOR"),
- errdetail("WAIT FOR cannot be used within a function, procedure, or DO block.")));
+ "WAIT"),
+ errdetail("WAIT cannot be used within a function, procedure, or DO block.")));
/* Parse and validate the mandatory LSN */
lsn = DatumGetLSN(DirectFunctionCall1(pg_lsn_in,
@@ -171,8 +171,8 @@ ExecWaitStmt(ParseState *pstate, WaitStmt *stmt, bool isTopLevel,
if (HaveRegisteredOrActiveSnapshot())
ereport(ERROR,
errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
- errmsg("WAIT FOR must be called without an active or registered snapshot"),
- errdetail("WAIT FOR cannot be executed within a transaction with an isolation level higher than READ COMMITTED."));
+ errmsg("WAIT must be called without an active or registered snapshot"),
+ errdetail("WAIT cannot be executed within a transaction with an isolation level higher than READ COMMITTED."));
/*
* As the result we should hold no snapshot, and correspondingly our xmin
diff --git a/src/test/recovery/t/049_wait_for_lsn.pl b/src/test/recovery/t/049_wait_for_lsn.pl
index cb7d4d461de..b94936bd2a7 100644
--- a/src/test/recovery/t/049_wait_for_lsn.pl
+++ b/src/test/recovery/t/049_wait_for_lsn.pl
@@ -287,7 +287,7 @@ $node_standby->psql(
"BEGIN ISOLATION LEVEL REPEATABLE READ; SELECT 1; WAIT FOR LSN '${lsn3}';",
stderr => \$stderr);
ok( $stderr =~
- /WAIT FOR must be called without an active or registered snapshot/,
+ /WAIT must be called without an active or registered snapshot/,
"get an error when running in a transaction with an isolation level higher than REPEATABLE READ"
);
@@ -315,21 +315,21 @@ $node_standby->psql(
'postgres',
"SELECT pg_wal_replay_wait_wrap('${lsn3}');",
stderr => \$stderr);
-ok($stderr =~ /WAIT FOR can only be executed as a top-level statement/,
+ok($stderr =~ /WAIT can only be executed as a top-level statement/,
"get an error when running within a function");
$node_standby->psql(
'postgres',
"CALL pg_wal_replay_wait_proc('${lsn3}');",
stderr => \$stderr);
-ok($stderr =~ /WAIT FOR can only be executed as a top-level statement/,
+ok($stderr =~ /WAIT can only be executed as a top-level statement/,
"get an error when running within a procedure");
$node_standby->psql(
'postgres',
"DO \$\$ BEGIN EXECUTE format('WAIT FOR LSN %L;', '${lsn3}'); END \$\$;",
stderr => \$stderr);
-ok($stderr =~ /WAIT FOR can only be executed as a top-level statement/,
+ok($stderr =~ /WAIT can only be executed as a top-level statement/,
"get an error when running within a DO block");
# 6. Check parameter validation error cases on standby before promotion
--
2.50.1 (Apple Git-155)
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Should the WAIT FOR command tag be "WAIT" or "WAIT FOR"?
@ 2026-09-12 14:01 Alexander Korotkov <aekorotkov@gmail.com>
parent: Xuneng Zhou <xunengzhou@gmail.com>
0 siblings, 0 replies; 7+ messages in thread
From: Alexander Korotkov @ 2026-09-12 14:01 UTC (permalink / raw)
To: Xuneng Zhou <xunengzhou@gmail.com>; +Cc: Masahiko Sawada <sawada.mshk@gmail.com>; Tom Lane <tgl@sss.pgh.pa.us>; pgsql-hackers; Ivan Kartyshov <i.kartyshov@postgrespro.ru>
Hi!
On Fri, Sep 11, 2026 at 6:48 AM Xuneng Zhou <xunengzhou@gmail.com> wrote:
> On Fri, Sep 11, 2026 at 6:13 AM Alexander Korotkov <aekorotkov@gmail.com> wrote:
> >
> > On Mon, Aug 31, 2026 at 7:52 AM Xuneng Zhou <xunengzhou@gmail.com> wrote:
> > > On Sat, Aug 29, 2026 at 5:40 AM Masahiko Sawada <sawada.mshk@gmail.com> wrote:
> > > >
> > > > On Fri, Aug 28, 2026 at 1:11 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > > > >
> > > > > Masahiko Sawada <sawada.mshk@gmail.com> writes:
> > > > > > While reviewing a patch for the WAIT FOR command I noticed that its
> > > > > > command tag is "WAIT" rather than "WAIT FOR". I could not find this
> > > > > > discussed in the main thread, although I have not read all of them, so
> > > > > > I might miss something. I want to confirm it because a command tag is
> > > > > > not something we can revisit later when we release v19.0.
> > > > >
> > > > > I think it's fine. The FOR is a noise word that's useful only to
> > > > > make the command's grammar vaguely resemble English. For precedent,
> > > > > consider INSERT, which must have INTO but that's not part of the
> > > > > command tag.
> > > >
> > > > Good point. A difference between INSERT and WAIT is that the doc uses
> > > > "WAIT FOR" as its command name instead of "WAIT" whereas it uses
> > > > "INSERT" for INSERT statements:
> > > >
> > > > % git grep -e "<command>WAIT.*</command>"
> > > > doc/src/sgml/ref/wait_for.sgml: <command>WAIT FOR</command> must be
> > > > executed as a top-level command.
> > > > doc/src/sgml/ref/wait_for.sgml: <command>WAIT FOR</command> waits
> > > > until the specified
> > > > doc/src/sgml/ref/wait_for.sgml: <command>WAIT FOR</command> compares
> > > > only the numeric
> > > > doc/src/sgml/ref/wait_for.sgml: <command>WAIT FOR</command> will
> > > > return <literal>success</literal>
> > > > doc/src/sgml/ref/wait_for.sgml: On a standby server, <command>WAIT
> > > > FOR</command> sessions may be
> > > > doc/src/sgml/ref/wait_for.sgml: doing. Applications using
> > > > <command>WAIT FOR</command> on a standby
> > > > doc/src/sgml/ref/wait_for.sgml: You can use <command>WAIT
> > > > FOR</command> command to wait for
> > > > doc/src/sgml/ref/wait_for.sgml: Then an application could run
> > > > <command>WAIT FOR</command>
> > > > doc/src/sgml/ref/wait_for.sgml: The same example uses <command>WAIT
> > > > FOR</command> with
> > > > doc/src/sgml/release-19.sgml: A new <link
> > > > linkend="sql-wait-for"><command>WAIT FOR</command></link>
> > > > doc/src/sgml/release-19.sgml:Add <link
> > > > linkend="sql-wait-for"><command>WAIT FOR</command></link> command to
> > > > allow standbys to wait for <link
> > > > linkend="wal-internals"><acronym>LSN</acronym></link> values to be
> > > > written, flushed, or replayed (Kartyshov Ivan, Alexander Korotkov,
> > > > Xuneng Zhou)
> > > >
> > > > >
> > > > > > Strictly the same rule would argue for
> > > > > > "WAIT FOR LSN", but "WAIT FOR" is the name the manual gives the
> > > > > > command, and it leaves room if other things become waitable in the
> > > > > > future.
> > > > >
> > > > > If anything, I'd change the manual. "WAIT FOR" is neither short
> > > > > nor a useful description of what's being waited for. Either "WAIT"
> > > > > or "WAIT FOR LSN" would be more plausible as a page heading.
> > > >
> > > > Agreed.
> > >
> > > Thanks for raising this. The above reasoning makes sense to me. Here's
> > > a patch for it.
> >
> > Thank you for the patch. I think we should do some additional renames.
> > 1. Change <command>WAIT FOR</command> to <command>WAIT</command> in
> > the page body.
> > 2. The two error messages in commands/wait.c: WAIT FOR => WAIT
> > 3. The reference id sql-waitfor => sql-wait
> > 4. File name ref/wait_for.sgml => ref/wait.sgml, and the entity
> > &waitFor => &wait
>
> Thanks for adding them. I did not notice that. Also changed the error
> lines in the tap test.
Thank you for your feedback. I'm going to push it if no objections.
------
Regards,
Alexander Korotkov
Supabase
^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2026-09-12 14:01 UTC | newest]
Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-08-28 19:58 Should the WAIT FOR command tag be "WAIT" or "WAIT FOR"? Masahiko Sawada <sawada.mshk@gmail.com>
2026-08-28 20:11 ` Tom Lane <tgl@sss.pgh.pa.us>
2026-08-28 21:39 ` Masahiko Sawada <sawada.mshk@gmail.com>
2026-08-31 04:52 ` Xuneng Zhou <xunengzhou@gmail.com>
2026-09-10 22:13 ` Alexander Korotkov <aekorotkov@gmail.com>
2026-09-11 03:48 ` Xuneng Zhou <xunengzhou@gmail.com>
2026-09-12 14:01 ` Alexander Korotkov <aekorotkov@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox