Skip to content
Snippets Groups Projects
  1. May 03, 2006
  2. May 02, 2006
  3. Apr 27, 2006
  4. Apr 26, 2006
  5. Apr 25, 2006
  6. Apr 23, 2006
  7. Apr 12, 2006
  8. Apr 10, 2006
  9. Apr 03, 2006
  10. Mar 19, 2006
  11. Mar 14, 2006
    • Tom Lane's avatar
      Improve parser so that we can show an error cursor position for errors · 20ab467d
      Tom Lane authored
      during parse analysis, not only errors detected in the flex/bison stages.
      This is per my earlier proposal.  This commit includes all the basic
      infrastructure, but locations are only tracked and reported for errors
      involving column references, function calls, and operators.  More could
      be done later but this seems like a good set to start with.  I've also
      moved the ReportSyntaxErrorPosition logic out of psql and into libpq,
      which should make it available to more people --- even within psql this
      is an improvement because warnings weren't handled by ReportSyntaxErrorPosition.
      20ab467d
  12. Mar 13, 2006
    • Neil Conway's avatar
      Fix a number of syntax errors in contrib modules' uninstall scripts. · 48fb6967
      Neil Conway authored
      Most of the changes add the mandatory USING clause to DROP OPERATOR
      CLASS statements.  DROP TYPE is now DROP TYPE CASCADE; without
      CASCADE a DROP TYPE fails due to the circular dependency on the
      type's I/O functions.  The DROP FUNCTION statements for the I/O
      functions have been removed, as DROP TYPE CASCADE removes them
      automatically. Patch from Michael Fuhr.
      48fb6967
  13. Mar 11, 2006
  14. Mar 10, 2006
  15. Mar 08, 2006
  16. Mar 07, 2006
  17. Mar 05, 2006
  18. Mar 02, 2006
    • Teodor Sigaev's avatar
      Significantly improve ranking: · 38c4fe87
      Teodor Sigaev authored
      1) rank_cd now use weight of lexemes
      2) rank_cd and rank can use any combination of normalization methods:
              no normalization
              normalization by log(length of document)
              -----/------- by length of document
              -----/------- by number of unique word in document
              -----/------- by log(number of unique word in document)
              -----/------- by number of covers (only rank_cd)
      
      Improve cover's search.
      
      TODO: changes in documentation
      38c4fe87
    • Neil Conway's avatar
      Woops: also update the alternative "expected" files for contrib/cube's · 305fcb7a
      Neil Conway authored
      regression tests to account for the new error message wording. It seems
      today is not my day...
      305fcb7a
  19. Mar 01, 2006
    • Neil Conway's avatar
      Update the expected regression test results to account for the changes to · 485541a3
      Neil Conway authored
      error messages I made yesterday -- thanks to Andrew Dunstan for reporting
      this, and my apologies for missing it the first time.
      485541a3
    • Neil Conway's avatar
      Attached is a patch that replaces a bunch of places where StringInfos · 0d9742f9
      Neil Conway authored
      are unnecessarily allocated on the heap rather than the stack. If the
      StringInfo doesn't outlive the stack frame in which it is created,
      there is no need to allocate it on the heap via makeStringInfo() --
      stack allocation is faster.  While it's not a big deal unless the
      code is in a critical path, I don't see a reason not to save a few
      cycles -- using stack allocation is not less readable.
      
      I also cleaned up a bit of code along the way: moved variable
      declarations into a more tightly-enclosing scope where possible,
      fixed some pointless copying of strings in dblink, etc.
      0d9742f9
    • Neil Conway's avatar
      This patch makes the error message strings throughout the backend · 8e5a10d4
      Neil Conway authored
      more compliant with the error message style guide. In particular,
      errdetail should begin with a capital letter and end with a period,
      whereas errmsg should not. I also fixed a few related issues in
      passing, such as fixing the repeated misspelling of "lexeme" in
      contrib/tsearch2 (per Tom's suggestion).
      8e5a10d4
  20. Feb 27, 2006
  21. Feb 25, 2006
  22. Feb 23, 2006
  23. Feb 20, 2006
  24. Feb 18, 2006
    • Neil Conway's avatar
      Patch from Marko Kreen: · ce9b75db
      Neil Conway authored
      pgcrypto crypt()/md5 and hmac() leak memory when compiled against
      OpenSSL as openssl.c digest ->reset will do two DigestInit calls
      against a context.  This happened to work with OpenSSL 0.9.6
      but not with 0.9.7+.
      
      Reason for the messy code was that I tried to avoid creating
      wrapper structure to transport algorithm info and tried to use
      OpenSSL context for it.  The fix is to create wrapper structure.
      
      It also uses newer digest API to avoid memory allocations
      on reset with newer OpenSSLs.
      
      Thanks to Daniel Blaisdell for reporting it.
      ce9b75db
  25. Feb 14, 2006
  26. Feb 12, 2006
  27. Feb 10, 2006
Loading