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. 08 6月, 2006 1 次提交
    • B
      Prepare code to be built by MSVC: · 399a36a7
      Bruce Momjian 提交于
      	o  remove many WIN32_CLIENT_ONLY defines
      	o  add WIN32_ONLY_COMPILER define
      	o  add 3rd argument to open() for portability
      	o  add include/port/win32_msvc directory for
      	   system includes
      
      Magnus Hagander
      399a36a7
  3. 01 6月, 2006 2 次提交
  4. 31 5月, 2006 1 次提交
    • B
      Escape processing patch: · eaca1175
      Bruce Momjian 提交于
              o  turns off escape_string_warning in pg_dumpall.c
              o  optionally use E'' for \password (undocumented option?)
              o  honor standard_conforming-strings for \copy (but not
                 support literal E'' strings)
              o  optionally use E'' for \d commands
              o  turn off escape_string_warning for createdb, createuser,
                 droplang
      eaca1175
  5. 27 5月, 2006 1 次提交
  6. 05 3月, 2006 1 次提交
  7. 04 3月, 2006 1 次提交
  8. 15 10月, 2005 1 次提交
  9. 07 5月, 2005 1 次提交
  10. 22 2月, 2005 1 次提交
  11. 01 1月, 2005 1 次提交
  12. 29 8月, 2004 2 次提交
  13. 14 8月, 2004 1 次提交
  14. 13 8月, 2004 1 次提交
  15. 12 7月, 2004 1 次提交
  16. 11 7月, 2004 2 次提交
  17. 07 5月, 2004 1 次提交
    • T
      Solve the 'Turkish problem' with undesirable locale behavior for case · 0bd61548
      Tom Lane 提交于
      conversion of basic ASCII letters.  Remove all uses of strcasecmp and
      strncasecmp in favor of new functions pg_strcasecmp and pg_strncasecmp;
      remove most but not all direct uses of toupper and tolower in favor of
      pg_toupper and pg_tolower.  These functions use the same notions of
      case folding already developed for identifier case conversion.  I left
      the straight locale-based folding in place for situations where we are
      just manipulating user data and not trying to match it to built-in
      strings --- for example, the SQL upper() function is still locale
      dependent.  Perhaps this will prove not to be what's wanted, but at
      the moment we can initdb and pass regression tests in Turkish locale.
      0bd61548
  18. 21 4月, 2004 1 次提交
  19. 20 4月, 2004 2 次提交
    • B
      * Most changes are to fix warnings issued when compiling win32 · 31338352
      Bruce Momjian 提交于
      * removed a few redundant defines
      * get_user_name safe under win32
      * rationalized pipe read EOF for win32 (UPDATED PATCH USED)
      * changed all backend instances of sleep() to pg_usleep
      
          - except for the SLEEP_ON_ASSERT in assert.c, as it would exceed a
      32-bit long [Note to patcher: If a SLEEP_ON_ASSERT of 2000 seconds is
      acceptable, please replace with pg_usleep(2000000000L)]
      
      I added a comment to that part of the code:
      
          /*
           *  It would be nice to use pg_usleep() here, but only does 2000 sec
           *  or 33 minutes, which seems too short.
           */
          sleep(1000000);
      
      Claudio Natoli
      31338352
    • B
      Complete TODO item: · 862b20b3
      Bruce Momjian 提交于
              o -Allow dump/load of CSV format
      
      This adds new keywords to COPY and \copy:
      
              CSV - enable CSV mode (comma separated variable)
              QUOTE - specify quote character
              ESCAPE - specify escape character
              FORCE - force quoting of specified column
      	LITERAL - suppress null comparison for columns
      
      Doc changes included.  Regression updates coming from Andrew.
      862b20b3
  20. 12 4月, 2004 1 次提交
  21. 29 1月, 2004 2 次提交
  22. 27 1月, 2004 1 次提交
  23. 25 1月, 2004 2 次提交
  24. 21 1月, 2004 1 次提交
  25. 10 1月, 2004 1 次提交
  26. 02 12月, 2003 1 次提交
  27. 30 11月, 2003 1 次提交
    • P
      · 969685ad
      PostgreSQL Daemon 提交于
      $Header: -> $PostgreSQL Changes ...
      969685ad
  28. 05 8月, 2003 1 次提交
  29. 04 8月, 2003 1 次提交
  30. 23 7月, 2003 1 次提交
  31. 28 6月, 2003 1 次提交
    • T
      Update psql for some features of new FE/BE protocol. There is a · f9ebf369
      Tom Lane 提交于
      client-side AUTOCOMMIT mode now: '\set AUTOCOMMIT off' supports
      SQL-spec commit behavior.  Get rid of LO_TRANSACTION hack --- the
      LO operations just work now, using libpq's ability to track the
      transaction status.  Add a VERBOSE variable to control verboseness
      of error message display, and add a %T prompt-string code to show
      current transaction-block status.  Superuser state display in the
      prompt string correctly follows SET SESSION AUTHORIZATION commands.
      Control-C works to get out of COPY IN state.
      f9ebf369
  32. 20 3月, 2003 1 次提交
  33. 19 10月, 2002 1 次提交
  34. 15 10月, 2002 1 次提交