Typo patch

Started by CharSyamalmost 11 years ago5 messageshackers
Jump to latest
#1CharSyam
charsyam@gmail.com

Hi,

I changed typos error. and attached patch for this.
Thanks you.

I only changed comments only

Attachments:

typos.patchapplication/octet-stream; name=typos.patchDownload+26-26
#2Heikki Linnakangas
heikki.linnakangas@enterprisedb.com
In reply to: CharSyam (#1)
Re: Typo patch

On 05/20/2015 07:29 PM, CharSyam wrote:

Hi,

I changed typos error. and attached patch for this.
Thanks you.

I only changed comments only

Thanks, committed. Except for this one:

--- src/backend/utils/sort/logtape.c
+++ src/backend/utils/sort/logtape.c
@@ -926,7 +926,7 @@ LogicalTapeBackspace(LogicalTapeSet *lts, int 
tapenum, size_t size)
  /*
   * Seek to an arbitrary position in a logical tape.
   *
- * *Only* a frozen-for-read tape can be seeked.
+ * *Only* a frozen-for-read tape can be sought.
   *
   * Return value is TRUE if seek successful, FALSE if there isn't that much
   * data in the tape (in which case there's no state change).

It's true that the past tense of "seek" is "sought", but it feels a bit
weird to me in this context. This is a comment on a function called
"<blah blah>seek", and it's not clear to me that it should conjugate
like the normal "seek" verb.

- Heikki

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

#3CharSyam
charsyam@gmail.com
In reply to: Heikki Linnakangas (#2)
Re: Typo patch

Thanks :) You make sense.

2015-05-21 1:49 GMT+09:00 Heikki Linnakangas <hlinnaka@iki.fi>:

Show quoted text

On 05/20/2015 07:29 PM, CharSyam wrote:

Hi,

I changed typos error. and attached patch for this.
Thanks you.

I only changed comments only

Thanks, committed. Except for this one:

--- src/backend/utils/sort/logtape.c
+++ src/backend/utils/sort/logtape.c
@@ -926,7 +926,7 @@ LogicalTapeBackspace(LogicalTapeSet *lts, int tapenum,
size_t size)
/*
* Seek to an arbitrary position in a logical tape.
*
- * *Only* a frozen-for-read tape can be seeked.
+ * *Only* a frozen-for-read tape can be sought.
*
* Return value is TRUE if seek successful, FALSE if there isn't that much
* data in the tape (in which case there's no state change).

It's true that the past tense of "seek" is "sought", but it feels a bit
weird to me in this context. This is a comment on a function called "<blah
blah>seek", and it's not clear to me that it should conjugate like the
normal "seek" verb.

- Heikki

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Heikki Linnakangas (#2)
Re: Typo patch

Heikki Linnakangas <hlinnaka@iki.fi> writes:

Thanks, committed. Except for this one:

- * *Only* a frozen-for-read tape can be seeked.
+ * *Only* a frozen-for-read tape can be sought.

It's true that the past tense of "seek" is "sought", but it feels a bit
weird to me in this context. This is a comment on a function called
"<blah blah>seek", and it's not clear to me that it should conjugate
like the normal "seek" verb.

I agree that "sought" is not the word to use here, but the existing
wording isn't very good English either. Perhaps "Seeking is only allowed
on frozen-for-read tapes"?

regards, tom lane

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

#5Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Tom Lane (#4)
Re: Typo patch

Tom Lane wrote:

Heikki Linnakangas <hlinnaka@iki.fi> writes:

Thanks, committed. Except for this one:

- * *Only* a frozen-for-read tape can be seeked.
+ * *Only* a frozen-for-read tape can be sought.

It's true that the past tense of "seek" is "sought", but it feels a bit
weird to me in this context. This is a comment on a function called
"<blah blah>seek", and it's not clear to me that it should conjugate
like the normal "seek" verb.

I agree that "sought" is not the word to use here, but the existing
wording isn't very good English either. Perhaps "Seeking is only allowed
on frozen-for-read tapes"?

It would be great if you could find a solution for words such as
"shutdowned" or "backuped". (I don't know that we use the latter in our
code, but I've seen it around. The former we even have in an enum
somewhere.)

--
�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