1. 01 Dec, 2003 1 commit
  2. 29 Nov, 2003 1 commit
    • PostgreSQL Daemon's avatar
      · 969685ad
      PostgreSQL Daemon authored
      $Header: -> $PostgreSQL Changes ...
      969685ad
  3. 11 Oct, 2003 2 commits
  4. 29 Sep, 2003 1 commit
  5. 16 Sep, 2003 1 commit
  6. 04 Aug, 2003 2 commits
  7. 28 Jul, 2003 1 commit
  8. 23 Jul, 2003 1 commit
  9. 28 Jun, 2003 1 commit
    • Tom Lane's avatar
      Update psql for some features of new FE/BE protocol. There is a · f9ebf369
      Tom Lane authored
      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
  10. 14 May, 2003 1 commit
  11. 04 Apr, 2003 1 commit
  12. 20 Mar, 2003 1 commit
    • Bruce Momjian's avatar
      I'm continuing to work on cleaning up code in psql. As things appear · add932ee
      Bruce Momjian authored
      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
  13. 19 Mar, 2003 1 commit
  14. 18 Mar, 2003 1 commit
  15. 10 Mar, 2003 1 commit
  16. 19 Feb, 2003 1 commit
    • Bruce Momjian's avatar
      Here's the patch I promised over on HACKERS - it alters the · adc3b34b
      Bruce Momjian authored
      implementation
      of '\e' history tracking for systems that have a readline compatability
      library without replace_history_entry.  I fall back to pushing the query
      onto the history stack after the \e, rather than replacing it.
      
      The patch adds one more place to look for readline headers, and a test
      for replace_history_entry. I've only included the patch for configure.in
      
      Ross J. Reedstrom
      adc3b34b
  17. 13 Feb, 2003 1 commit
    • Bruce Momjian's avatar
      [ Have readline save edit history.] · 6d8b8a5e
      Bruce Momjian authored
      >
      > > I already posted a one-line patch to implement this, but it doesn't
      > > seem to hve come through to the list. Here it is inline, instead of as
      > > an attachment:
      >
      > We need this to work without readline as well.  (Of course there won't be
      > any history, but it needs to compile.)
      
      <blush> Even after slogging my way through the nesting #ifdefs for readline
      and win32, I forgot! Let's make that a three line patch, then.
      
      Ross J. Reedstrom
      6d8b8a5e
  18. 10 Jan, 2003 1 commit
  19. 07 Jan, 2003 1 commit
  20. 12 Dec, 2002 1 commit
    • Bruce Momjian's avatar
      TODO marked as done: · 40c4472e
      Bruce Momjian authored
      	* Add schema, cast, and conversion backslash commands to psql
      
      I had to create a new publically available function,
      pg_conversion_is_visible, as it seemed to be missing from the catalogs.
      This required me to do no small amount of hacking around in namespace.c
      
      I have updated the \? help and sgml docs.
      
      \dc - list conversions [PATTERN]
      \dC - list casts
      \dn list schemas
      
      I didn't support patterns with casts as there's nothing obvious to match
      against.
      
      Catalog version incremented --- initdb required.
      
      Christopher Kings-Lynne
      40c4472e
  21. 08 Nov, 2002 1 commit
  22. 23 Oct, 2002 1 commit
  23. 15 Oct, 2002 1 commit
  24. 03 Oct, 2002 1 commit
  25. 22 Sep, 2002 1 commit
  26. 04 Sep, 2002 1 commit
  27. 02 Sep, 2002 1 commit
    • Bruce Momjian's avatar
      I checked all the previous string handling errors and most of them were · a12b4e27
      Bruce Momjian authored
      already fixed by You. However there were a few left and attached patch
      should fix the rest of them.
      
      I used StringInfo only in 2 places and both of them are inside debug
      ifdefs. Only performance penalty will come from using strlen() like all
      the other code does.
      
      I also modified some of the already patched parts by changing
      snprintf(buf, 2 * BUFSIZE, ... style lines to
      snprintf(buf, sizeof(buf), ... where buf is an array.
      
      Jukka Holappa
      a12b4e27
  28. 14 Aug, 2002 1 commit
    • Bruce Momjian's avatar
      I guess I'd vote for changing the code to be · dec91847
      Bruce Momjian authored
              sys = malloc(strlen(editorName) + strlen(fname) + 10 + 1);
              if (!sys)
                      return false;
              sprintf(sys, "exec '%s' '%s'", editorName, fname);
      
      (note the added quotes to provide a little protection against spaces
      and such).  Then it's perfectly obvious what the calculation is doing.
      I don't care about wasting 20-some bytes, but confusing readers of the
      code is worth avoiding.
      
                              regards, tom lane
      dec91847
  29. 13 Aug, 2002 2 commits
  30. 10 Aug, 2002 1 commit
  31. 18 Jul, 2002 1 commit
    • Tatsuo Ishii's avatar
      I have committed many support files for CREATE CONVERSION. Default · eb335a03
      Tatsuo Ishii authored
      conversion procs and conversions are added in initdb. Currently
      supported conversions are:
      
      UTF-8(UNICODE) <--> SQL_ASCII, ISO-8859-1 to 16, EUC_JP, EUC_KR,
      		    EUC_CN, EUC_TW, SJIS, BIG5, GBK, GB18030, UHC,
      		    JOHAB, TCVN
      
      EUC_JP <--> SJIS
      EUC_TW <--> BIG5
      MULE_INTERNAL <--> EUC_JP, SJIS, EUC_TW, BIG5
      
      Note that initial contents of pg_conversion system catalog are created
      in the initdb process. So doing initdb required is ideal, it's
      possible to add them to your databases by hand, however. To accomplish
      this:
      
      psql -f your_postgresql_install_path/share/conversion_create.sql your_database
      
      So I did not bump up the version in cataversion.h.
      
      TODO:
      Add more conversion procs
      Add [CASCADE|RESTRICT] to DROP CONVERSION
      Add tuples to pg_depend
      Add regression tests
      Write docs
      Add SQL99 CONVERT command?
      --
      Tatsuo Ishii
      eb335a03
  32. 15 Jul, 2002 1 commit
  33. 24 Apr, 2002 1 commit
  34. 27 Mar, 2002 1 commit
  35. 19 Mar, 2002 1 commit
  36. 07 Mar, 2002 1 commit
  37. 06 Mar, 2002 1 commit