Some typos in documentation

Started by Alexander Lakhinover 7 years ago3 messagesdocs
Jump to latest
#1Alexander Lakhin
exclusion@gmail.com

Hello,
While cross-checking the unique words in doc/ I found a few typos.

REL9_6_STABLE
transcations
(Also there are two 'transcation's in src/bin/psql/po/tr.po, probably
these are typos too.)

REL_10_STABLE+
PQencryptPasswodConn

pg_current_logfiles -- there is only the "pg_current_logfile" function.

NOCONNECT -- this option was replaced with "connect = false" by commit
b807f5982.

LockFileCreateWrite -- Should be spelled as LockFileCreateWRITE (as in
pgstat.c) or LockFileCreateWRITE in pg.stat.s should use CamelCase in
whole. I don't find any dependencies so I would prefer the latter.

REL_11_STABLE+
pg_execute_server_programs -- I could find only the
pg_execute_server_program role in pg_authid.dat.

All the corresponding patches are attached.

Best regards,
Alexander

Attachments:

pg_execute_server_programs.patchtext/x-patch; name=pg_execute_server_programs.patchDownload+1-1
transcations.patchtext/x-patch; name=transcations.patchDownload+1-1
PQencryptPasswodConn.patchtext/x-patch; name=PQencryptPasswodConn.patchDownload+1-1
pg_current_logfiles.patchtext/x-patch; name=pg_current_logfiles.patchDownload+1-1
NOCONNECT.patchtext/x-patch; name=NOCONNECT.patchDownload+1-1
LockFileCreateWRITE.patchtext/x-patch; name=LockFileCreateWRITE.patchDownload+1-1
#2Michael Paquier
michael@paquier.xyz
In reply to: Alexander Lakhin (#1)
Re: Some typos in documentation

On Sun, Jan 13, 2019 at 12:17:07AM +0300, Alexander Lakhin wrote:

While cross-checking the unique words in doc/ I found a few typos.

Those are good finds, thanks for the report!

LockFileCreateWrite -- Should be spelled as LockFileCreateWRITE (as in
pgstat.c) or LockFileCreateWRITE in pg.stat.s should use CamelCase in
whole. I don't find any dependencies so I would prefer the latter.

For consistency with the rest I think that we should use
LockFileCreateWrite in pgstat.c as well as you do, though this could
be qualified as a behavior change. That's also the grammar which is
documented since the beginning. Any objections from others?

All the corresponding patches are attached.

Cool, I'll see to apply them where needed. I'll just wait to see if
anybody has comments about the pgstat.c portion.
--
Michael

#3Michael Paquier
michael@paquier.xyz
In reply to: Michael Paquier (#2)
Re: Some typos in documentation

On Sun, Jan 13, 2019 at 09:34:36AM +0900, Michael Paquier wrote:

Cool, I'll see to apply them where needed. I'll just wait to see if
anybody has comments about the pgstat.c portion.

And done.
--
Michael