Skip to content
Snippets Groups Projects
  1. Aug 13, 2001
  2. Aug 12, 2001
  3. Aug 11, 2001
  4. Aug 10, 2001
  5. Aug 09, 2001
  6. Aug 08, 2001
  7. Aug 07, 2001
  8. Aug 06, 2001
  9. Aug 05, 2001
  10. Aug 04, 2001
  11. Aug 03, 2001
  12. Aug 02, 2001
    • Tom Lane's avatar
      Add a SPI_copytupledesc function that parallels SPI_copytuple --- ie, · f59f3c88
      Tom Lane authored
      it copies the tupdesc into upper-executor memory.  This is necessary
      for returning tuple descriptors without leaking all of lower exec memory.
      f59f3c88
    • Bruce Momjian's avatar
      I noticed that pltcl didn't have any way to get to SPI_lastoid like plpgsql... · 84d2c518
      Bruce Momjian authored
      I noticed that pltcl didn't have any way to get to SPI_lastoid like plpgsql does.. I started using pltcl a lot because I like to decide when and how my queries get planned.. so I put one together really quick
      
      Sorry I don't have the original around to make a quick diff, but its a very small change... I think this should be in the next release, there's no reason not to have it.
      
      its a function with no expected arguments, so you can use it like:
      spi_exec "INSERT INTO mytable(columns...) VALUES(values..)"
      set oid [spi_lastoid]
      spi_exec "SELECT mytable_id from mytable WHERE oid=$oid"
      
      It just didn't make sense for me to use plpgsql and pltcl, or just screw
      them both and use SPI from C.
      
      
      bob@redivi.com
      84d2c518
    • Tom Lane's avatar
      Support ident authentication on local (Unix) socket connections, if the · bc042e0a
      Tom Lane authored
      system supports SO_PEERCRED requests for Unix sockets.  This is an
      amalgamation of patches submitted by Helge Bahmann and Oliver Elphick,
      with some editorializing by yours truly.
      bc042e0a
  13. Aug 01, 2001
  14. Jul 31, 2001
  15. Jul 16, 2001
    • Tom Lane's avatar
      Partial indexes work again, courtesy of Martijn van Oosterhout. · f31dc0ad
      Tom Lane authored
      Note: I didn't force an initdb, figuring that one today was enough.
      However, there is a new function in pg_proc.h, and pg_dump won't be
      able to dump partial indexes until you add that function.
      f31dc0ad
    • Tom Lane's avatar
      Restructure index AM interface for index building and index tuple deletion, · c8076f09
      Tom Lane authored
      per previous discussion on pghackers.  Most of the duplicate code in
      different AMs' ambuild routines has been moved out to a common routine
      in index.c; this means that all index types now do the right things about
      inserting recently-dead tuples, etc.  (I also removed support for EXTEND
      INDEX in the ambuild routines, since that's about to go away anyway, and
      it cluttered the code a lot.)  The retail indextuple deletion routines have
      been replaced by a "bulk delete" routine in which the indexscan is inside
      the access method.  I haven't pushed this change as far as it should go yet,
      but it should allow considerable simplification of the internal bookkeeping
      for deletions.  Also, add flag columns to pg_am to eliminate various
      hardcoded tests on AM OIDs, and remove unused pg_am columns.
      
      Fix rtree and gist index types to not attempt to store NULLs; before this,
      gist usually crashed, while rtree managed not to crash but computed wacko
      bounding boxes for NULL entries (which might have had something to do with
      the performance problems we've heard about occasionally).
      
      Add AtEOXact routines to hash, rtree, and gist, all of which have static
      state that needs to be reset after an error.  We discovered this need long
      ago for btree, but missed the other guys.
      
      Oh, one more thing: concurrent VACUUM is now the default.
      c8076f09
  16. Jul 15, 2001
  17. Jul 12, 2001
  18. Jul 11, 2001
  19. Jul 10, 2001
  20. Jul 06, 2001
  21. Jul 03, 2001
  22. Jul 01, 2001
  23. Jun 30, 2001
  24. Jun 28, 2001
    • Tom Lane's avatar
      Install infrastructure for shared-memory free space map. Doesn't actually · e0c9301c
      Tom Lane authored
      do anything yet, but it has the necessary connections to initialization
      and so forth.  Make some gestures towards allowing number of blocks in
      a relation to be BlockNumber, ie, unsigned int, rather than signed int.
      (I doubt I got all the places that are sloppy about it, yet.)  On the
      way, replace the hardwired NLOCKS_PER_XACT fudge factor with a GUC
      variable.
      e0c9301c
Loading