diff options
| author | Heikki Linnakangas | 2017-02-06 09:33:58 +0000 |
|---|---|---|
| committer | Heikki Linnakangas | 2017-02-06 09:34:24 +0000 |
| commit | 1dd06ede17e024ab5803fda1f58947d793009fe1 (patch) | |
| tree | 8a662ce3fbd4a3e74c76ed87df17f0597945e1b3 /src/bin | |
| parent | 12b4bdcb43b749ecbcde8e129d2a42f797377a6a (diff) | |
Fix typos in comments.
Backpatch to all supported versions, where applicable, to make backpatching
of future fixes go more smoothly.
Josh Soref
Discussion: https://www.postgresql.org/message-id/CACZqfqCf+5qRztLPgmmosr-B0Ye4srWzzw_mo4c_8_B_mtjmJQ@mail.gmail.com
Diffstat (limited to 'src/bin')
| -rw-r--r-- | src/bin/pg_dump/pg_backup_custom.c | 2 | ||||
| -rw-r--r-- | src/bin/psql/common.c | 2 | ||||
| -rw-r--r-- | src/bin/psql/describe.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/pg_dump/pg_backup_custom.c b/src/bin/pg_dump/pg_backup_custom.c index 06cd0a7864a..05519ba541e 100644 --- a/src/bin/pg_dump/pg_backup_custom.c +++ b/src/bin/pg_dump/pg_backup_custom.c @@ -202,7 +202,7 @@ InitArchiveFmt_Custom(ArchiveHandle *AH) * * Optional. * - * Set up extrac format-related TOC data. + * Set up extract format-related TOC data. */ static void _ArchiveEntry(ArchiveHandle *AH, TocEntry *te) diff --git a/src/bin/psql/common.c b/src/bin/psql/common.c index 5e175f70d53..d47b7580cee 100644 --- a/src/bin/psql/common.c +++ b/src/bin/psql/common.c @@ -598,7 +598,7 @@ StoreQueryTuple(const PGresult *result) char *varname; char *value; - /* concate prefix and column name */ + /* concatenate prefix and column name */ varname = psprintf("%s%s", pset.gset_prefix, colname); if (!PQgetisnull(result, 0, i)) diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index 0ecebc7eef2..71ad0dc9a20 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -1879,7 +1879,7 @@ describeOneTableDetails(const char *schemaname, printTableAddFooter(&cont, _("Check constraints:")); for (i = 0; i < tuples; i++) { - /* untranslated contraint name and def */ + /* untranslated constraint name and def */ printfPQExpBuffer(&buf, " \"%s\" %s", PQgetvalue(result, i, 0), PQgetvalue(result, i, 1)); @@ -2785,7 +2785,7 @@ listTables(const char *tabtypes, const char *pattern, bool verbose, bool showSys if (verbose) { /* - * As of PostgreSQL 9.0, use pg_table_size() to show a more acurate + * As of PostgreSQL 9.0, use pg_table_size() to show a more accurate * size of a table, including FSM, VM and TOAST tables. */ if (pset.sversion >= 90000) |
