1. 11 Dec, 2008 1 commit
  2. 28 Nov, 2008 1 commit
    • Peter Eisentraut's avatar
      Reduce risk of accidentally running temp-install regression tests against · 2939e200
      Peter Eisentraut authored
      a mismatching installation.  Pick a default port number calculated from the
      version number, and try a few times with other numbers if that one doesn't
      work.  Check if we can connect to the port before starting our own postmaster,
      to detect some other server already running there.  To simplify the code,
      drop --temp-port option and use --port for both temp-install and pre-installed
      case.
      2939e200
  3. 26 Nov, 2008 1 commit
  4. 25 Nov, 2008 2 commits
  5. 20 Nov, 2008 1 commit
  6. 09 Nov, 2008 1 commit
    • Tom Lane's avatar
      Add a new GUC variable called "IntervalStyle" that decouples interval output · df7641e2
      Tom Lane authored
      from DateStyle, and create a new interval style that produces output matching
      the SQL standard (at least for interval values that fall within the standard's
      restrictions).  IntervalStyle is also used to resolve the conflict between the
      standard and traditional Postgres rules for interpreting negative interval
      input.
      
      Ron Mayer
      df7641e2
  7. 01 Oct, 2008 1 commit
  8. 05 Aug, 2008 1 commit
  9. 03 Aug, 2008 1 commit
  10. 17 May, 2008 1 commit
  11. 31 Mar, 2008 1 commit
    • Tom Lane's avatar
      Fix a number of places that were making file-type tests infelicitously. · c5f11f9d
      Tom Lane authored
      The places that did, eg,
      	(statbuf.st_mode & S_IFMT) == S_IFDIR
      were correct, but there is no good reason not to use S_ISDIR() instead,
      especially when that's what the other 90% of our code does.  The places
      that did, eg,
      	(statbuf.st_mode & S_IFDIR)
      were flat out *wrong* and would fail in various platform-specific ways,
      eg a symlink could be mistaken for a regular file on most Unixen.
      
      The actual impact of this is probably small, since the problem cases
      seem to always involve symlinks or sockets, which are unlikely to be
      found in the directories that PG code might be scanning.  But it's
      clearly trouble waiting to happen, so patch all the way back anyway.
      (There seem to be no occurrences of the mistake in 7.4.)
      c5f11f9d
  12. 04 Mar, 2008 1 commit
  13. 20 Feb, 2008 1 commit
  14. 19 Jan, 2008 1 commit
    • Tom Lane's avatar
      Make pg_regress clean out the testtablespace directory only on Windows. · f10589e5
      Tom Lane authored
      On other platforms it's better to let the Makefile handle it, but we want
      the regression tests to be invokable without make on Windows.  A batch
      file would be a better solution, but no time for that before 8.3.
      Per my discovery that this breaks testing under SELinux, and subsequent
      discussion.
      f10589e5
  15. 01 Jan, 2008 1 commit
  16. 27 Nov, 2007 1 commit
  17. 15 Nov, 2007 1 commit
  18. 09 Sep, 2007 1 commit
  19. 18 Jul, 2007 1 commit
  20. 12 Jun, 2007 3 commits
  21. 31 May, 2007 1 commit
  22. 08 Feb, 2007 2 commits
    • Tom Lane's avatar
      Add missing #define for mingw, per Magnus. · 4a30da1e
      Tom Lane authored
      4a30da1e
    • Bruce Momjian's avatar
      Win32 regression test fixes: · 6fea31b6
      Bruce Momjian authored
      For win32 in general, this makes it possible to run the regression tests
      as an admin user by using the same restricted token method that's used
      by pg_ctl and initdb.
      
      For vc++, it adds building of pg_regress.exe, adds a resultmap, and
      fixes how it runs the install.
      
      Magnus Hagander
      6fea31b6
  23. 07 Feb, 2007 1 commit
  24. 01 Feb, 2007 1 commit
    • Bruce Momjian's avatar
      Wording cleanup for error messages. Also change can't -> cannot. · 8b4ff8b6
      Bruce Momjian authored
      Standard English uses "may", "can", and "might" in different ways:
      
              may - permission, "You may borrow my rake."
      
              can - ability, "I can lift that log."
      
              might - possibility, "It might rain today."
      
      Unfortunately, in conversational English, their use is often mixed, as
      in, "You may use this variable to do X", when in fact, "can" is a better
      choice.  Similarly, "It may crash" is better stated, "It might crash".
      8b4ff8b6
  25. 19 Jan, 2007 2 commits
  26. 05 Jan, 2007 2 commits
  27. 04 Oct, 2006 1 commit
  28. 24 Sep, 2006 1 commit
  29. 19 Sep, 2006 1 commit
  30. 13 Aug, 2006 1 commit
  31. 01 Aug, 2006 2 commits
  32. 30 Jul, 2006 1 commit
    • Bruce Momjian's avatar
      Fix WIN32 wait() return value macros to be accurate, particularly · 1a271f0c
      Bruce Momjian authored
      because they are used for testing the return value from system().
      (WIN32 doesn't overlay the return code with other failure conditions
      like Unix does, so they are just simple macros.)
      
      Fix regression checks to properly handle diff failures on Win32 using
      the new macros.
      1a271f0c
  33. 27 Jul, 2006 1 commit