1. 07 Mar, 2000 5 commits
    • Bruce Momjian's avatar
      I've recently written to pgsql-ports about a problem with PG7.0 on NT · 8fa8f80c
      Bruce Momjian authored
      (Subj: [PORTS] initdb problem on NT with 7.0).  Since nobody helped me,
      I had to find out the reson.  The difference between NT and Linux (for
      instance) is that "open( path, O_RDWR );" opens a file in text mode.  So
      sometime less block can be read than required.
      
      I suggest a following patch.  BTW the situation appeared before, see
      hba.c, pqcomm.c and others.
      
      
      Alexei Zakharov
      8fa8f80c
    • Tom Lane's avatar
      9606f362
    • Bruce Momjian's avatar
      91124a2f
    • Bruce Momjian's avatar
      Sorting for the inet data type randomly returns the wrong result · 52d39d51
      Bruce Momjian authored
      when you have networks with the same prefix, but different netmasks.
      
      This is due to the fact that occassionally there is random
      (uninitialized?)
      data in the extra bits past the point where the netmask cares about
      them.
      
      ie (real data from a real live database):
      
        10.0/10 == 00001010.00100000.00100000.00011000
        10.0/11 == 00001010.00000000.00000000.00000000
                              ^ Bad data, normally never seen
      
      The v4bitncmp() function was only taking one bit length argument so
      it would determine that the networks were different, even though
      they really aren't (and the netmask test wouldn't be used).  This
      ONLY happens if the tuple with the longer bit length is used as the
      ip_bits() for the v4bitncmp call AND there happens to be junk data
      in place in the shorter tuple.  Odd and random, but I saw it happen
      a couple times so...
      
      
      Ryan Mooney
      52d39d51
    • Michael Meskes's avatar
      *** empty log message *** · 5a197810
      Michael Meskes authored
      5a197810
  2. 06 Mar, 2000 1 commit
  3. 05 Mar, 2000 2 commits
  4. 03 Mar, 2000 3 commits
  5. 02 Mar, 2000 5 commits
  6. 01 Mar, 2000 9 commits
  7. 29 Feb, 2000 1 commit
  8. 28 Feb, 2000 8 commits
  9. 27 Feb, 2000 6 commits