1. 15 6月, 2006 1 次提交
    • T
      Clean up psql's control-C handling to avoid longjmp'ing out of random · f3164c02
      Tom Lane 提交于
      places --- that risks corrupting data structures, losing sync with the
      backend, etc.  We now longjmp only from calls to readline, fgets, and
      fread, which we assume are coded to protect themselves against interrupts
      at undesirable times.  This requires adding explicit tests for
      cancel_pressed in long-running loops, but on the whole it's far cleaner.
      Martijn van Oosterhout and Tom Lane.
      f3164c02
  2. 12 6月, 2006 1 次提交
  3. 07 6月, 2006 1 次提交
  4. 05 6月, 2006 2 次提交
  5. 04 6月, 2006 1 次提交
  6. 21 3月, 2006 1 次提交
  7. 06 3月, 2006 2 次提交
  8. 05 3月, 2006 1 次提交
  9. 12 2月, 2006 1 次提交
  10. 18 12月, 2005 1 次提交
  11. 15 10月, 2005 1 次提交
  12. 22 2月, 2005 1 次提交
  13. 01 1月, 2005 1 次提交
  14. 31 10月, 2004 1 次提交
  15. 29 8月, 2004 2 次提交
  16. 20 2月, 2004 1 次提交
    • T
      Re-implement psql's input scanning to use a flex-generated lexer, as per · 4b39aa3a
      Tom Lane 提交于
      recent discussion.  The lexer is used for both SQL command text and
      backslash commands.  The purpose of this change is to make it easier to
      track the behavior of the backend's SQL lexer --- essentially identical
      flex rules are now used by psql.  Also, this cleans up a lot of very
      squirrelly code in mainloop.c and command.c.  The flex code is somewhat
      bulkier than the removed code, but should be lots easier to maintain.
      4b39aa3a
  17. 25 1月, 2004 2 次提交
  18. 22 1月, 2004 1 次提交
  19. 30 11月, 2003 1 次提交
    • P
      · 969685ad
      PostgreSQL Daemon 提交于
      $Header: -> $PostgreSQL Changes ...
      969685ad
  20. 05 8月, 2003 1 次提交
  21. 04 8月, 2003 1 次提交
  22. 21 3月, 2003 2 次提交
  23. 20 3月, 2003 2 次提交
    • B
      I'm continuing to work on cleaning up code in psql. As things appear · add932ee
      Bruce Momjian 提交于
      now, my changes seem to work.  Some possible minor bugs got squished
      on the way but I can't be sure without more feedback from people who
      really put the code to the test.
      
      The new patch mostly simplifies variable handling and reduces code
      duplication.  Changes in the command parser eliminate some redundant
      variables (boolean state + depth counter), replaces some
      "else if" constructs with switches, and so on.  It is meant to be
      applied together with my previous patch, although I hope they don't
      conflict; I went back to the CVS version for this one.
      
      One more thing I thought should perhaps be changed: an IGNOREEOF
      value of n will ignore only n-1 EOFs.  I didn't want to touch this
      for fear of breaking existing applications, but it does seem a tad
      illogical.
      
      Jeroen T. Vermeulen
      add932ee
    • B
      Here's some changes I made last night to psql's common.c (as found in · be1c6e75
      Bruce Momjian 提交于
      7.3.2).  It removes some code duplication and #ifdeffing, and some
      unstructured ugliness such as tacky breaks and an unneeded continue.
      Breaks up a large function into smaller functions and reduces required
      nesting levels, and kills a variable or two.
      
      Jeroen T. Vermeulen
      be1c6e75
  24. 13 10月, 2002 1 次提交
  25. 05 9月, 2002 1 次提交
  26. 04 7月, 2002 1 次提交
  27. 16 6月, 2002 1 次提交
    • B
      Noted with versions 7.0.3, 7.1.3, and 7.2.1: · cd7be4d9
      Bruce Momjian 提交于
      The psql interpreter becomes unstable if variable substitutions
      are used.  The debugger GDB was unable to help however mpatrol
      reports that the sprintf at mainloop.c:389 is steping one byte
      farther than the allocation.
      
      William K. Volkman
      cd7be4d9
  28. 28 3月, 2002 1 次提交
  29. 18 2月, 2002 1 次提交
  30. 28 12月, 2001 2 次提交
  31. 06 11月, 2001 1 次提交
  32. 28 10月, 2001 1 次提交
  33. 25 10月, 2001 1 次提交