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:
@ -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,
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user