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. 29 5月, 2006 1 次提交
    • T
      Fix up pg_dump to do string escaping fully correctly for client encoding · 134b463f
      Tom Lane 提交于
      and standard_conforming_strings; likewise for the other client programs
      that need it.  As per previous discussion, a pg_dump dump now conforms
      to the standard_conforming_strings setting of the source database.
      We don't use E'' syntax in the dump, thereby improving portability of
      the SQL.  I added a SET escape_strings_warning = off command to keep
      the dumps from getting a lot of back-chatter from that.
      134b463f
  3. 27 5月, 2006 1 次提交
    • B
      Use E'' strings internally only when standard_conforming_strings = · 7a846ecc
      Bruce Momjian 提交于
      'off'. This allows pg_dump output with standard_conforming_strings =
      'on' to generate proper strings that can be loaded into other databases
      without the backslash doubling we typically do.  I have added the
      dumping of the standard_conforming_strings value to pg_dump.
      
      I also added standard backslash handling for plpgsql.
      7a846ecc
  4. 05 3月, 2006 1 次提交
  5. 15 10月, 2005 1 次提交
  6. 03 7月, 2005 1 次提交
  7. 02 7月, 2005 1 次提交
  8. 14 6月, 2005 1 次提交
  9. 22 2月, 2005 1 次提交
  10. 01 1月, 2005 1 次提交
  11. 10 9月, 2004 1 次提交
  12. 29 8月, 2004 1 次提交
  13. 13 7月, 2004 1 次提交
  14. 30 11月, 2003 1 次提交
    • P
      · 969685ad
      PostgreSQL Daemon 提交于
      $Header: -> $PostgreSQL Changes ...
      969685ad
  15. 22 11月, 2003 1 次提交
    • T
      COMMENT ON casts, conversions, languages, operator classes, and · 42ce74bf
      Tom Lane 提交于
      large objects.  Dump all these in pg_dump; also add code to pg_dump
      user-defined conversions.  Make psql's large object code rely on
      the backend for inserting/deleting LOB comments, instead of trying to
      hack pg_description directly.  Documentation and regression tests added.
      
      Christopher Kings-Lynne, code reviewed by Tom
      42ce74bf
  16. 05 8月, 2003 1 次提交
  17. 04 8月, 2003 1 次提交
  18. 28 6月, 2003 2 次提交
    • 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
    • T
      Missing calls to PQclear in large_obj.c and describe.c. · 7dc5472d
      Tom Lane 提交于
      Greg Sabino Mullane
      7dc5472d
  19. 19 4月, 2003 1 次提交
  20. 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
  21. 15 10月, 2002 1 次提交
  22. 04 10月, 2002 1 次提交
  23. 05 9月, 2002 1 次提交
  24. 10 8月, 2002 1 次提交
  25. 06 3月, 2002 1 次提交
    • B
      Change made to elog: · 92288a1c
      Bruce Momjian 提交于
      o  Change all current CVS messages of NOTICE to WARNING.  We were going
      to do this just before 7.3 beta but it has to be done now, as you will
      see below.
      
      o Change current INFO messages that should be controlled by
      client_min_messages to NOTICE.
      
      o Force remaining INFO messages, like from EXPLAIN, VACUUM VERBOSE, etc.
      to always go to the client.
      
      o Remove INFO from the client_min_messages options and add NOTICE.
      
      Seems we do need three non-ERROR elog levels to handle the various
      behaviors we need for these messages.
      
      Regression passed.
      92288a1c
  26. 25 10月, 2001 1 次提交
  27. 05 10月, 2001 1 次提交
  28. 11 8月, 2001 1 次提交
    • T
      Make OIDs optional, per discussions in pghackers. WITH OIDS is still the · bf56f075
      Tom Lane 提交于
      default, but OIDS are removed from many system catalogs that don't need them.
      Some interesting side effects: TOAST pointers are 20 bytes not 32 now;
      pg_description has a three-column key instead of one.
      
      Bugs fixed in passing: BINARY cursors work again; pg_class.relhaspkey
      has some usefulness; pg_dump dumps comments on indexes, rules, and
      triggers in a valid order.
      
      initdb forced.
      bf56f075
  29. 03 6月, 2001 1 次提交
    • P
      Native Language Support (NLS) · e5420364
      Peter Eisentraut 提交于
      Use --enable-nls to turn it on; see installation instructions for details.
      See developer's guide how to make use of it in programs and how to add
      translations.
      
      psql sources have been almost fully prepared and an incomplete German
      translation has been provided.  In the backend, only elog() calls are
      currently translatable, and the provided German translation file is more
      of a placeholder.
      e5420364
  30. 22 3月, 2001 1 次提交
  31. 10 2月, 2001 1 次提交
    • T
      Restructure the key include files per recent pghackers discussion: there · d08741ea
      Tom Lane 提交于
      are now separate files "postgres.h" and "postgres_fe.h", which are meant
      to be the primary include files for backend .c files and frontend .c files
      respectively.  By default, only include files meant for frontend use are
      installed into the installation include directory.  There is a new make
      target 'make install-all-headers' that adds the whole content of the
      src/include tree to the installed fileset, for use by people who want to
      develop server-side code without keeping the complete source tree on hand.
      Cleaned up a whole lot of crufty and inconsistent header inclusions.
      d08741ea
  32. 24 10月, 2000 2 次提交
    • T
      Rejigger do_lo_list's query so that obj_description() is evaluated only · 4b70629b
      Tom Lane 提交于
      once per distinct LO, not once per pg_largeobject tuple.
      4b70629b
    • T
      Major overhaul of large-object implementation, by Denis Perchine with · 4f44aa04
      Tom Lane 提交于
      kibitzing from Tom Lane.  Large objects are now all stored in a single
      system relation "pg_largeobject" --- no more xinv or xinx files, no more
      relkind 'l'.  This should offer substantial performance improvement for
      large numbers of LOs, since there won't be directory bloat anymore.
      It'll also fix problems like running out of locktable space when you
      access thousands of LOs in one transaction.
      Also clean up cruft in read/write routines.  LOs with "holes" in them
      (never-written byte ranges) now work just like Unix files with holes do:
      a hole reads as zeroes but doesn't occupy storage space.
      INITDB forced!
      4f44aa04
  33. 13 4月, 2000 1 次提交
  34. 16 2月, 2000 1 次提交
  35. 08 2月, 2000 1 次提交
  36. 30 1月, 2000 1 次提交
    • P
      A few minor psql enhancements · 2b84cbb6
      Peter Eisentraut 提交于
      Initdb help correction
      Changed end/abort to commit/rollback and changed related notices
      Commented out way old printing functions in libpq
      Fixed a typo in alter table / alter column
      2b84cbb6
  37. 19 1月, 2000 1 次提交
  38. 15 1月, 2000 1 次提交