projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bfc0e5
)
Add guidelines for formatting errcontext strings
author
Peter Eisentraut
Mon, 28 Jun 2010 17:48:26 +0000
(17:48 +0000)
committer
Peter Eisentraut
Mon, 28 Jun 2010 17:48:26 +0000
(17:48 +0000)
doc/src/sgml/sources.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/sources.sgml
b/doc/src/sgml/sources.sgml
index 342f8e4ef73ee741a087fe03b89ecc71fc1f82c5..ec33170f691e4dd99d4bd8b793c10f3ed23ceb95 100644
(file)
--- a/
doc/src/sgml/sources.sgml
+++ b/
doc/src/sgml/sources.sgml
@@
-1,4
+1,4
@@
-
+
PostgreSQL Coding Conventions
@@
-444,6
+444,12
@@
Hint: the addendum
inappropriate in other languages).
+
+ Error context strings: Do not capitalize the first letter and do
+ not end the string with a period. Context strings should normally
+ not be complete sentences.
+
+
Rationale: Avoiding punctuation makes it easier for client applications to
embed the message into a variety of grammatical contexts. Often, primary