summaryrefslogtreecommitdiff
path: root/src/backend/parser
diff options
context:
space:
mode:
authorRobert Haas2012-04-24 02:43:09 +0000
committerRobert Haas2012-04-24 02:43:09 +0000
commit5d4b60f2f25bedee257aaf6f2f4ac77028629b87 (patch)
treef0f7fa40b63a23b10e9d03ea47f97020565a66f6 /src/backend/parser
parent7ab9b2f3b79177e501a1ef90ed004cc68788abaf (diff)
Lots of doc corrections.
Josh Kupershmidt
Diffstat (limited to 'src/backend/parser')
-rw-r--r--src/backend/parser/gram.y2
-rw-r--r--src/backend/parser/parse_collate.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y
index a289d4bd148..154854f140b 100644
--- a/src/backend/parser/gram.y
+++ b/src/backend/parser/gram.y
@@ -9631,7 +9631,7 @@ SimpleTypename:
* makes no sense for constructs like CHAR 'hi' and BIT '0101',
* where there is an obvious better choice to make.
* Note that ConstInterval is not included here since it must
- * be pushed up higher in the rules to accomodate the postfix
+ * be pushed up higher in the rules to accommodate the postfix
* options (e.g. INTERVAL '1' YEAR). Likewise, we have to handle
* the generic-type-name case in AExprConst to avoid premature
* reduce/reduce conflicts against function names.
diff --git a/src/backend/parser/parse_collate.c b/src/backend/parser/parse_collate.c
index 9a722a74007..ba49f9fd597 100644
--- a/src/backend/parser/parse_collate.c
+++ b/src/backend/parser/parse_collate.c
@@ -49,7 +49,7 @@
/*
* Collation strength (the SQL standard calls this "derivation"). Order is
* chosen to allow comparisons to work usefully. Note: the standard doesn't
- * seem to distingish between NONE and CONFLICT.
+ * seem to distinguish between NONE and CONFLICT.
*/
typedef enum
{