1. 15 6月, 2003 4 次提交
  2. 14 6月, 2003 2 次提交
  3. 13 6月, 2003 7 次提交
  4. 12 6月, 2003 27 次提交
    • B
      Mention need for swap on Linux, and kill -9. · 889dd3c0
      Bruce Momjian 提交于
      889dd3c0
    • B
      8d2d92c5
    • M
      Install all header files. · b4117d8b
      Michael Meskes 提交于
      b4117d8b
    • B
      Attached is the complete diff against current CVS. · b14295cf
      Bruce Momjian 提交于
      Compiles on BCC 5.5 and VC++ 6.0 (with warnings).
      
      Karl Waclawek
      b14295cf
    • B
      Back out patch that got bundled into another patch. · dc4ee8a8
      Bruce Momjian 提交于
      dc4ee8a8
    • B
      New patch with corrected README attached. · a647e30b
      Bruce Momjian 提交于
      Also quickly added mention that it may be a qualified schema name.
      
      Rod Taylor
      a647e30b
    • B
      · ef2ba427
      Bruce Momjian 提交于
      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
    • B
      Brief note about sequence cache not being cleared in other backends. · e9cda08b
      Bruce Momjian 提交于
      Actually clear the cache in the backend making the alteration.  This
      follows in the footsteps of setval().
      
      Rod Taylor
      e9cda08b
    • B
      IPv6 cleanups. · b4cea00a
      Bruce Momjian 提交于
      
      Kurt Roeckx
      Andrew Dunstan
      b4cea00a
    • B
      · e5549a27
      Bruce Momjian 提交于
      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
    • B
      I succeeded by fixing up setup.py: · 1cef8ea7
      Bruce Momjian 提交于
      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
    • B
      Here is a patch that allows CIDR netmasks in pg_hba.conf. It allows two · b78961b0
      Bruce Momjian 提交于
      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
    • B
      Add Linux restart --- Slawomir Sudnik · 310c0849
      Bruce Momjian 提交于
      Add "-l $PGLOG" for restart --- Darko Prenosil
      310c0849
    • B
      Up to now, SerializableSnapshot and QuerySnapshot are malloc'ed and · acd1536d
      Bruce Momjian 提交于
      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
    • B
      psql: tab completion for \encoding · 752a4dac
      Bruce Momjian 提交于
      Ian Barwick
      752a4dac
    • B
      This patch updates pg_autovacuum in several ways: · 9243664d
      Bruce Momjian 提交于
      * 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
    • B
      I found the libpq function PGunescapeBytea a little slow. It was taking a · 4e1f9860
      Bruce Momjian 提交于
      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
    • B
      This patch extracts page buffer pooling and the simple · 0abe7431
      Bruce Momjian 提交于
      least-recently-used strategy from clog.c into slru.c.  It doesn't
      change any visible behaviour and passes all regression tests plus a
      TruncateCLOG test done manually.
      
      Apart from refactoring I made a little change to SlruRecentlyUsed,
      formerly ClogRecentlyUsed:  It now skips incrementing lru_counts, if
      slotno is already the LRU slot, thus saving a few CPU cycles.  To make
      this work, lru_counts are initialised to 1 in SimpleLruInit.
      
      SimpleLru will be used by pg_subtrans (part of the nested transactions
      project), so the main purpose of this patch is to avoid future code
      duplication.
      
      Manfred Koizar
      0abe7431
    • B
      Add add_missing_from GUC variable. · 240dc5cd
      Bruce Momjian 提交于
      Nigel J. Andrews
      240dc5cd
    • B
      Done: · 9ffdd91b
      Bruce Momjian 提交于
      * -Add config variable to prevent auto-adding missing FROM-clause tables
      9ffdd91b
    • T
      Update expected file to match new _int.sql. · 6a276b7b
      Tom Lane 提交于
      6a276b7b
    • B
      Add missing intarray files. · a237dd2b
      Bruce Momjian 提交于
      a237dd2b
    • B
      Make "log_min_duration_statement" SUSET --- will be adjusted with new · a24c5a7b
      Bruce Momjian 提交于
      USERLIMIT patch.
      a24c5a7b
    • B
      Changes: · 47d5c3d5
      Bruce Momjian 提交于
      1 intarray: bugfix for int[]-int[] operation
      2 intarray: split _int.c to several files (_int.c now is unused)
      3 ntarray (gist__intbig_ops opclass): use special type for index storage
      4 ltree (gist__ltree_ops opclass), intarray (gist__intbig_ops): optimize
      GiST's
      penalty and picksplit interface functions, now use Hemming distance.
      
      Teodor Sigaev
      47d5c3d5
    • T
      d2e028b1
    • B
      Add log_min_duration_statement. · b952d61c
      Bruce Momjian 提交于
      Christopher Kings-Lynne
      b952d61c
    • T
      pg_dump and pg_restore were stripping quotes and downcasing some but · 8bfe93c5
      Tom Lane 提交于
      not all SQL identifiers taken from command line arguments.  We decided
      years ago that that was a bad idea: identifiers taken from the command
      line should be treated as literally correct.  Remove the inconsistent
      code that has crept in recently.  Also fix pg_dump so that the combination
      of --schema and --table does what you'd expect, namely dump exactly one
      table from exactly one schema.  Per gripe from Deepak Bhole of Red Hat.
      8bfe93c5