Skip to content
Snippets Groups Projects
  1. Dec 19, 2009
  2. Dec 17, 2009
  3. Dec 16, 2009
  4. Dec 09, 2009
    • Magnus Hagander's avatar
      Reject certificates with embedded NULLs in the commonName field. This stops · abf23ee8
      Magnus Hagander authored
      attacks where an attacker would put <attack>\0<propername> in the field and
      trick the validation code that the certificate was for <attack>.
      
      This is a very low risk attack since it reuqires the attacker to trick the
      CA into issuing a certificate with an incorrect field, and the common
      PostgreSQL deployments are with private CAs, and not external ones. Also,
      default mode in 8.4 does not do any name validation, and is thus also not
      vulnerable - but the higher security modes are.
      
      Backpatch all the way. Even though versions 8.3.x and before didn't have
      certificate name validation support, they still exposed this field for
      the user to perform the validation in the application code, and there
      is no way to detect this problem through that API.
      
      Security: CVE-2009-4034
      abf23ee8
  5. Dec 02, 2009
    • Tom Lane's avatar
      Instead of sending application_name as a SET command after the connection · 3dfcf8cc
      Tom Lane authored
      is made, include it in the startup-packet options.  This makes it work more
      like every other libpq connection option, in particular it now has the same
      response to RESET ALL as the rest.  This also saves one network round trip
      for new applications using application_name.  The cost is that if the server
      is pre-8.5, it'll reject the startup packet altogether, forcing us to retry
      the entire connection cycle.  But on balance we shouldn't be optimizing that
      case in preference to the behavior with a new server, especially when doing
      so creates visible behavioral oddities.  Per discussion.
      3dfcf8cc
  6. Nov 29, 2009
  7. Nov 27, 2009
  8. Nov 26, 2009
  9. Nov 24, 2009
  10. Nov 23, 2009
  11. Nov 21, 2009
    • Tom Lane's avatar
      Refactor ecpg grammar so that it uses the core grammar's unreserved_keyword · e6c63bf6
      Tom Lane authored
      list, minus a few specific words that have to be treated specially.  This
      replaces a hard-wired list of keywords that would have needed manual
      maintenance, and was not getting it.  The 8.4 coding was already missing
      these words, causing ecpg to incorrectly treat them as reserved words:
      CALLED, CATALOG, DEFINER, ENUM, FOLLOWING, INVOKER, OPTIONS, PARTITION,
      PRECEDING, RANGE, SECURITY, SERVER, UNBOUNDED, WRAPPER.  In HEAD we were
      additionally missing COMMENTS, FUNCTIONS, SEQUENCES, TABLES.
      Per gripe from Bosco Rama.
      e6c63bf6
  12. Nov 11, 2009
  13. Nov 06, 2009
  14. Oct 26, 2009
  15. Oct 20, 2009
  16. Oct 15, 2009
  17. Oct 01, 2009
  18. Sep 28, 2009
  19. Sep 27, 2009
  20. Sep 23, 2009
    • Tom Lane's avatar
      Implement the DO statement to support execution of PL code without having · 9048b731
      Tom Lane authored
      to create a function for it.
      
      Procedural languages now have an additional entry point, namely a function
      to execute an inline code block.  This seemed a better design than trying
      to hide the transient-ness of the code from the PL.  As of this patch, only
      plpgsql has an inline handler, but probably people will soon write handlers
      for the other standard PLs.
      
      In passing, remove the long-dead LANCOMPILER option of CREATE LANGUAGE.
      
      Petr Jelinek
      9048b731
  21. Sep 18, 2009
  22. Sep 15, 2009
  23. Sep 08, 2009
    • Tom Lane's avatar
      Remove outside-the-scanner references to "yyleng". · 4d3456e8
      Tom Lane authored
      It seems the flex developers have decided to change yyleng from int to size_t.
      This has already happened in the latest release of OS X, and will start
      happening elsewhere once the next release of flex appears.  Rather than trying
      to divine how it's declared in any particular build, let's just remove the one
      existing not-very-necessary external usage.
      
      Back-patch to all supported branches; not so much because users in the field
      are likely to care about building old branches with cutting-edge flex, as
      to keep OSX-based buildfarm members from having problems with old branches.
      4d3456e8
  24. Sep 03, 2009
  25. Sep 02, 2009
  26. Aug 28, 2009
  27. Aug 27, 2009
Loading