diff options
| author | David Rowley <drowley@postgresql.org> | 2022-04-11 20:49:41 +1200 |
|---|---|---|
| committer | David Rowley <drowley@postgresql.org> | 2022-04-11 20:49:41 +1200 |
| commit | b0e5f02ddc836499bdcf093df52e4c342dda5891 (patch) | |
| tree | 2211dfcfabd04e9ecd5b32b1b5fd3e97c817bc91 /src/bin/psql/tab-complete.c | |
| parent | bba3c35b29d07a27bbf5dd0d7d5e7c7592e02f81 (diff) | |
| download | postgresql-b0e5f02ddc836499bdcf093df52e4c342dda5891.tar.gz | |
Fix various typos and spelling mistakes in code comments
Author: Justin Pryzby
Discussion: https://postgr.es/m/20220411020336.GB26620@telsasoft.com
Diffstat (limited to 'src/bin/psql/tab-complete.c')
| -rw-r--r-- | src/bin/psql/tab-complete.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index 8f163fb7ba..10e8dbc9b1 100644 --- a/src/bin/psql/tab-complete.c +++ b/src/bin/psql/tab-complete.c @@ -2257,7 +2257,7 @@ psql_completion(const char *text, int start, int end) COMPLETE_WITH("COLUMN", "CONSTRAINT", "CHECK", "UNIQUE", "PRIMARY KEY", "EXCLUDE", "FOREIGN KEY"); } - /* ATER TABLE xxx ADD [COLUMN] yyy */ + /* ALTER TABLE xxx ADD [COLUMN] yyy */ else if (Matches("ALTER", "TABLE", MatchAny, "ADD", "COLUMN", MatchAny) || (Matches("ALTER", "TABLE", MatchAny, "ADD", MatchAny) && !Matches("ALTER", "TABLE", MatchAny, "ADD", "COLUMN|CONSTRAINT|CHECK|UNIQUE|PRIMARY|EXCLUDE|FOREIGN"))) |
