pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #8193: A few cosmetic misspell fixes.
4+ messages / 4 participants
[nested] [flat]
* BUG #8193: A few cosmetic misspell fixes.
@ 2013-05-30 16:51 vlajos@gmail.com
0 siblings, 1 reply; 4+ messages in thread
From: vlajos@gmail.com @ 2013-05-30 16:51 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 8193
Logged by: Lajos Veres
Email address: vlajos@gmail.com
PostgreSQL version: 9.2.4
Operating system: Linux
Description:
Found a few small misspell with this:
https://github.com/vlajos/misspell_fixer
I created a small patch here:
http://www.pastebin.ca/2385261
Lajos
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #8193: A few cosmetic misspell fixes.
@ 2013-06-01 07:55 Michael Paquier <michael.paquier@gmail.com>
parent: vlajos@gmail.com
0 siblings, 2 replies; 4+ messages in thread
From: Michael Paquier @ 2013-06-01 07:55 UTC (permalink / raw)
To: vlajos@gmail.com; +Cc: pgsql-bugs
On Fri, May 31, 2013 at 1:51 AM, <vlajos@gmail.com> wrote:
> The following bug has been logged on the website:
>
> Bug reference: 8193
> Logged by: Lajos Veres
> Email address: vlajos@gmail.com
> PostgreSQL version: 9.2.4
> Operating system: Linux
> Description:
>
> Found a few small misspell with this:
> https://github.com/vlajos/misspell_fixer
>
> I created a small patch here:
> http://www.pastebin.ca/2385261
>
Referring a patch with an external link is bad practice as the external
service you use could disappear, making this patch lost at the same time.
Please attach patches directly with the mails you send.
For the patch, yes OK there are some spell mistakes. However this patch
should only apply on master branch, and not 9.2 as referenced above. Also,
changing the structure name to Extension does not look to be appropriate as
it is a generic name...
--
Michael
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #8193: A few cosmetic misspell fixes.
@ 2013-06-01 14:20 Stephen Frost <sfrost@snowman.net>
parent: Michael Paquier <michael.paquier@gmail.com>
1 sibling, 0 replies; 4+ messages in thread
From: Stephen Frost @ 2013-06-01 14:20 UTC (permalink / raw)
To: Michael Paquier <michael.paquier@gmail.com>; +Cc: vlajos@gmail.com; pgsql-bugs
* Michael Paquier (michael.paquier@gmail.com) wrote:
> Please attach patches directly with the mails you send.
+1.
> For the patch, yes OK there are some spell mistakes. However this patch
> should only apply on master branch, and not 9.2 as referenced above.
Agreed.
> Also,
> changing the structure name to Extension does not look to be appropriate as
> it is a generic name...
Took a simpler approach and just renamed it to CoverExt, that should
also avoid any confusion with actual extensions.
Thanks,
Stephen
Attachments:
signature.asc (application/pgp-signature, 197B) download
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #8193: A few cosmetic misspell fixes.
@ 2013-06-02 15:48 Veres Lajos <vlajos@gmail.com>
parent: Michael Paquier <michael.paquier@gmail.com>
1 sibling, 0 replies; 4+ messages in thread
From: Veres Lajos @ 2013-06-02 15:48 UTC (permalink / raw)
To: Michael Paquier <michael.paquier@gmail.com>; +Cc: pgsql-bugs
On Sat, 1 Jun 2013, Michael Paquier wrote:
> Referring a patch with an external link is bad practice as the external
> service you use could disappear, making this patch lost at the same time.
> Please attach patches directly with the mails you send.
>
> For the patch, yes OK there are some spell mistakes. However this patch
> should only apply on master branch, and not 9.2 as referenced above. Also,
> changing the structure name to Extension does not look to be appropriate as
> it is a generic name...
I used this form:
http://www.postgresql.org/support/submitbug/
I didnt see any option for uploading patch or choosing trunk.
Anyway sorry for the inconveniences.
--
Veres Lajos
vlajos@gmail.com
+36 20 438 5909
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Attachments:
postgresql.misspell_fixes.vlajos.20130530.patch (text/x-diff, 2.6K) download
diff --git a/contrib/pg_upgrade/relfilenode.c b/contrib/pg_upgrade/relfilenode.c
index 53e0700..10c0531 100644
--- a/contrib/pg_upgrade/relfilenode.c
+++ b/contrib/pg_upgrade/relfilenode.c
@@ -247,7 +247,7 @@ transfer_relfile(pageCnvCtx *pageConverter, FileNameMap *map,
if (errno == ENOENT)
return;
else
- pg_log(PG_FATAL, "error while checking for file existance \"%s.%s\" (\"%s\" to \"%s\"): %s\n",
+ pg_log(PG_FATAL, "error while checking for file existence \"%s.%s\" (\"%s\" to \"%s\"): %s\n",
map->nspname, map->relname, old_file, new_file,
getErrorText(errno));
}
diff --git a/src/backend/access/transam/xlogreader.c b/src/backend/access/transam/xlogreader.c
index fc6ff80..6c971f3 100644
--- a/src/backend/access/transam/xlogreader.c
+++ b/src/backend/access/transam/xlogreader.c
@@ -903,7 +903,7 @@ ValidXLogPageHeader(XLogReaderState *state, XLogRecPtr recptr,
/*
* Find the first record with at an lsn >= RecPtr.
*
- * Useful for checking wether RecPtr is a valid xlog address for reading and to
+ * Useful for checking whether RecPtr is a valid xlog address for reading and to
* find the first valid address after some address when dumping records for
* debugging purposes.
*/
diff --git a/src/backend/utils/adt/tsrank.c b/src/backend/utils/adt/tsrank.c
index eb90f1b..1d59396 100644
--- a/src/backend/utils/adt/tsrank.c
+++ b/src/backend/utils/adt/tsrank.c
@@ -530,11 +530,11 @@ typedef struct
int q;
DocRepresentation *begin;
DocRepresentation *end;
-} Extention;
+} Extension;
static bool
-Cover(DocRepresentation *doc, int len, QueryRepresentation *qr, Extention *ext)
+Cover(DocRepresentation *doc, int len, QueryRepresentation *qr, Extension *ext)
{
DocRepresentation *ptr;
int lastpos = ext->pos;
@@ -729,7 +729,7 @@ calc_rank_cd(float4 *arrdata, TSVector txt, TSQuery query, int method)
int len,
i,
doclen = 0;
- Extention ext;
+ Extension ext;
double Wdoc = 0.0;
double invws[lengthof(weights)];
double SumDist = 0.0,
@@ -759,7 +759,7 @@ calc_rank_cd(float4 *arrdata, TSVector txt, TSQuery query, int method)
return 0.0;
}
- MemSet(&ext, 0, sizeof(Extention));
+ MemSet(&ext, 0, sizeof(Extension));
while (Cover(doc, doclen, &qr, &ext))
{
double Cpos = 0.0;
diff --git a/src/tools/pgindent/typedefs.list b/src/tools/pgindent/typedefs.list
index b68a649..94b0117 100644
--- a/src/tools/pgindent/typedefs.list
+++ b/src/tools/pgindent/typedefs.list
@@ -487,7 +487,7 @@ ExtensionBehavior
ExtensionControlFile
ExtensionInfo
ExtensionVersionInfo
-Extention
+Extension
FDWCollateState
FD_SET
FILE
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2013-06-02 15:48 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-05-30 16:51 BUG #8193: A few cosmetic misspell fixes. vlajos@gmail.com
2013-06-01 07:55 ` Michael Paquier <michael.paquier@gmail.com>
2013-06-01 14:20 ` Stephen Frost <sfrost@snowman.net>
2013-06-02 15:48 ` Veres Lajos <vlajos@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox