1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00

Fix misc typos, mostly in comments.

A collection of typos I happened to spot while reading code, as well as
grepping for common mistakes.

Backpatch to all supported versions, as applicable, to avoid conflicts
when backporting other commits in the future.
This commit is contained in:
Heikki Linnakangas
2018-07-09 16:10:44 +03:00
parent 94019c879a
commit 6b387179ba
25 changed files with 34 additions and 34 deletions

View File

@ -1308,8 +1308,8 @@ ecpg_build_params(struct statement *stmt)
if ((position = next_insert(stmt->command, position, stmt->questionmarks, std_strings) + 1) == 0)
{
/*
* We have an argument but we dont have the matched up placeholder
* in the string
* We have an argument but we don't have the matched up
* placeholder in the string
*/
ecpg_raise(stmt->lineno, ECPG_TOO_MANY_ARGUMENTS,
ECPG_SQLSTATE_USING_CLAUSE_DOES_NOT_MATCH_PARAMETERS,

View File

@ -144,7 +144,7 @@ sub main
# flds are the fields to use. These may start with a '$' - in
# which case they are the result of a previous non-terminal
#
# if they dont start with a '$' then they are token name
# if they don't start with a '$' then they are token name
#
# len is the number of fields in flds...
# leadin is the padding to apply at the beginning (just use for formatting)
@ -223,7 +223,7 @@ sub main
next line;
}
# Dont worry about anything if we're not in the right section of gram.y
# Don't worry about anything if we're not in the right section of gram.y
if ($yaccmode != 1)
{
next line;