Skip to content
Snippets Groups Projects
  1. Oct 06, 1998
  2. Sep 01, 1998
  3. Aug 30, 1998
    • Marc G. Fournier's avatar
      · 6c498285
      Marc G. Fournier authored
      From: Massimo Dal Zotto <dz@cs.unitn.it>
      6c498285
  4. Aug 19, 1998
    • Bruce Momjian's avatar
      heap_fetch requires buffer pointer, must be released; heap_getnext · 79715390
      Bruce Momjian authored
      no longer returns buffer pointer, can be gotten from scan;
      	descriptor; bootstrap can create multi-key indexes;
      pg_procname index now is multi-key index; oidint2, oidint4, oidname
      are gone (must be removed from regression tests); use System Cache
      rather than sequential scan in many places; heap_modifytuple no
      longer takes buffer parameter; remove unused buffer parameter in
      a few other functions; oid8 is not index-able; remove some use of
      single-character variable names; cleanup Buffer variables usage
      and scan descriptor looping; cleaned up allocation and freeing of
      tuples; 18k lines of diff;
      79715390
  5. Jul 27, 1998
  6. Jul 09, 1998
    • Marc G. Fournier's avatar
      · a0659e3e
      Marc G. Fournier authored
      From: Tom Lane <tgl@sss.pgh.pa.us>
      
      Making PQrequestCancel safe to call in a signal handler turned out to be
      much easier than I feared.  So here are the diffs.
      
      Some notes:
        * I modified the postmaster's packet "iodone" callback interface to allow
          the callback routine to return a continue-or-drop-connection return
          code; this was necessary to allow the connection to be closed after
          receiving a Cancel, rather than proceeding to launch a new backend...
          Being a neatnik, I also made the iodone proc have a typechecked
          parameter list.
        * I deleted all code I could find that had to do with OOB.
        * I made some edits to ensure that all signals mentioned in the code
          are referred to symbolically not by numbers ("SIGUSR2" not "2").
          I think Bruce may have already done at least some of the same edits;
          I hope that merging these patches is not too painful.
      a0659e3e
  7. Jun 27, 1998
  8. Jun 15, 1998
  9. May 07, 1998
    • Bruce Momjian's avatar
      What I've done: · edbd5139
      Bruce Momjian authored
      1. Rewritten libpq to allow asynchronous clients.
      
      2. Implemented client side of cancel protocol in library,
         and patched psql.c to send a cancel request upon SIGINT.  The
         backend doesn't notice it yet :-(
      
      3. Implemented 'Z' protocol message addition and renaming of
         copy in/out start messages.  These are implemented conditionally,
         ie, the client protocol version is checked; so the code should
         still work with 1.0 clients.
      
      4. Revised protocol and libpq sgml documents (don't have an SGML
         compiler, though, so there may be some markup glitches here).
      
      
      What remains to be done:
      
      1. Implement addition of atttypmod field to RowDescriptor messages.
         The client-side code is there but ifdef'd out.  I have no idea
         what to change on the backend side.  The field should be sent
         only if protocol >= 2.0, of course.
      
      2. Implement backend response to cancel requests received as OOB
         messages.  (This prolly need not be conditional on protocol
         version; just do it if you get SIGURG.)
      
      3. Update libpq.3.  (I'm hoping this can be generated mechanically
         from libpq.sgml... if not, will do it by hand.)  Is there any
         other doco to fix?
      
      4. Update non-libpq interfaces as necessary.  I patched libpgtcl
         so that it would compile, but haven't tested it.  Dunno what
         needs to be done with the other interfaces.
      
      Have at it!
      
      Tom Lane
      edbd5139
  10. Apr 27, 1998
    • Bruce Momjian's avatar
      This patch... · 09baa3cc
      Bruce Momjian authored
      1. Removes the unnecessary "#define AbcRegProcedure 123"'s from
      pg_proc.h.
      
      2. Changes those #defines to use the names already defined in
      fmgr.h.
      
      3. Forces the make of fmgr.h in backend/Makefile instead of having
      it
         made as a dependency in access/common/Makefile  *hack*hack*hack*
      
      4. Rearranged the #includes to a less helter-skelter arrangement,
      also
          changing <file.h> to "file.h" to signify a non-system header.
      
      5. Removed "pg_proc.h" from files where its only purpose was for
      the
         #defines removed in item #1.
      
      6. Added "fmgr.h" to each file changed for completeness sake.
      
      Turns out that #6 was not necessary for some files because fmgr.h
      was being included in a roundabout way SIX levels deep by the first
      include.
      
      "access/genam.h"
       ->"access/relscan.h"
         ->"utils/rel.h"
           ->"access/strat.h"
             ->"access/skey.h"
      	 ->"fmgr.h"
      
      So adding fmgr.h really didn't add anything to the compile, hopefully
      just made it clearer to the programmer.
      
      S Darren.
      09baa3cc
  11. Apr 01, 1998
  12. Feb 26, 1998
  13. Jan 31, 1998
  14. Jan 25, 1998
  15. Dec 17, 1997
    • Marc G. Fournier's avatar
      Makefile cleaned up · 9ef6b32c
      Marc G. Fournier authored
      async.c: #include <port-protos.h> surrounded by an #ifdef HAVE_STRDUP
      
      vacuum.c: #include <port-protos.h> commented out...can someone comment as
                to why it was included, as it doesn't seem to have any effect
                under FreeBSD so far...would like some sort of #ifdef wrapper
                like async.c if possible
      9ef6b32c
  16. Dec 06, 1997
  17. Nov 21, 1997
  18. Nov 05, 1997
  19. Oct 30, 1997
  20. Oct 25, 1997
  21. Sep 12, 1997
  22. Sep 08, 1997
  23. Sep 07, 1997
  24. Aug 19, 1997
  25. Aug 13, 1997
  26. Aug 12, 1997
  27. Aug 03, 1997
  28. Mar 10, 1997
  29. Jan 25, 1997
  30. Jan 08, 1997
  31. Dec 19, 1996
  32. Dec 07, 1996
  33. Nov 16, 1996
  34. Nov 06, 1996
  35. Nov 04, 1996
  36. Oct 21, 1996
  37. Oct 18, 1996
  38. Oct 05, 1996
Loading