1. 13 Jun, 2003 3 commits
  2. 12 Jun, 2003 21 commits
    • Tom Lane's avatar
      Fix broken markup. · 71620017
      Tom Lane authored
      71620017
    • Bruce Momjian's avatar
      41a10a13
    • Tom Lane's avatar
      Fix SQL function executor for case where last command of a function is · cc2fc4a7
      Tom Lane authored
      not a SELECT.  We didn't use to allow that, but we do now.
      cc2fc4a7
    • Tom Lane's avatar
      <sys/socket.h> requires <sys/types.h> to already have been included · ccd99a5e
      Tom Lane authored
      on some platforms.
      ccd99a5e
    • Bruce Momjian's avatar
      889dd3c0
    • Bruce Momjian's avatar
    • Michael Meskes's avatar
      Install all header files. · b4117d8b
      Michael Meskes authored
      b4117d8b
    • Bruce Momjian's avatar
      Attached is the complete diff against current CVS. · b14295cf
      Bruce Momjian authored
      Compiles on BCC 5.5 and VC++ 6.0 (with warnings).
      
      Karl Waclawek
      b14295cf
    • Bruce Momjian's avatar
      dc4ee8a8
    • Bruce Momjian's avatar
      New patch with corrected README attached. · a647e30b
      Bruce Momjian authored
      Also quickly added mention that it may be a qualified schema name.
      
      Rod Taylor
      a647e30b
    • Bruce Momjian's avatar
      · ef2ba427
      Bruce Momjian authored
      Attached is a patch that enhances the output of psql's HTML mode.
      The output now validates as HTML 4.01 Strict, XHTML 1.0 strict,
      and XHTML 1.1 (assuming you wrap it in a valid html/body document).
      
      It also wraps the output of PGRES_COMMAND_OK if the HTML tag is on,
      for full compliance: this is why html_escaped_print has to be
      externalized.
      
      Greg Sabino Mullane greg@turnstep.com
      ef2ba427
    • Bruce Momjian's avatar
      Brief note about sequence cache not being cleared in other backends. · e9cda08b
      Bruce Momjian authored
      Actually clear the cache in the backend making the alteration.  This
      follows in the footsteps of setval().
      
      Rod Taylor
      e9cda08b
    • Bruce Momjian's avatar
      IPv6 cleanups. · b4cea00a
      Bruce Momjian authored
      
      Kurt Roeckx
      Andrew Dunstan
      b4cea00a
    • Bruce Momjian's avatar
      · e5549a27
      Bruce Momjian authored
      Back out this patch because it is patched inside a later patch.
      
      ---------------------------------------------------------------------------
      
      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
  3. 11 Jun, 2003 16 commits