1. 12 Jun, 2003 8 commits
    • Bruce Momjian's avatar
      Back out this patch because it is patched inside a later patch. · e5549a27
      Bruce Momjian authored
      ---------------------------------------------------------------------------
      
      here is a patch that allows CIDR netmasks in pg_hba.conf. It allows two
      address/mask forms:
      
      . address/maskbits, or
      . address netmask (as now)
      
      If the patch is accepted I will submit a documentation patch to cover
      it.
      
      This is submitted by agreement with Kurt Roeckx, who has worked on a
      patch that covers this and other IPv6 issues.
      e5549a27
    • Bruce Momjian's avatar
      I succeeded by fixing up setup.py: · 1cef8ea7
      Bruce Momjian authored
      vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
      --- setup.py~   Tue Mar 19 08:21:14 2002
      +++ setup.py    Wed May 14 15:10:30 2003
      @@ -30,8 +30,8 @@
              optional_libs=[ 'libpqdll', 'wsock32', 'advapi32' ]
              data_files = [ 'libpq.dll' ]
       else:
      -       include_dirs=['/usr/include/pgsql']
      -       library_dirs=['usr/lib/pgsql']
      +       include_dirs=['../../include','../libpq','/usr/include/pgsql']
      +       library_dirs=['../libpq','/usr/lib/pgsql']
              optional_libs=['pq']
              data_files = []
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      
      George Young
      1cef8ea7
    • Bruce Momjian's avatar
      Here is a patch that allows CIDR netmasks in pg_hba.conf. It allows two · b78961b0
      Bruce Momjian authored
      address/mask forms:
      
      . address/maskbits, or
      . address netmask (as now)
      
      If the patch is accepted I will submit a documentation patch to cover
      it.
      
      This is submitted by agreement with Kurt Roeckx, who has worked on a
      patch that covers this and other IPv6 issues.
      
      Andrew Dunstan
      b78961b0
    • Bruce Momjian's avatar
      Add Linux restart --- Slawomir Sudnik · 310c0849
      Bruce Momjian authored
      Add "-l $PGLOG" for restart --- Darko Prenosil
      310c0849
    • Bruce Momjian's avatar
      Up to now, SerializableSnapshot and QuerySnapshot are malloc'ed and · acd1536d
      Bruce Momjian authored
      free'd for every transaction or statement, respectively.  This patch
      puts these data structures into static memory, thus saving a few CPU
      cycles and two malloc calls per transaction or (in isolation level
      READ COMMITTED) per query.
      
      Manfred Koizar
      acd1536d
    • Bruce Momjian's avatar
      psql: tab completion for \encoding · 752a4dac
      Bruce Momjian authored
      Ian Barwick
      752a4dac
    • Bruce Momjian's avatar
      This patch updates pg_autovacuum in several ways: · 9243664d
      Bruce Momjian authored
      * A few bug fixes
      * fixes solaris compile and crash issue
      * decouple vacuum analyze and analyze thresholds
      * detach from tty (dameonize)
      * improved logging layout
      * more conservative default configuration
      * improved, expanded and updated README
      
      please apply and 1st convenience, or before code freeze which ever comes
      first :-)
      
      At this point I think I have brought pg_autovacuum and its client side
      design as far as I think it should go.  It works, keeping file sizes in
      check, helps performance and give the administrator a fair amount
      flexibility in configuring it.
      
      Next up is to do the FSM based design that is integrated into the back
      end.
      
      p.s. Thanks to Christopher Browne for his help.
      
      Matthew T. O'Connor
      9243664d
    • Bruce Momjian's avatar
      I found the libpq function PGunescapeBytea a little slow. It was taking a · 4e1f9860
      Bruce Momjian authored
      minute and a half to decode a 500Kb on a fairly fast machine. I think the
      culprit is sscanf.
      
      I attach a patch that replaces the function with one used to perform the same
      task in pyPgSQL (a Python interface to PostgreSQL). This code was written by
      Billy Allie, author of pyPgSQL. I've changed a few variable names to match
      those in the original code and removed a bit of Pythonness.
      
      Billy has kindly looked at the code and points out that it is slightly
      stricter than the original implementation and if it encounters an invalid
      bytea such as '\12C' it drops the unescape '\' and outputs '12C'.
      
      The code is licensed by the author under a BSD license.
      
      I've performed limited testing of the function by putting JPEGs into
      PostgreSQL, extracting them using them using the new function and diffing
      against the original files.
      
      The new function is significantly faster on my machine with the JPEGs being
      decoded in less than a second. I attach a modified libpq example program that
      I used for my testing.
      
      Ben Lamb.
      4e1f9860
  2. 11 Jun, 2003 22 commits
  3. 10 Jun, 2003 2 commits
  4. 09 Jun, 2003 2 commits
  5. 08 Jun, 2003 1 commit
  6. 07 Jun, 2003 2 commits
  7. 06 Jun, 2003 3 commits