Minor typo in syncrep.c

Started by Amit Langoteabout 10 years ago3 messageshackers
Jump to latest
#1Amit Langote
Langote_Amit_f8@lab.ntt.co.jp

Attached patch removes an extraneous word in the comment above
SyncRepReleaseWaiters() in syncrep.c

- * Other policies are possible, which would change what we do here and what
+ * Other policies are possible, which would change what we do here and
  * perhaps also which information we store as well.

Thanks,
Amit

Attachments:

syncrep-typo.patchtext/x-diff; name=syncrep-typo.patchDownload+1-1
#2Amit Langote
Langote_Amit_f8@lab.ntt.co.jp
In reply to: Amit Langote (#1)
Re: Minor typo in syncrep.c

On 2016/02/03 17:50, Amit Langote wrote:

Attached patch removes an extraneous word in the comment above

I kept reading and found one place in a comment within the function where
a word is most probably missing, Attached fixes it.

     /*
      * If this WALSender is serving a standby that is not on the list of
-     * potential standbys then we have nothing to do. If we are still
starting
-     * up, still running base backup or the current flush position is still
-     * invalid, then leave quickly also.
+     * potential sync standbys then we have nothing to do. If we are still
+     * starting up, still running base backup or the current flush position
+     * is still invalid, then leave quickly also.

Thanks,
Amit

Attachments:

syncrep-typo-onemore.patchtext/x-diff; name=syncrep-typo-onemore.patchDownload+3-3
#3Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Amit Langote (#2)
Re: Minor typo in syncrep.c

Amit Langote wrote:

On 2016/02/03 17:50, Amit Langote wrote:

Attached patch removes an extraneous word in the comment above

I kept reading and found one place in a comment within the function where
a word is most probably missing, Attached fixes it.

Pushed both, thanks.

--
�lvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

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