1. 02 2月, 2006 4 次提交
  2. 01 2月, 2006 6 次提交
    • B
      Fix const cast in get_progname(). · 802c7aa3
      Bruce Momjian 提交于
      Backpatch.
      802c7aa3
    • B
      Set progname early in the postmaster/postgres binary, rather than doing · 62a14203
      Bruce Momjian 提交于
      it later.  This fixes a problem where EXEC_BACKEND didn't have progname
      set, causing a segfault if log_min_messages was set below debug2 and our
      own snprintf.c was being used.
      
      Also alway strdup() progname.
      
      Backpatch to 8.1.X and 8.0.X.
      62a14203
    • B
      Move items: · c6ef3264
      Bruce Momjian 提交于
      > * Add SQL99 WITH clause to SELECT
      > * Add SQL99 WITH RECURSIVE to SELECT
      < * Add SQL99 WITH clause to SELECT
      < * Add SQL99 WITH RECURSIVE to SELECT
      c6ef3264
    • B
      Add: · 5eb29fea
      Bruce Momjian 提交于
      >
      > 	o Prevent tab completion of SET TRANSACTION from querying the
      > 	  database and therefore preventing the transaction isolation
      > 	  level from being set.
      >
      > 	  Currently, SET <tab> causes a database lookup to check all
      > 	  supported session variables.  This query causes problems
      > 	  because setting the transaction isolation level must be the
      > 	  first statement of a transaction.
      5eb29fea
    • T
      6851baed
    • T
      Restructure planner's handling of inheritance. Rather than processing · 8a1468af
      Tom Lane 提交于
      inheritance trees on-the-fly, which pretty well constrained us to considering
      only one way of planning inheritance, expand inheritance sets during the
      planner prep phase, and build a side data structure that can be consulted
      later to find which RTEs are members of which inheritance sets.  As proof of
      concept, use the data structure to plan joins against inheritance sets more
      efficiently: we can now use indexes on the set members in inner-indexscan
      joins.  (The generated plans could be improved further, but it'll take some
      executor changes.)  This data structure will also support handling UNION ALL
      subqueries in the same way as inheritance sets, but that aspect of it isn't
      finished yet.
      8a1468af
  3. 31 1月, 2006 2 次提交
  4. 30 1月, 2006 3 次提交
  5. 29 1月, 2006 1 次提交
    • A
      · 4400ca2b
      Andrew Dunstan 提交于
      Undo perl's nasty locale setting on Windows. Since we can't do that as
      elsewhere by setting the environment appropriately, we make perl do it
      right after interpreter startup by calling its POSIX::setlocale().
      4400ca2b
  6. 28 1月, 2006 3 次提交
    • N
      Per a bug report from Theo Schlossnagle, plperl_return_next() leaks · ebdefb93
      Neil Conway 提交于
      memory in the executor's per-query memory context. It also inefficient:
      it invokes get_call_result_type() and TupleDescGetAttInMetadata() for
      every call to return_next, rather than invoking them once (per PL/Perl
      function call) and memoizing the result.
      
      This patch makes the following changes:
      
      - refactor the code to include all the "per PL/Perl function call" data
      inside a single struct, "current_call_data". This means we don't need to
      save and restore N pointers for every recursive call into PL/Perl, we
      can just save and restore one.
      
      - lookup the return type metadata needed by plperl_return_next() once,
      and then stash it in "current_call_data", so as to avoid doing the
      lookup for every call to return_next.
      
      - create a temporary memory context in which to evaluate the return
      type's input functions. This memory context is reset for each call to
      return_next.
      
      The patch appears to fix the memory leak, and substantially reduces
      the overhead imposed by return_next.
      ebdefb93
    • T
      Tweak initdb to reduce verbosity of progress messages, by printing just · cab99ec3
      Tom Lane 提交于
      one 'creating subdirectories' message instead of one per subdirectory.
      The original decision to print something for each subdirectory was made
      when there were only one or two of 'em; we have way too many now.
      Per discussion.
      cab99ec3
    • T
      Snowball multibyte. It's a pity, but snowball sources is very diferent for multibyte and · 5e2707c4
      Teodor Sigaev 提交于
      singlebyte encodings, so we should have snowball for every encodings.
      
      I hope that finalize multibyte support work in tsearch2, but testing is needed...
      5e2707c4
  7. 27 1月, 2006 2 次提交
  8. 26 1月, 2006 10 次提交
  9. 25 1月, 2006 1 次提交
  10. 24 1月, 2006 5 次提交
  11. 23 1月, 2006 3 次提交