1. 23 1月, 2011 2 次提交
    • M
      Add pg_basebackup tool for streaming base backups · 048d148f
      Magnus Hagander 提交于
      This tool makes it possible to do the pg_start_backup/
      copy files/pg_stop_backup step in a single command.
      
      There are still some steps to be done before this is a
      complete backup solution, such as the ability to stream
      the required WAL logs, but it's still usable, and
      could do with some buildfarm coverage.
      
      In passing, make the checkpoint request optionally
      fast instead of hardcoding it.
      
      Magnus Hagander, reviewed by Fujii Masao and Dimitri Fontaine
      048d148f
    • M
      Link libpgport into pg_test_fsync on msvc · f5a0fd2f
      Magnus Hagander 提交于
      f5a0fd2f
  2. 14 1月, 2011 1 次提交
    • M
      Use a lexer and grammar for parsing walsender commands · fcd810c6
      Magnus Hagander 提交于
      Makes it easier to parse mainly the BASE_BACKUP command
      with it's options, and avoids having to manually deal
      with quoted identifiers in the label (previously broken),
      and makes it easier to add new commands and options in
      the future.
      
      In passing, refactor the case statement in the walsender
      to put each command in it's own function.
      fcd810c6
  3. 03 1月, 2011 1 次提交
  4. 11 12月, 2010 1 次提交
  5. 27 11月, 2010 1 次提交
  6. 24 11月, 2010 1 次提交
  7. 13 11月, 2010 1 次提交
  8. 21 9月, 2010 1 次提交
  9. 11 9月, 2010 1 次提交
    • H
      Introduce latches. A latch is a boolean variable, with the capability to · 2746e5f2
      Heikki Linnakangas 提交于
      wait until it is set. Latches can be used to reliably wait until a signal
      arrives, which is hard otherwise because signals don't interrupt select()
      on some platforms, and even when they do, there's race conditions.
      
      On Unix, latches use the so called self-pipe trick under the covers to
      implement the sleep until the latch is set, without race conditions. On
      Windows, Windows events are used.
      
      Use the new latch abstraction to sleep in walsender, so that as soon as
      a transaction finishes, walsender is woken up to immediately send the WAL
      to the standby. This reduces the latency between master and standby, which
      is good.
      
      Preliminary work by Fujii Masao. The latch implementation is by me, with
      helpful comments from many people.
      2746e5f2
  10. 03 7月, 2010 1 次提交
  11. 15 6月, 2010 1 次提交
  12. 14 5月, 2010 1 次提交
  13. 13 5月, 2010 2 次提交
  14. 09 4月, 2010 1 次提交
  15. 16 2月, 2010 1 次提交
  16. 14 2月, 2010 1 次提交
  17. 20 1月, 2010 3 次提交
  18. 17 1月, 2010 1 次提交
  19. 16 1月, 2010 1 次提交
  20. 11 1月, 2010 1 次提交
  21. 09 1月, 2010 1 次提交
  22. 12 11月, 2009 1 次提交
    • T
      Remove plpgsql's separate lexer (finally!), in favor of using the core lexer · 2dee828c
      Tom Lane 提交于
      directly.  This was a lot of trouble, but should be worth it in terms of
      not having to keep the plpgsql lexer in step with core anymore.  In addition
      the handling of keywords is significantly better-structured, allowing us to
      de-reserve a number of words that plpgsql formerly treated as reserved.
      2dee828c
  23. 01 10月, 2009 1 次提交
  24. 08 8月, 2009 1 次提交
    • P
      Expand test coverage support to entire tree · 7798147a
      Peter Eisentraut 提交于
      Test coverage support now covers the entire source tree, including
      contrib, instead of just src/backend.  In a related but independent
      development, the commands make coverage and make coverage-html can be run
      in any directory.
      
      This turned out to be much easier than feared.  Besides a few ad hoc fixes
      to pass the make target down the tree, change all affected makefiles to
      list their directories in the SUBDIRS variable, changed from variants like
      DIRS and WANTED_DIRS.  MSVC build fix was attempted as well.
      7798147a
  25. 17 7月, 2009 1 次提交
    • T
      Add erand48() to the set of functions supported by our src/port/ library, · c43feefa
      Tom Lane 提交于
      and extend configure to test for it properly instead of hard-wiring
      an assumption that everybody but Windows has the rand48 functions.
      (We do cheat to the extent of assuming that probing for erand48 will do
      for the entire rand48 family.)
      
      erand48() is unused as of this commit, but a followon patch will cause
      GEQO to depend on it.
      
      Andres Freund, additional hacking by Tom
      c43feefa
  26. 06 6月, 2009 1 次提交
  27. 08 4月, 2009 1 次提交
  28. 09 3月, 2009 1 次提交
  29. 26 2月, 2009 1 次提交
  30. 21 1月, 2009 1 次提交
    • M
      Make win32 builds always do SetEnvironmentVariable() when doing putenv(). · 01543450
      Magnus Hagander 提交于
      Also, if linked against other versions than the default MSVCRT library
      (for example the MSVC build which links against MSVCRT80), also update
      the cache in the default MSVCRT at the same time.
      
      This should fix the issues with setting LC_MESSAGES on the MSVC build.
      
      Original patch from Hiroshi Inoue and Hiroshi Saito, much rewritten
      by me.
      01543450
  31. 21 12月, 2008 1 次提交
  32. 02 12月, 2008 1 次提交
  33. 24 11月, 2008 1 次提交
  34. 15 11月, 2008 1 次提交
  35. 22 5月, 2008 2 次提交