1. 09 12月, 2005 5 次提交
    • T
      Simplify lock manager data structures by making a clear separation between · c599a247
      Tom Lane 提交于
      the data defining the semantics of a lock method (ie, conflict resolution
      table and ancillary data, which is all constant) and the hash tables
      storing the current state.  The only thing we give up by this is the
      ability to use separate hashtables for different lock methods, but there
      is no need for that anyway.  Put some extra fields into the LockMethod
      definition structs to clean up some other uglinesses, like hard-wired
      tests for DEFAULT_LOCKMETHOD and USER_LOCKMETHOD.  This commit doesn't
      do anything about the performance issues we were discussing, but it clears
      away some of the underbrush that's in the way of fixing that.
      c599a247
    • B
      > 1) I'm proposing a patch to do the DROP FUNCTION argument tab completion. · c03aa1f9
      Bruce Momjian 提交于
      > Now, the arguments of the drop function can be tab completed. for example
      >
      > drop function strpos (
      > <press tab>
      > drop FUNCTION strpos (text, text)
      >
      > or:
      >
      > wsdb=# drop FUNCTION length (
      > bit)        bytea)      character)  lseg)       path)       text)
      > <press c>
      > wsdb# DROP FUNCTION length ( character)
      >
      > I think that this patch should be rather useful. At it least I hate
      > always to type all the arguments of the dropped functions.
      >
      > 2) Also some fixes applied for the
      > CREATE INDEX syntax
      >
      > now the parenthesises are inserted by tab pressing.
      > suppose I have the table q3c:
      
      Sergey E. Koposov
      c03aa1f9
    • P
      Add missing translation marker · a80c9ad0
      Peter Eisentraut 提交于
      a80c9ad0
    • T
      Fix bgwriter's failure to release buffer pins and open files after an · aaa3dfd2
      Tom Lane 提交于
      error.  This probably explains bug #2099 and could also account for
      mysterious VACUUM hangups.
      aaa3dfd2
    • B
      Disble some Win32-specific code in win32-client-only builds: · 4ebd4224
      Bruce Momjian 提交于
      I have the problem, when building by MS-VC6.
      An error occurs in the 8.1.0 present source codes.
      
      nmake -f win32.mak
      ..\..\port\getaddrinfo.c(244) : error C2065: 'WSA_NOT_ENOUGH_MEMORY'
      ..\..\port\getaddrinfo.c(342) : error C2065: 'WSATYPE_NOT_FOUND'
      
      This is used by winsock2.h. However, Construction of a windows base is
      winsock.h.
      Then, Since MinGW has special environment, this is right. but, it is not
      found in VC6.
      Furthermore, in getaddrinfo.c, IPV6-API is used by
      LoadLibraryA("ws2_32");
      Referring to of dll the external memory generates this violation by VC6
      specification.
      
      I considered whether the whole should have been converted into winsock2.
      However, Now, DLL of MinGW creation operates wonderfully as it is.
      That's right, it has pliability by replacement of simple DLL.
      Then, I propose the system using winsock(non IPV6) in construction of
      VC6.
      
      Hiroshi Saito
      4ebd4224
  2. 08 12月, 2005 3 次提交
    • T
      Fix thinko in comment. · f38c3e77
      Tom Lane 提交于
      f38c3e77
    • T
      Push the responsibility for handling ignore_killed_tuples down into · cefcbbf1
      Tom Lane 提交于
      _bt_checkkeys(), instead of checking it in the top-level nbtree.c routines
      as formerly.  This saves a little bit of loop overhead, but more importantly
      it lets us skip performing the index key comparisons for dead tuples.
      cefcbbf1
    • T
      A couple of tiny performance hacks in _bt_step(). Remove PageIsEmpty · f1b059af
      Tom Lane 提交于
      checks, which were once needed because PageGetMaxOffsetNumber would
      fail on empty pages, but are now just redundant.  Also, don't set up
      local variables that aren't needed in the fast path --- most of the
      time, we only need to advance offnum and not step across a page boundary.
      Motivated by noticing _bt_step at the top of OProfile profile for a
      pgbench run.
      f1b059af
  3. 07 12月, 2005 6 次提交
  4. 06 12月, 2005 4 次提交
  5. 05 12月, 2005 2 次提交
  6. 04 12月, 2005 3 次提交
  7. 03 12月, 2005 3 次提交
  8. 02 12月, 2005 8 次提交
  9. 01 12月, 2005 3 次提交
  10. 30 11月, 2005 1 次提交
  11. 29 11月, 2005 2 次提交