1. 31 May, 2004 4 commits
    • Teodor Sigaev's avatar
    • Tom Lane's avatar
      Per previous discussions, get rid of use of sync(2) in favor of · 9b178555
      Tom Lane authored
      explicitly fsync'ing every (non-temp) file we have written since the
      last checkpoint.  In the vast majority of cases, the burden of the
      fsyncs should fall on the bgwriter process not on backends.  (To this
      end, we assume that an fsync issued by the bgwriter will force out
      blocks written to the same file by other processes using other file
      descriptors.  Anyone have a problem with that?)  This makes the world
      safe for WIN32, which ain't even got sync(2), and really makes the world
      safe for Unixen as well, because sync(2) never had the semantics we need:
      it offers no way to wait for the requested I/O to finish.
      
      Along the way, fix a bug I recently introduced in xlog recovery:
      file truncation replay failed to clear bufmgr buffers for the dropped
      blocks, which could result in 'PANIC:  heap_delete_redo: no block'
      later on in xlog replay.
      9b178555
    • Bruce Momjian's avatar
      Done: · f024086d
      Bruce Momjian authored
      > 	o -Allow Java server-side programming
      f024086d
    • Bruce Momjian's avatar
      Remove pljava todo info. · 95cdafd3
      Bruce Momjian authored
      95cdafd3
  2. 30 May, 2004 4 commits
  3. 29 May, 2004 5 commits
  4. 28 May, 2004 10 commits
  5. 27 May, 2004 9 commits
  6. 26 May, 2004 8 commits
    • Tom Lane's avatar
      Reduce the minimum allocable chunk size to 8 bytes (from 16). Now that · 4646a8f3
      Tom Lane authored
      ListCells are only 8 bytes instead of 12 (on 4-byte-pointer machines
      anyway), it's worth maintaining a separate freelist for 8-byte objects.
      Remembering that alloc chunks carry 8 bytes of overhead, this should
      reduce the net storage requirement for a long List by about a third.
      4646a8f3
    • Tom Lane's avatar
      0858ed20
    • Bruce Momjian's avatar
      437063bd
    • Tom Lane's avatar
      d96c3746
    • Bruce Momjian's avatar
      AIX doc addition: · ffef9b8c
      Bruce Momjian authored
      > FWIW, the section on configuring kernel resources under various
      > Unixen[1] doesn't have any documentation for AIX. If someone out there
      > knows which knobs need to be tweaked, would they mind sending in a doc
      > patch? (Or just specifying what needs to be done, and I'll add the
      > SGML.)
      
      After verifying that nobody wound up messing with the kernel
      parameters, here's a docs patch...
      
       Chris Browne
      ffef9b8c
    • Bruce Momjian's avatar
      Fix problems in pg_autovacuum: · b5cf1b6a
      Bruce Momjian authored
      1) temp table crash
      
      2) Check send_query() function call return value.
      
      Backpatch to 7.4.X.
      b5cf1b6a
    • Bruce Momjian's avatar
    • Bruce Momjian's avatar
      *) inet_(client|server)_(addr|port)() and necessary documentation for · 97d625dd
      Bruce Momjian authored
      the four functions.
      
      
      > Also, please justify the temp-related changes.  I was not aware that we
      > had any breakage there.
      
      patch-tmp-schema.txt contains the following bits:
      
      *) Changes pg_namespace_aclmask() so that the superuser is always able
      to create objects in the temp namespace.
      *) Changes pg_namespace_aclmask() so that if this is a temp namespace,
      objects are only allowed to be created in the temp namespace if the
      user has TEMP privs on the database.  This encompasses all object
      creation, not just TEMP tables.
      *) InitTempTableNamespace() checks to see if the current user, not the
      session user, has access to create a temp namespace.
      
      The first two changes are necessary to support the third change.  Now
      it's possible to revoke all temp table privs from non-super users and
      limiting all creation of temp tables/schemas via a function that's
      executed with elevated privs (security definer).  Before this change,
      it was not possible to have a setuid function to create a temp
      table/schema if the session user had no TEMP privs.
      
      patch-area-path.txt contains:
      
      *) Can now determine the area of a closed path.
      
      
      patch-dfmgr.txt contains:
      
      *) Small tweak to add the library path that's being expanded.
      
      I was using $lib/foo.so and couldn't easily figure out what the error
      message, "invalid macro name in dynamic library path" meant without
      looking through the source code.  With the path in there, at least I
      know where to start looking in my config file.
      
      Sean Chittenden
      97d625dd