postgresql/src/backend/libpq
Tom Lane 1af37ec96d Replace errdetail("%s", ...) with errdetail_internal("%s", ...).
There may be some other places where we should use errdetail_internal,
but they'll have to be evaluated case-by-case.  This commit just hits
a bunch of places where invoking gettext is obviously a waste of cycles.
2011-07-16 14:22:18 -04:00
..
auth.c Replace errdetail("%s", ...) with errdetail_internal("%s", ...). 2011-07-16 14:22:18 -04:00
be-fsstubs.c Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
be-secure.c Message style improvements of errmsg_internal() calls 2011-07-05 23:01:35 +03:00
crypt.c Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
hba.c Modernise pg_hba.conf token processing 2011-06-28 15:57:24 -04:00
ip.c On HP/UX, the structs used by ioctl(SIOCGLIFCONF) are named differently 2011-04-13 22:25:27 +03:00
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
md5.c Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
pg_hba.conf.sample Don't include local line on platforms without support 2011-05-30 20:21:06 +02:00
pg_ident.conf.sample Reformat the comments in pg_hba.conf and pg_ident.conf 2010-01-26 06:58:39 +00:00
pqcomm.c pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
pqformat.c Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
pqsignal.c Use "backend process" rather than "backend server", where appropriate. 2011-03-12 09:38:56 -05:00
README.SSL Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00

src/backend/libpq/README.SSL

SSL
===

>From the servers perspective:


  Receives StartupPacket
           |
           |
 (Is SSL_NEGOTIATE_CODE?) -----------  Normal startup
           |                  No
           |
           | Yes
           |
           |
 (Server compiled with USE_SSL?) ------- Send 'N'
           |                       No        |
           |                                 |
           | Yes                         Normal startup
           |
           |
        Send 'S'
           |
           |
      Establish SSL
           |
           |
      Normal startup





>From the clients perspective (v6.6 client _with_ SSL):


      Connect
         |
         |
  Send packet with SSL_NEGOTIATE_CODE
         |
         |
  Receive single char  ------- 'S' -------- Establish SSL
         |                                       |
         | '<else>'                              |
         |                                  Normal startup
         |
         |
   Is it 'E' for error  ------------------- Retry connection
         |                  Yes             without SSL
         | No
         |
   Is it 'N' for normal ------------------- Normal startup
         |                  Yes
         |
   Fail with unknown

---------------------------------------------------------------------------