1. 27 Apr, 2006 5 commits
    • Bruce Momjian's avatar
      Change libpq's PQgetssl() to return a void*, rather than SSL *, so that · 3c4768d0
      Bruce Momjian authored
      applications don't need the SSL headers.
      
      Martijn van Oosterhout
      3c4768d0
    • Tom Lane's avatar
      If we're going to expose VariableStatData for contrib modules to use, · a3c1a11f
      Tom Lane authored
      then we should export a reasonable set of the supporting routines too.
      a3c1a11f
    • Bruce Momjian's avatar
      Remove unused function SSL_CTX_set_tmp_dh_callback() from libpq: · f1b3d5b0
      Bruce Momjian authored
      In the SSL code in libpq it does some processing with DH parameters:
      
      SSL_CTX_set_tmp_dh_callback()
      
      This function is marked as server use only[1], the client always uses
      the DH parameters in the server, so all the code in the client dealing
      with the DH parameters is useless. This patch removes it.
      
      It's not clear why the code was added in the first place, it's been
      there almost since the beginning[2]. At the time there was a suggestion
      of merging the front-end and backend SSL code, but looking at the
      changes since, that seems unlikely.
      
      As a further example, the s_server program allows you to specify DH
      params, but s_client doesn't. In the GnuTLS documentation under
      gnutls_dh_params_generate2() it says[3]:
      
        Also note that the DH parameters are only useful to servers. Since
        clients use the parameters sent by the server, it's of no use to call
        this in client side.
      f1b3d5b0
    • Bruce Momjian's avatar
      Use schema search path to find the first matching contraint name for SET · 02eb8f4f
      Bruce Momjian authored
      CONSTRAINT, rather than affecting all constraints in all schemas (which
      is what we used to do).  Also allow schema specifications.
      
      Kris Jurka
      02eb8f4f
    • Bruce Momjian's avatar
      Delay write of pg_stats file to once every five minutes, during · 944a17bf
      Bruce Momjian authored
      shutdown, or when requested by a backend:
      
      It changes so the file is only written once every 5 minutes (changeable
      of course, I just picked something) instead of once every half second.
      It's still written when the stats collector shuts down, just as before.
      And it is now also written on backend request. A backend requests a
      rewrite by simply sending a special stats message. It operates on the
      assumption that the backends aren't actually going to read the
      statistics file very often, compared to how frequent it's written today.
      
      Magnus Hagander
      944a17bf
  2. 26 Apr, 2006 12 commits
  3. 25 Apr, 2006 19 commits
  4. 24 Apr, 2006 4 commits