Skip to content
Snippets Groups Projects
  1. Jul 08, 2010
  2. Jul 07, 2010
  3. Jul 06, 2010
  4. Jul 05, 2010
    • Tom Lane's avatar
      Split the LDFLAGS make variable into two parts: LDFLAGS is now used for · 291a9577
      Tom Lane authored
      linking both executables and shared libraries, and we add on LDFLAGS_EX when
      linking executables or LDFLAGS_SL when linking shared libraries.  This
      provides a significantly cleaner way of dealing with link-time switches than
      the former behavior.  Also, make sure that the various platform-specific
      %.so: %.o rules incorporate LDFLAGS and LDFLAGS_SL; most of them missed that
      before.  (I did not add these variables for the platforms that invoke $(LD)
      directly, however.  It's not clear if we can do that safely, since for the
      most part we assume these variables use CC command-line syntax.)
      
      Per gripe from Aaron Swenson and subsequent investigation.
      291a9577
    • Heikki Linnakangas's avatar
      The previous fix in CVS HEAD and 8.4 for handling the case where a cursor · eb81b650
      Heikki Linnakangas authored
      being used in a PL/pgSQL FOR loop is closed was inadequate, as Tom Lane
      pointed out. The bug affects FOR statement variants too, because you can
      close an implicitly created cursor too by guessing the "<unnamed portal X>"
      name created for it.
      
      To fix that, "pin" the portal to prevent it from being dropped while it's
      being used in a PL/pgSQL FOR loop. Backpatch all the way to 7.4 which is
      the oldest supported version.
      eb81b650
  5. Jul 04, 2010
  6. Jul 03, 2010
  7. Jul 02, 2010
    • Robert Haas's avatar
      Remove hstore % text[] operator; use slice() function instead. · ce517476
      Robert Haas authored
      David Wheeler, with one small correction by me.
      ce517476
    • Robert Haas's avatar
      Move copydir.c from src/port to src/backend/storage/file · bb0fe9fe
      Robert Haas authored
      The previous commit to make copydir() interruptible prevented
      postgres.exe from linking on MinGW and Cygwin, because on those
      platforms libpgport_srv.a can't freely reference symbols defined
      by the backend.  Since that code is already backend-specific anyway,
      just move the whole file into the backend rather than adding further
      kludges to deal with the symbols needed by CHECK_FOR_INTERRUPTS().
      
      This probably needs some further cleanup, but this commit just moves
      the file as-is, which should hopefully be enough to turn the
      buildfarm green again.
      bb0fe9fe
Loading