1. 06 Aug, 1998 1 commit
  2. 05 Aug, 1998 1 commit
  3. 04 Aug, 1998 1 commit
  4. 26 Jul, 1998 1 commit
  5. 18 Jul, 1998 1 commit
  6. 09 Jul, 1998 1 commit
    • 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. 16 Jun, 1998 1 commit
    • Bruce Momjian's avatar
      Hi, here are the patches to enhance existing MB handling. This time · cb7cbc16
      Bruce Momjian authored
      I have implemented a framework of encoding translation between the
      backend and the frontend. Also I have added a new variable setting
      command:
      
      SET CLIENT_ENCODING TO 'encoding';
      
      Other features include:
      	Latin1 support more 8 bit cleaness
      
      See doc/README.mb for more details. Note that the pacthes are
      against May 30 snapshot.
      
      Tatsuo Ishii
      cb7cbc16
  8. 15 Jun, 1998 1 commit
  9. 15 May, 1998 1 commit
  10. 13 May, 1998 1 commit
  11. 12 May, 1998 2 commits
    • Bruce Momjian's avatar
      The attached patch corrects two problems with autoconfiguration of · 982c695f
      Bruce Momjian authored
      psql in Postgres 6.3.2.  Both of these problems were complained of
      recently in pgsql-questions:
      
      1. In the right circumstances, psql.c will fail to compile due to
      trying
         to include a nonexistent <history.h>.  (Thread "Compile-time
         error" around 17 Apr 98.) 2. In other circumstances, psql will
      compile but does not provide
         command history capability, even though the underlying readline
         library supports it.  (Various threads, most recently "query
         repetition in psql" around 29 Apr.)
      
      Tom Lane
      982c695f
    • Bruce Momjian's avatar
      Give proper error on psql \copy use. · 95aa15f3
      Bruce Momjian authored
      95aa15f3
  12. 06 May, 1998 1 commit
    • 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
  13. 04 May, 1998 1 commit
  14. 05 Apr, 1998 1 commit
    • Bruce Momjian's avatar
      this patch solve 2 problemes : · fdb37f07
      Bruce Momjian authored
      probleme number 1 :
      
      - configure can find the library readline , but don't
        find the header file . so in this case we don't use lib readline
        .
      
      probleme number 2 :
      
      - when you have postgres 6.2.1 and readline installed
        with the same prefix( and generally all your software ) .  you
        can compile the version 6.3 .  I use this prefix , when configure
        ask me for "Additional directories to search for include files"
        .
      
        ( because there a conflict in the header when you
          compile psql.c ) In this case, you must permut the sequence of
        directive -I .
      
      Erwan MAS
      fdb37f07
  15. 16 Mar, 1998 1 commit
  16. 26 Feb, 1998 1 commit
  17. 25 Feb, 1998 1 commit
  18. 23 Feb, 1998 1 commit
  19. 07 Feb, 1998 1 commit
  20. 06 Feb, 1998 1 commit
  21. 28 Jan, 1998 1 commit
  22. 25 Jan, 1998 1 commit
  23. 23 Jan, 1998 2 commits
    • Marc G. Fournier's avatar
      From: James Hughes <jamesh@interpath.com> · b34c8ec3
      Marc G. Fournier authored
      This is a patch to fix crashes in psql when executing queries from
      an external file. The code also adds error checking to verify that
      memory for "query" was allocated. The conditional for the block of
      code was changed from "query == NULL" to "query_alloced == false".
      
      The conditional, "query == NULL", was never true. This prevented
      the memory being allocated for "query". A few lines later, an attempt
      to write to an un-allocated memory area generated a SIGSEGV causing
      the frontend to crash.
      b34c8ec3
    • Marc G. Fournier's avatar
      From: Andrew Martin <martin@biochemistry.ucl.ac.uk> · b8476a09
      Marc G. Fournier authored
      psql .psqlrc file startup(Andrew)
      b8476a09
  24. 22 Jan, 1998 1 commit
  25. 17 Jan, 1998 1 commit
  26. 09 Jan, 1998 1 commit
  27. 05 Jan, 1998 2 commits
  28. 23 Dec, 1997 1 commit
  29. 22 Dec, 1997 1 commit
  30. 06 Dec, 1997 1 commit
  31. 05 Dec, 1997 1 commit
  32. 30 Nov, 1997 1 commit
  33. 26 Nov, 1997 1 commit
  34. 24 Nov, 1997 3 commits
  35. 19 Nov, 1997 1 commit