Unix Technical Forum

pgsql: Use error message wordings for permissions checks on .pgpass and

This is a discussion on pgsql: Use error message wordings for permissions checks on .pgpass and within the pgsql Committers forums, part of the PostgreSQL category; --> Log Message: ----------- Use error message wordings for permissions checks on .pgpass and SSL private key files that are ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Committers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008, 01:57 AM
Tom Lane
 
Posts: n/a
Default pgsql: Use error message wordings for permissions checks on .pgpass and

Log Message:
-----------
Use error message wordings for permissions checks on .pgpass and SSL private
key files that are similar to the one for the postmaster's data directory
permissions check. (I chose to standardize on that one since it's the most
heavily used and presumably best-wordsmithed by now.) Also eliminate explicit
tests on file ownership in these places, since the ensuing read attempt must
fail anyway if it's wrong, and there seems no value in issuing the same error
message for distinct problems. (But I left in the explicit ownership test in
postmaster.c, since it had its own error message anyway.) Also be more
specific in the documentation's descriptions of these checks. Per a gripe
from Kevin Hunter.

Modified Files:
--------------
pgsql/doc/src/sgml:
libpq.sgml (r1.256 -> r1.257)
(http://anoncvs.postgresql.org/cvsweb...1.256&r2=1.257)
runtime.sgml (r1.410 -> r1.411)
(http://anoncvs.postgresql.org/cvsweb...1.410&r2=1.411)
pgsql/src/backend/libpq:
be-secure.c (r1.83 -> r1.84)
(http://anoncvs.postgresql.org/cvsweb...1=1.83&r2=1.84)
pgsql/src/backend/postmaster:
postmaster.c (r1.553 -> r1.554)
(http://anoncvs.postgresql.org/cvsweb...1.553&r2=1.554)
pgsql/src/interfaces/libpq:
fe-connect.c (r1.356 -> r1.357)
(http://anoncvs.postgresql.org/cvsweb...1.356&r2=1.357)
fe-secure.c (r1.103 -> r1.104)
(http://anoncvs.postgresql.org/cvsweb...1.103&r2=1.104)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:57 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com