1. 24 Feb, 2008 1 commit
  2. 23 Feb, 2008 2 commits
    • Tom Lane's avatar
      Avoid trying to print a NULL char pointer in --describe-config. On some · 2e0e5631
      Tom Lane authored
      platforms this works, but on some it crashes.  Zdenek Kotala
      2e0e5631
    • Tom Lane's avatar
      Change the declaration of struct varlena so that the length word is · 9713c063
      Tom Lane authored
      represented as "char ...[4]" not "int32".  Since the length word is never
      supposed to be accessed via this struct member anyway, this won't break
      any existing code that is following the rules.  The advantage is that C
      compilers will no longer assume that a pointer to struct varlena is
      word-aligned, which prevents incorrect optimizations in TOAST-pointer
      access and perhaps other places.  gcc doesn't seem to do this (at least
      not at -O2), but the problem is demonstrable on some other compilers.
      
      I changed struct inet as well, but didn't bother to touch a lot of other
      struct definitions in which it wouldn't make any difference because there
      were other fields forcing int alignment anyway.  Hopefully none of those
      struct definitions are used for accessing unaligned Datums.
      9713c063
  3. 20 Feb, 2008 6 commits
  4. 19 Feb, 2008 10 commits
  5. 18 Feb, 2008 4 commits
  6. 17 Feb, 2008 4 commits
    • Michael Meskes's avatar
      - Removed duplicate include of ecpgtype.h which meant I had to adapt all expected results. · a9bc069c
      Michael Meskes authored
      - Changed INFORMIX mode symbol definition yet again because the old way didn't work on NetBSD. Hopefully this one does.
      a9bc069c
    • Peter Eisentraut's avatar
      Upgrade to Autoconf 2.61: · b1203823
      Peter Eisentraut authored
      - Change configure.in to use Autoconf 2.61 and update generated files.
      - Update build system and documentation to support now directory variables
        offered by Autoconf 2.61.
      - Replace usages of PGAC_CHECK_ALIGNOF by AC_CHECK_ALIGNOF, now available
        in Autoconf 2.61.
      - Drop our patched version of AC_C_INLINE, as Autoconf now has the change.
      b1203823
    • Tom Lane's avatar
      8b63aa1f
    • Tom Lane's avatar
      Replace time_t with pg_time_t (same values, but always int64) in on-disk · cd004067
      Tom Lane authored
      data structures and backend internal APIs.  This solves problems we've seen
      recently with inconsistent layout of pg_control between machines that have
      32-bit time_t and those that have already migrated to 64-bit time_t.  Also,
      we can get out from under the problem that Windows' Unix-API emulation is not
      consistent about the width of time_t.
      
      There are a few remaining places where local time_t variables are used to hold
      the current or recent result of time(NULL).  I didn't bother changing these
      since they do not affect any cross-module APIs and surely all platforms will
      have 64-bit time_t before overflow becomes an actual risk.  time_t should
      be avoided for anything visible to extension modules, however.
      cd004067
  7. 16 Feb, 2008 6 commits
  8. 15 Feb, 2008 3 commits
  9. 14 Feb, 2008 4 commits