summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-03-10 22:28:22 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-03-10 22:28:22 +0000
commite4704001ea4c3d63b53e8783859ff598ef2f69e5 (patch)
tree56d282d342ead04fc43af4efc5a2eccffa3e27ed /src/bin
parent081fa240a119b67e28227439a3bf700340442787 (diff)
downloadpostgresql-e4704001ea4c3d63b53e8783859ff598ef2f69e5.tar.gz
This patch fixes a bunch of spelling mistakes in comments throughout the
PostgreSQL source code. Neil Conway
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/pg_dump/pg_backup_archiver.c6
-rw-r--r--src/bin/pg_dump/pg_dump.c4
-rw-r--r--src/bin/psql/common.c4
-rw-r--r--src/bin/psql/stringutils.c4
4 files changed, 9 insertions, 9 deletions
diff --git a/src/bin/pg_dump/pg_backup_archiver.c b/src/bin/pg_dump/pg_backup_archiver.c
index d91f630b70..1ef3f371f4 100644
--- a/src/bin/pg_dump/pg_backup_archiver.c
+++ b/src/bin/pg_dump/pg_backup_archiver.c
@@ -15,7 +15,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.69 2003/03/09 19:38:52 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.70 2003/03/10 22:28:19 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1661,7 +1661,7 @@ _discoverArchiveFormat(ArchiveHandle *AH)
if (fseeko(fh, 0, SEEK_SET) != 0)
{
/*
- * NOTE: Formats that use the looahead buffer can unset this in
+ * NOTE: Formats that use the lookahead buffer can unset this in
* their Init routine.
*/
AH->readHeader = 1;
@@ -2030,7 +2030,7 @@ _tocEntryRequired(TocEntry *te, RestoreOptions *ropt)
if (ropt->dataOnly)
res = res & REQ_DATA;
- /* Mask it if we don't have a schema contribition */
+ /* Mask it if we don't have a schema contribution */
if (!te->defn || strlen(te->defn) == 0)
res = res & ~REQ_SCHEMA;
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index 1bea9cf509..41c7a66762 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -12,7 +12,7 @@
* by PostgreSQL
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.318 2003/02/13 22:56:52 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.319 2003/03/10 22:28:19 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -932,7 +932,7 @@ dumpClasses_nodumpData(Archive *fout, char *oid, void *dctxv)
* select(0, NULL, NULL, NULL, &tvi);
*
* This will return after the interval specified in the structure
- * tvi. Fianally, call gettimeofday again to save the 'last sleep
+ * tvi. Finally, call gettimeofday again to save the 'last sleep
* time'.
*/
}
diff --git a/src/bin/psql/common.c b/src/bin/psql/common.c
index b7aa0a3ba2..0caaf1ef64 100644
--- a/src/bin/psql/common.c
+++ b/src/bin/psql/common.c
@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
- * $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.55 2003/02/21 21:34:27 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.56 2003/03/10 22:28:19 tgl Exp $
*/
#include "postgres_fe.h"
#include "common.h"
@@ -153,7 +153,7 @@ psql_error(const char *fmt,...)
/*
- * for backend Notice mesages (INFO, WARNING, etc)
+ * for backend Notice messages (INFO, WARNING, etc)
*/
void
NoticeProcessor(void *arg, const char *message)
diff --git a/src/bin/psql/stringutils.c b/src/bin/psql/stringutils.c
index 0401c92718..b6ecf114fe 100644
--- a/src/bin/psql/stringutils.c
+++ b/src/bin/psql/stringutils.c
@@ -3,7 +3,7 @@
*
* Copyright 2000-2002 by PostgreSQL Global Development Group
*
- * $Header: /cvsroot/pgsql/src/bin/psql/stringutils.c,v 1.31 2002/10/19 00:22:14 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/stringutils.c,v 1.32 2003/03/10 22:28:19 tgl Exp $
*/
#include "postgres_fe.h"
@@ -39,7 +39,7 @@ static void strip_quotes(char *source, char quote, char escape, int encoding);
* Characters in 'delim', if any, will be returned as single-character
* tokens unless part of a quoted token.
*
- * Double occurences of the quoting character are always taken to represent
+ * Double occurrences of the quoting character are always taken to represent
* a single quote character in the data. If escape isn't 0, then escape
* followed by anything (except \0) is a data character too.
*