Skip to content
Snippets Groups Projects
  1. Feb 12, 2014
  2. Aug 02, 2013
  3. Jul 08, 2013
  4. Jul 01, 2013
  5. May 02, 2013
  6. Mar 17, 2013
    • Tom Lane's avatar
      Use pqsignal() in contrib programs rather than calling signal(2) directly. · 3c07fbf4
      Tom Lane authored
      The semantics of signal(2) are more variable than one could wish; in
      particular, on strict-POSIX platforms the signal handler will be reset
      to SIG_DFL when the signal is delivered.  This demonstrably breaks
      pg_test_fsync's use of SIGALRM.  The other changes I made are not
      absolutely necessary today, because the called handlers all exit the
      program anyway.  But it seems like a good general practice to use
      pqsignal() exclusively in Postgres code, now that we have it available
      everywhere.
      3c07fbf4
  7. Mar 15, 2013
    • Tom Lane's avatar
      Improve the documentation about commit_delay. · 70ec2f8f
      Tom Lane authored
      Clarify the docs explaining what commit_delay does, and add a
      recommendation about a useful value for it, namely half of the single-page
      fsync time reported by pg_test_fsync.  This is informed by testing of
      the new-in-9.3 implementation of commit_delay; in prior versions it
      was far harder to arrive at a useful setting.
      
      In passing, do some wordsmithing and markup-fixing in the same general
      area.
      
      Also, change pg_test_fsync's default time-per-test from 2 seconds to 5.
      The old value was about the minimum at which the results could be taken
      seriously at all, and so seems a tad optimistic as a default.
      
      Peter Geoghegan, reviewed by Noah Misch; some additional editing by me
      70ec2f8f
  8. Nov 30, 2012
  9. Oct 12, 2012
  10. Oct 09, 2012
  11. Jun 10, 2012
  12. Feb 15, 2012
  13. Feb 14, 2012
  14. Dec 09, 2011
  15. May 10, 2011
  16. Apr 19, 2011
  17. Apr 10, 2011
  18. Mar 11, 2011
  19. Feb 14, 2011
    • Tom Lane's avatar
      Convert contrib modules to use the extension facility. · 629b3af2
      Tom Lane authored
      This isn't fully tested as yet, in particular I'm not sure that the
      "foo--unpackaged--1.0.sql" scripts are OK.  But it's time to get some
      buildfarm cycles on it.
      
      sepgsql is not converted to an extension, mainly because it seems to
      require a very nonstandard installation process.
      
      Dimitri Fontaine and Tom Lane
      629b3af2
  20. Jan 26, 2011
  21. Jan 25, 2011
  22. Jan 22, 2011
    • Tom Lane's avatar
      More pg_test_fsync fixups. · 37eb2cd4
      Tom Lane authored
      Reduce #includes to minimum actually needed; in particular include
      postgres_fe.h not postgres.h, so as to stop build failures on some
      platforms.
      
      Use get_progname() instead of hardwired program name; improve error
      checking for command line syntax; bring error messages into line with
      style guidelines; include strerror result in die() cases.
      37eb2cd4
    • Tom Lane's avatar
      Suppress unused-variables warning when OPEN_SYNC_FLAG isn't defined. · 3ae28ce8
      Tom Lane authored
      Per buildfarm.
      3ae28ce8
    • Tom Lane's avatar
      More pg_test_fsync cleanup. · cb38ab6d
      Tom Lane authored
      Un-break Windows build (I hope) by making the HAVE_FSYNC_WRITETHROUGH
      code match the backend.  Fix incorrect program help message.  static-ize
      all functions.
      cb38ab6d
    • Tom Lane's avatar
      Clean up pg_test_fsync commit. · bc616703
      Tom Lane authored
      Actually rename the program, rather than just claiming we did.  Hook it
      into the build system.  Get rid of useless dependency on libpq.  Clean up
      #include list and messy whitespace.
      bc616703
  23. Jan 21, 2011
Loading