Re: [HACKERS] Fix typos in comments

2016-03-15 Thread Robert Haas
On Tue, Mar 15, 2016 at 5:48 PM, Oskari Saarenmaa wrote: > Attached a patch to fix a bunch of typos in comments. Committed. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make

[HACKERS] Fix typos in comments

2016-03-15 Thread Oskari Saarenmaa
Attached a patch to fix a bunch of typos in comments. / Oskari >From 1effab7d75c3ac08257c637d8662b4c8b3fdc750 Mon Sep 17 00:00:00 2001 From: Oskari Saarenmaa Date: Tue, 15 Mar 2016 23:45:26 +0200 Subject: [PATCH] misc typofixes in comments --- contrib/pgcrypto/sha1.h| 2

Re: [HACKERS] fix typos in comments

2015-04-26 Thread Andres Freund
On 2015-04-26 13:03:52 -0400, Tom Lane wrote: > Andres Freund writes: > > On 2015-04-26 12:53:30 -0400, Tom Lane wrote: > >> Hm. My dictionary says that "therefor" is archaic, but to my eye it > >> looks just wrong. Certainly no modern writer would spell it like that. > > > Mine said that it's

Re: [HACKERS] fix typos in comments

2015-04-26 Thread Tom Lane
Andres Freund writes: > On 2015-04-26 12:53:30 -0400, Tom Lane wrote: >> Hm. My dictionary says that "therefor" is archaic, but to my eye it >> looks just wrong. Certainly no modern writer would spell it like that. > Mine said that it's still common in some circles, particularly the law, > so I

Re: [HACKERS] fix typos in comments

2015-04-26 Thread Andres Freund
On 2015-04-26 12:53:30 -0400, Tom Lane wrote: > Andres Freund writes: > > On 2015-04-26 19:13:42 +0400, Dmitriy Olshevskiy wrote: > >> - * therefor it is up to the calling routine to > >> + * therefore it is up to the calling routine to > > > I think both are actually legal? Yes

Re: [HACKERS] fix typos in comments

2015-04-26 Thread Tom Lane
Andres Freund writes: > On 2015-04-26 19:13:42 +0400, Dmitriy Olshevskiy wrote: >> - *therefor it is up to the calling routine to >> + *therefore it is up to the calling routine to > I think both are actually legal? Yes therefore is more common, but > still. Hm. My dictionary says that

Re: [HACKERS] fix typos in comments

2015-04-26 Thread Andres Freund
Hi, Man, whoever invented these an vs. a rules... But then this patch made me lookup the rules ;) On 2015-04-26 19:13:42 +0400, Dmitriy Olshevskiy wrote: > diff --git a/src/backend/optimizer/geqo/geqo_erx.c > b/src/backend/optimizer/geqo/geqo_erx.c > index 69ac077..1a43ab7 100644 > --- a/src/ba

[HACKERS] fix typos in comments

2015-04-26 Thread Dmitriy Olshevskiy
Hello! Please see this patch with several typos and mistakes in comments. There are also typos in sgml files (duplicate "to"): 1. doc/src/sgml/logicaldecoding.sgml, ln 619 >> Logical decoding can be used to to build 2. doc/src/sgml/ref/pg_dumpall.sgml, ln 457 >> Specifies the name of the datab