1. 02 11月, 2004 1 次提交
    • B
      That's just the lovely way windows handles a "segfault". Gotta be really · 7fad5fff
      Bruce Momjian 提交于
      interesting for MS to catch all those dumps...
      
      Anyway. Oops. Seems I ran my regression tests with the old psql, and
      just managed to update the backend, when I tested that patch. Turns out
      there are codepaths where we'd access the Critical Section before it was
      initialized. Attached patch breaks the initializeation off to a separate
      part and adds that one to a much earlier position in the program.
      
      Magnus Hagander
      7fad5fff
  2. 16 10月, 2004 1 次提交
  3. 08 10月, 2004 1 次提交
  4. 06 10月, 2004 1 次提交
  5. 28 9月, 2004 1 次提交
  6. 14 9月, 2004 1 次提交
  7. 29 8月, 2004 2 次提交
  8. 21 8月, 2004 1 次提交
  9. 18 8月, 2004 1 次提交
  10. 03 6月, 2004 1 次提交
    • B
      Add PGETC (for pg_service.conf) and PGLOCALE (for locale dir) · 68708433
      Bruce Momjian 提交于
      environment variable processing to libpq.
      
      The patch also adds code to our client apps so we set the environment
      variable directly based on our binary location, unless it is already
      set. This will allow our applications to emit proper locale messages
      that are generated in libpq.
      68708433
  11. 25 5月, 2004 1 次提交
  12. 17 5月, 2004 1 次提交
  13. 02 5月, 2004 1 次提交
  14. 22 4月, 2004 3 次提交
  15. 20 4月, 2004 1 次提交
    • 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
  16. 24 3月, 2004 1 次提交
  17. 22 3月, 2004 1 次提交
  18. 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
  19. 13 2月, 2004 1 次提交
  20. 25 1月, 2004 2 次提交
  21. 30 11月, 2003 1 次提交
    • P
      · 969685ad
      PostgreSQL Daemon 提交于
      $Header: -> $PostgreSQL Changes ...
      969685ad
  22. 30 9月, 2003 1 次提交
    • B
      > > · f3db6065
      Bruce Momjian 提交于
      > >  a) Write documentation how the win32 console needs to be set up so that
      > >     psql can handle 8-bit characters.
      > >     Where should it be added? The Section "Installation on Windows" in the
      > >     Administrator's Guide seems natural to me.
      > >
      > >  b) Add code to psql that prints a warning on startup of psql when the
      > >     console codepage differs from the windows codepage, something like
      > >
      > >     Warning: Console codepage (850) differs from windows codepage (1252)
      > >              8-bit characters will not work correctly. See PostgreSQL
      > >              documentation "Installation on Windows" for details.
      >
      Attached are two patches:
      
       - installdoc.patch contains an additional paragraph on the win32 console
         codepage for the chapter "Installation on Windows"
         Due to a lack of SGML-tools, I have only edited the text and not tested
         the SGML code - please check it before merging into the CVS branch.
      
       - psqlcodepage.patch adds the warning about a problematic codepage to psql.
      
      
      Christoph Dalitz
      f3db6065
  23. 08 8月, 2003 1 次提交
  24. 05 8月, 2003 1 次提交
  25. 04 8月, 2003 1 次提交
  26. 28 7月, 2003 1 次提交
  27. 23 7月, 2003 1 次提交
  28. 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
  29. 05 4月, 2003 1 次提交
  30. 20 3月, 2003 1 次提交
    • 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
  31. 19 3月, 2003 1 次提交
  32. 07 1月, 2003 1 次提交
  33. 09 11月, 2002 1 次提交
  34. 19 10月, 2002 1 次提交
  35. 23 9月, 2002 1 次提交
  36. 06 9月, 2002 1 次提交