aboutsummaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/pg_config/pg_config.c2
-rw-r--r--src/bin/pg_dump/pg_backup_custom.c2
-rw-r--r--src/bin/pg_dump/pg_dump.c2
-rw-r--r--src/bin/pgevent/pgmsgevent.h2
-rw-r--r--src/bin/psql/command.c4
5 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/pg_config/pg_config.c b/src/bin/pg_config/pg_config.c
index 9f155630173..6bd3451e4c6 100644
--- a/src/bin/pg_config/pg_config.c
+++ b/src/bin/pg_config/pg_config.c
@@ -8,7 +8,7 @@
*
* This is a C implementation of the previous shell script written by
* Peter Eisentraut <peter_e@gmx.net>, with adjustments made to
- * accomodate the possibility that the installation has been relocated from
+ * accommodate the possibility that the installation has been relocated from
* the place originally configured.
*
* author of C translation: Andrew Dunstan mailto:andrew@dunslane.net
diff --git a/src/bin/pg_dump/pg_backup_custom.c b/src/bin/pg_dump/pg_backup_custom.c
index 18d158ff6d4..2156d0f619c 100644
--- a/src/bin/pg_dump/pg_backup_custom.c
+++ b/src/bin/pg_dump/pg_backup_custom.c
@@ -228,7 +228,7 @@ _WriteExtraToc(ArchiveHandle *AH, TocEntry *te)
*
* Optional.
*
- * Needs to match the order defined in _WriteExtraToc, and sould also
+ * Needs to match the order defined in _WriteExtraToc, and should also
* use the Archiver input routines.
*/
static void
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index 58fa92935b2..d2229af8462 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -12145,7 +12145,7 @@ dumpTableSchema(Archive *fout, TableInfo *tbinfo)
PGresult *res;
int numParents;
TableInfo **parents;
- int actual_atts; /* number of attrs in this CREATE statment */
+ int actual_atts; /* number of attrs in this CREATE statement */
const char *reltypename;
char *storage;
char *srvname;
diff --git a/src/bin/pgevent/pgmsgevent.h b/src/bin/pgevent/pgmsgevent.h
index 8083131e129..aba71e407f2 100644
--- a/src/bin/pgevent/pgmsgevent.h
+++ b/src/bin/pgevent/pgmsgevent.h
@@ -1,7 +1,7 @@
/* src/bin/pgevent/pgmsgevent.h */
/* */
-/* Values are 32 bit values layed out as follows: */
+/* Values are 32 bit values laid out as follows: */
/* */
/* 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 */
/* 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 */
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index aa000735dc5..dd59aa116c2 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -2471,10 +2471,10 @@ do_shell(const char *command)
sys = pg_malloc(strlen(shellName) + 16);
#ifndef WIN32
sprintf(sys,
- /* See EDITOR handling comment for an explaination */
+ /* See EDITOR handling comment for an explanation */
"exec %s", shellName);
#else
- /* See EDITOR handling comment for an explaination */
+ /* See EDITOR handling comment for an explanation */
sprintf(sys, SYSTEMQUOTE "\"%s\"" SYSTEMQUOTE, shellName);
#endif
result = system(sys);