diff options
| author | Heikki Linnakangas | 2017-02-06 09:33:58 +0000 |
|---|---|---|
| committer | Heikki Linnakangas | 2017-02-06 09:34:28 +0000 |
| commit | e8f9fe4ae7ab2784ca42b264f4656249311ddfe4 (patch) | |
| tree | 4a9ed5ef4298105f712611f9c9c401b843185c45 /src/bin | |
| parent | b87e1680b98465b002198ae49a4f4f2bce4d129e (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 263bcd3c532..42247a86fa2 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 31fcfbafb38..422a8c0e129 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 = pg_malloc(strlen(pset.gset_prefix) + strlen(colname) + 1); strcpy(varname, pset.gset_prefix); strcat(varname, colname); diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index aad1455e4d8..6f881029e5f 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -1818,7 +1818,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)); @@ -2692,7 +2692,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) |
