Skip to content
Snippets Groups Projects
  1. Sep 27, 2004
  2. Sep 26, 2004
  3. Sep 23, 2004
  4. Sep 16, 2004
    • Tom Lane's avatar
      Restructure subtransaction handling to reduce resource consumption, · 8f9f1986
      Tom Lane authored
      as per recent discussions.  Invent SubTransactionIds that are managed like
      CommandIds (ie, counter is reset at start of each top transaction), and
      use these instead of TransactionIds to keep track of subtransaction status
      in those modules that need it.  This means that a subtransaction does not
      need an XID unless it actually inserts/modifies rows in the database.
      Accordingly, don't assign it an XID nor take a lock on the XID until it
      tries to do that.  This saves a lot of overhead for subtransactions that
      are only used for error recovery (eg plpgsql exceptions).  Also, arrange
      to release a subtransaction's XID lock as soon as the subtransaction
      exits, in both the commit and abort cases.  This avoids holding many
      unique locks after a long series of subtransactions.  The price is some
      additional overhead in XactLockTableWait, but that seems acceptable.
      Finally, restructure the state machine in xact.c to have a more orthogonal
      set of states for subtransactions.
      8f9f1986
  5. Sep 10, 2004
  6. Sep 09, 2004
  7. Aug 29, 2004
  8. Jul 11, 2004
  9. May 21, 2004
  10. May 07, 2004
    • Tom Lane's avatar
      Solve the 'Turkish problem' with undesirable locale behavior for case · 0bd61548
      Tom Lane authored
      conversion of basic ASCII letters.  Remove all uses of strcasecmp and
      strncasecmp in favor of new functions pg_strcasecmp and pg_strncasecmp;
      remove most but not all direct uses of toupper and tolower in favor of
      pg_toupper and pg_tolower.  These functions use the same notions of
      case folding already developed for identifier case conversion.  I left
      the straight locale-based folding in place for situations where we are
      just manipulating user data and not trying to match it to built-in
      strings --- for example, the SQL upper() function is still locale
      dependent.  Perhaps this will prove not to be what's wanted, but at
      the moment we can initdb and pass regression tests in Turkish locale.
      0bd61548
  11. May 05, 2004
  12. Apr 30, 2004
  13. Mar 10, 2004
  14. Jan 11, 2004
  15. Dec 20, 2003
  16. Nov 29, 2003
    • PostgreSQL Daemon's avatar
      · 55b11325
      PostgreSQL Daemon authored
      make sure the $Id tags are converted to $PostgreSQL as well ...
      55b11325
  17. Oct 21, 2003
  18. Oct 14, 2003
  19. Oct 11, 2003
  20. Sep 21, 2003
    • Tom Lane's avatar
      Arrange to align shared disk buffers on at least 32-byte boundaries, · 5aa29e88
      Tom Lane authored
      not just MAXALIGN boundaries.  This makes a noticeable difference in
      the speed of transfers to and from kernel space, at least on recent
      Pentiums, and might help other CPUs too.  We should look at making
      this happen for local buffers and buffile.c too.  Patch from Manfred Spraul.
      5aa29e88
  21. Aug 04, 2003
  22. Jun 12, 2003
  23. May 16, 2003
  24. May 15, 2003
    • Bruce Momjian's avatar
      Allow Win32 to compile under MinGW. Major changes are: · 12c94238
      Bruce Momjian authored
              Win32 port is now called 'win32' rather than 'win'
              add -lwsock32 on Win32
              make gethostname() be only used when kerberos4 is enabled
              use /port/getopt.c
              new /port/opendir.c routines
              disable GUC unix_socket_group on Win32
              convert some keywords.c symbols to KEYWORD_P to prevent conflict
              create new FCNTL_NONBLOCK macro to turn off socket blocking
              create new /include/port.h file that has /port prototypes, move
                out of c.h
              new /include/port/win32_include dir to hold missing include files
              work around ERROR being defined in Win32 includes
      12c94238
  25. May 09, 2003
  26. Apr 25, 2003
  27. Apr 22, 2003
  28. Apr 18, 2003
  29. Apr 07, 2003
  30. Apr 04, 2003
Loading