Missing markup in pg_receivexlog.sgml

Started by Michael Paquierabout 11 years ago4 messageshackers
Jump to latest
#1Michael Paquier
michael@paquier.xyz

Hi all,

Per $subject, I noticed that a markup was missing in the description
of the option --synchronous.
Patch is attached.
Regards,
--
Michael

Attachments:

20150202_pgreceivexlog_docfix.patchtext/x-diff; charset=US-ASCII; name=20150202_pgreceivexlog_docfix.patchDownload+4-3
#2Heikki Linnakangas
heikki.linnakangas@enterprisedb.com
In reply to: Michael Paquier (#1)
Re: Missing markup in pg_receivexlog.sgml

On 02/03/2015 05:59 AM, Michael Paquier wrote:

Hi all,

Per $subject, I noticed that a markup was missing in the description
of the option --synchronous.

+        Issue <command>sync</> commands as soon as there is WAL data which has
+        not been flushed yet. Also status packets are sent back to the server
+        just after WAL data is flushed whatever <literal>--status-interval</>
+        is set to.

Hmm. That would imply that pg_receivexlog calls /bin/sync. "sync
command" was confusing before, but putting it in <command> tags makes it
even more so.

I think that should be rewritten:

Flush the WAL data to disk immediately after it's being received. Also
send a status packet back to the server immediately after flushing,
regardless of <literal>--status-interval</>

- Heikki

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#3Michael Paquier
michael@paquier.xyz
In reply to: Heikki Linnakangas (#2)
Re: Missing markup in pg_receivexlog.sgml

On Tue, Feb 3, 2015 at 4:25 PM, Heikki Linnakangas
<hlinnakangas@vmware.com> wrote:

Flush the WAL data to disk immediately after it's being received. Also send
a status packet back to the server immediately after flushing, regardless of
<literal>--status-interval</>

Yes, that's indeed better. As long as I am on it, attached is a patch
for that...
--
Michael

Attachments:

20150203_pgreceivexlog_docfix.patchapplication/x-patch; name=20150203_pgreceivexlog_docfix.patchDownload+3-3
#4Heikki Linnakangas
heikki.linnakangas@enterprisedb.com
In reply to: Michael Paquier (#3)
Re: Missing markup in pg_receivexlog.sgml

On 02/03/2015 10:27 AM, Michael Paquier wrote:

On Tue, Feb 3, 2015 at 4:25 PM, Heikki Linnakangas
<hlinnakangas@vmware.com> wrote:

Flush the WAL data to disk immediately after it's being received. Also send
a status packet back to the server immediately after flushing, regardless of
<literal>--status-interval</>

Yes, that's indeed better. As long as I am on it, attached is a patch
for that...

Ok, thanks :-). Applied.

- Heikki

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers