1. 02 Aug, 2001 3 commits
    • 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
      Even though SO_PEERCRED is probably totally unportable, might as well · d00b2722
      Tom Lane authored
      declare the getsockopt parameter as ACCEPT_TYPE_ARG3 to be consistent
      with our other uses of getsockopt.
      d00b2722
    • Tom Lane's avatar
      Remove SO_PASSCRED step in ident_unix --- according to Helge Bahmann, · 49435fb9
      Tom Lane authored
      that call is not needed to prepare for SO_PEERCRED.  Also, simplify code
      so that #ifdef SO_PEERCRED appears in only one place, to make it easier
      to support other platforms with variants of this capability.
      49435fb9
  2. 01 Aug, 2001 9 commits
  3. 31 Jul, 2001 9 commits
  4. 30 Jul, 2001 8 commits
  5. 29 Jul, 2001 1 commit
  6. 22 Jul, 2001 1 commit
  7. 21 Jul, 2001 9 commits