diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-03-22 17:33:10 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-03-22 17:33:10 -0400 |
commit | feb8254518752b2cb4a8964c374dd82d49ef0e0d (patch) | |
tree | a8df8e512a106777ec27b23210403091542d33af /contrib/postgres_fdw/option.c | |
parent | 88ba0ae2aa4aaba8ea0d85c0ff81cc46912d9308 (diff) | |
download | postgresql-feb8254518752b2cb4a8964c374dd82d49ef0e0d.tar.gz postgresql-feb8254518752b2cb4a8964c374dd82d49ef0e0d.zip |
Improve style guideline compliance of assorted error-report messages.
Per the project style guide, details and hints should have leading
capitalization and end with a period. On the other hand, errcontext should
not be capitalized and should not end with a period. To support well
formatted error contexts in dblink, extend dblink_res_error() to take a
format+arguments rather than a hardcoded string.
Daniel Gustafsson
Discussion: https://postgr.es/m/B3C002C8-21A0-4F53-A06E-8CAB29FCF295@yesql.se
Diffstat (limited to 'contrib/postgres_fdw/option.c')
-rw-r--r-- | contrib/postgres_fdw/option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/postgres_fdw/option.c b/contrib/postgres_fdw/option.c index 082f79ae046..6854f1bd91e 100644 --- a/contrib/postgres_fdw/option.c +++ b/contrib/postgres_fdw/option.c @@ -196,7 +196,7 @@ InitPgFdwOptions(void) ereport(ERROR, (errcode(ERRCODE_FDW_OUT_OF_MEMORY), errmsg("out of memory"), - errdetail("could not get libpq's default connection options"))); + errdetail("Could not get libpq's default connection options."))); /* Count how many libpq options are available. */ num_libpq_opts = 0; |