Add "May/Can/Might" section to error message style guidlines, and
authorBruce Momjian
Thu, 1 Feb 2007 21:28:34 +0000 (21:28 +0000)
committerBruce Momjian
Thu, 1 Feb 2007 21:28:34 +0000 (21:28 +0000)
"can't" -> "cannot" section.

doc/src/sgml/sources.sgml

index c9cbd68d42fb9e8bcae879a4a576c05e1f72e317..a3c989b6fb668f6ebdec731836cf8464c56391a0 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
  
   PostgreSQL Coding Conventions
@@ -605,6 +605,30 @@ BETTER: unrecognized node type: 42
    
   
 
+  
+    May/Can/Might
+   
+    May suggests permission (e.g. "You may borrow my rake.")
+    and has little use in documentation or error messages.
+    Can suggests ability (e.g. "I can lift that log."),
+    and might suggests possibility (e.g. "It might rain
+    today.").
+   
+
+   
+    Rationale: Using the proper word clarifies meaning and assists
+    translation.
+   
+  
+
+  
+    Contractions
+   
+    Avoid contractions, like can't;  use
+    cannot instead.
+   
+  
+