1. 19 Mar, 2002 11 commits
    • Bruce Momjian's avatar
      Add · bc2b786a
      Bruce Momjian authored
      > * -Add domain capability [domain] (Rod Taylor)
      bc2b786a
    • Bruce Momjian's avatar
      psql \? cleanups by Ian Barwick · 714f7859
      Bruce Momjian authored
      714f7859
    • Bruce Momjian's avatar
      The attached patch cleans up the implementation of the TRUNCATE command; · a9819ca2
      Bruce Momjian authored
      in the current code, the authentication logic (check user, check the
      relation we're operating on, etc) is done in tcop/utility.c, whereas the
      actual TRUNCATE command in done in TruncateRelation() in
      commands/createinh.c (which is really just a wrapper over
      heap_truncate() in catalog/heap.c). This patch moves the authentication
      logic into TruncateRelation(), as well as making some minor code
      cleanups.
      
      Neil Conway
      a9819ca2
    • Bruce Momjian's avatar
      Fix for trigger handling: · d8e70cd8
      Bruce Momjian authored
               * We should not even consider checking the row if it is no longer
               * valid since it was either deleted (doesn't matter) or updated
               * (in which case it'll be checked with its final values).
      
      Stephan Szabo
      d8e70cd8
    • Bruce Momjian's avatar
      >Added ServerEncoding · eb1fb865
      Bruce Momjian authored
      >       Korean (JOHAB), Thai (WIN874),
      >       Vietnamese (TCVN), Arabic (WIN1256)
      >
      >Added ClientEncoding
      >       Simplified Chinese (GBK), Korean (UHC)
      >
      >Add PsqlODBC and document ...etc patch.
      
      
      "JDBC patch" is delivered, too. :-)
      
      
      
      Eiji Tokuya
      eb1fb865
    • Bruce Momjian's avatar
      > I am backing out this patch. Please resubmit with this corrected. Thanks. · d3337c6e
      Bruce Momjian authored
      >
      > I am running Python 1.5.
      
      Therein lies the problem... :)
      
      Since it appears you have the requirement of supporting old python
      versions, attached is just the pgdb.py part of the patch (with a fix for
      DateTime handling). It has the same functionality but certainly won't be
      quite as fast. Given the absence of _PyString_Join in python1.5, it's a
      pain to get the C variants working for all versions. The pgdb.py patch
      does leaves the hooks in, should someone wish to do the optimization at a
      later point.
      
      Elliot Lee
      d3337c6e
    • Bruce Momjian's avatar
      a7ade2bb
    • Bruce Momjian's avatar
      d3788c33
    • Dave Cramer's avatar
      applied patch from Liam Stewart · 525b1939
      Dave Cramer authored
      If one is trying to compile a JDBC 1 driver and junit.jar is in the
      CLASSPATH, then the build fails as ant tries to build the JDBC 2 test
      classes. This patch fixes this problem by excluding the jdbc 2 files
      unless the jdk1.2+ property is set.
      525b1939
    • Bruce Momjian's avatar
      Comment patch: · 1f0e5f67
      Bruce Momjian authored
      This one better describes the problem.
      
      heap.c needs to be updated to include 'Hard coded badness' for that
      table.
      --
      Rod Taylor
      1f0e5f67
    • Bruce Momjian's avatar
      Improve wording of bug fix: · 367856d9
      Bruce Momjian authored
      	Ensure that sequence counters do not go backwards after a crash
      367856d9
  2. 18 Mar, 2002 3 commits
  3. 17 Mar, 2002 1 commit
  4. 16 Mar, 2002 2 commits
    • Tom Lane's avatar
      Try to make array_in's behavior a tad less bizarre. Leading whitespace · 0f2fbbba
      Tom Lane authored
      before a data item is now always skipped, rather than only sometimes.
      Backslashes not within double-quoted text are treated reasonably, as
      are multiple sequences of quoted text in a single data item.  But it
      still seems rather prone to misbehavior if the input is not completely
      syntactically correct --- in particular, garbage following a right brace
      will be ignored.
      0f2fbbba
    • Dave Cramer's avatar
      fixed QueryExecuter to deal with multiple errors · 134fe5ec
      Dave Cramer authored
      previously it was throwing a SQLException as soon as the error message was
      received from the backend. This did not allow the protocol to finish properly
      now, simply collects error messages from the backend until the query is done
      and throws exception at the end
      Also added setLogLevel to Driver.java, and made the log levels public
      134fe5ec
  5. 15 Mar, 2002 5 commits
  6. 14 Mar, 2002 2 commits
  7. 13 Mar, 2002 1 commit
    • Peter Eisentraut's avatar
      Move · f362dcec
      Peter Eisentraut authored
        src/GNUmakefile.in to src/Makefile
      and
        src/backend/port/Makefile.in to src/backend/port/Makefile
      
      All configure substitutions are now done in Makefile.global.
      f362dcec
  8. 12 Mar, 2002 2 commits
    • Bruce Momjian's avatar
    • Tom Lane's avatar
      Restructure representation of join alias variables. An explicit JOIN · 6eeb95f0
      Tom Lane authored
      now has an RTE of its own, and references to its outputs now are Vars
      referencing the JOIN RTE, rather than CASE-expressions.  This allows
      reverse-listing in ruleutils.c to use the correct alias easily, rather
      than painfully reverse-engineering the alias namespace as it used to do.
      Also, nested FULL JOINs work correctly, because the result of the inner
      joins are simple Vars that the planner can cope with.  This fixes a bug
      reported a couple times now, notably by Tatsuo on 18-Nov-01.  The alias
      Vars are expanded into COALESCE expressions where needed at the very end
      of planning, rather than during parsing.
      Also, beginnings of support for showing plan qualifier expressions in
      EXPLAIN.  There are probably still cases that need work.
      initdb forced due to change of stored-rule representation.
      6eeb95f0
  9. 11 Mar, 2002 10 commits
  10. 10 Mar, 2002 3 commits