Fix a typo in sequence.c

Started by Masahiko Sawadaover 8 years ago3 messages
#1Masahiko Sawada
sawada.mshk@gmail.com
1 attachment(s)

Hi,

While reading source code, I found a typo in sequence.c file. Attached
patch for fixing it.

s/localy/locally/g

Regards,

--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Attachments:

fix_typo_in_sequence_c.patchapplication/octet-stream; name=fix_typo_in_sequence_c.patchDownload
diff --git a/src/backend/commands/sequence.c b/src/backend/commands/sequence.c
index bb61108..6293712 100644
--- a/src/backend/commands/sequence.c
+++ b/src/backend/commands/sequence.c
@@ -458,7 +458,7 @@ AlterSequence(ParseState *pstate, AlterSeqStmt *stmt)
 	/* lock page's buffer and read tuple into new sequence structure */
 	(void) read_seq_tuple(seqrel, &buf, &datatuple);
 
-	/* copy the existing sequence data tuple, so it can be modified localy */
+	/* copy the existing sequence data tuple, so it can be modified locally */
 	newdatatuple = heap_copytuple(&datatuple);
 	newdataform = (Form_pg_sequence_data) GETSTRUCT(newdatatuple);
 
#2Peter Eisentraut
peter.eisentraut@2ndquadrant.com
In reply to: Masahiko Sawada (#1)
Re: Fix a typo in sequence.c

On 8/14/17 08:32, Masahiko Sawada wrote:

While reading source code, I found a typo in sequence.c file. Attached
patch for fixing it.

s/localy/locally/g

Fixed.

--
Peter Eisentraut 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

#3Masahiko Sawada
sawada.mshk@gmail.com
In reply to: Peter Eisentraut (#2)
Re: Fix a typo in sequence.c

On Tue, Aug 15, 2017 at 2:53 AM, Peter Eisentraut
<peter.eisentraut@2ndquadrant.com> wrote:

On 8/14/17 08:32, Masahiko Sawada wrote:

While reading source code, I found a typo in sequence.c file. Attached
patch for fixing it.

s/localy/locally/g

Fixed.

Thank you!

Regards,

--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

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