1. 04 11月, 2000 1 次提交
  2. 02 10月, 2000 1 次提交
  3. 06 9月, 2000 1 次提交
    • P
      Code cleanup of user name and user id handling in the backend. The current · 6dc24961
      Peter Eisentraut 提交于
      user is now defined in terms of the user id, the user name is only computed
      upon request (for display purposes). This is kind of the opposite of the
      previous state, which would maintain the user name and compute the user id
      for permission checks.
      
      Besides perhaps saving a few cycles (integer vs string), this now creates a
      single point of attack for changing the user id during a connection, for
      purposes of "setuid" functions, etc.
      6dc24961
  4. 01 8月, 2000 1 次提交
  5. 13 4月, 2000 1 次提交
  6. 26 1月, 2000 1 次提交
    • B
      Add: · 5c25d602
      Bruce Momjian 提交于
        * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
      
      to all files copyright Regents of Berkeley.  Man, that's a lot of files.
      5c25d602
  7. 18 1月, 2000 1 次提交
  8. 17 1月, 2000 1 次提交
  9. 15 1月, 2000 1 次提交
  10. 14 1月, 2000 1 次提交
  11. 25 11月, 1999 1 次提交
  12. 24 11月, 1999 1 次提交
  13. 23 11月, 1999 1 次提交
  14. 08 11月, 1999 1 次提交
  15. 19 9月, 1999 1 次提交
    • T
      Mega-commit to make heap_open/heap_openr/heap_close take an · bd272cac
      Tom Lane 提交于
      additional argument specifying the kind of lock to acquire/release (or
      'NoLock' to do no lock processing).  Ensure that all relations are locked
      with some appropriate lock level before being examined --- this ensures
      that relevant shared-inval messages have been processed and should prevent
      problems caused by concurrent VACUUM.  Fix several bugs having to do with
      mismatched increment/decrement of relation ref count and mismatched
      heap_open/close (which amounts to the same thing).  A bogus ref count on
      a relation doesn't matter much *unless* a SI Inval message happens to
      arrive at the wrong time, which is probably why we got away with this
      sloppiness for so long.  Repair missing grab of AccessExclusiveLock in
      DROP TABLE, ALTER/RENAME TABLE, etc, as noted by Hiroshi.
      Recommend 'make clean all' after pulling this update; I modified the
      Relation struct layout slightly.
      Will post further discussion to pghackers list shortly.
      bd272cac
  16. 31 7月, 1999 1 次提交
  17. 18 7月, 1999 1 次提交
  18. 16 7月, 1999 3 次提交
  19. 19 6月, 1999 1 次提交
  20. 10 5月, 1999 1 次提交
  21. 18 3月, 1999 1 次提交
  22. 14 2月, 1999 1 次提交
  23. 15 12月, 1998 1 次提交
  24. 28 11月, 1998 1 次提交
  25. 01 9月, 1998 2 次提交
  26. 19 8月, 1998 1 次提交
    • B
      heap_fetch requires buffer pointer, must be released; heap_getnext · 79715390
      Bruce Momjian 提交于
      no longer returns buffer pointer, can be gotten from scan;
      	descriptor; bootstrap can create multi-key indexes;
      pg_procname index now is multi-key index; oidint2, oidint4, oidname
      are gone (must be removed from regression tests); use System Cache
      rather than sequential scan in many places; heap_modifytuple no
      longer takes buffer parameter; remove unused buffer parameter in
      a few other functions; oid8 is not index-able; remove some use of
      single-character variable names; cleanup Buffer variables usage
      and scan descriptor looping; cleaned up allocation and freeing of
      tuples; 18k lines of diff;
      79715390
  27. 12 8月, 1998 1 次提交
  28. 28 7月, 1998 1 次提交
  29. 16 6月, 1998 1 次提交
  30. 10 5月, 1998 1 次提交
  31. 27 4月, 1998 1 次提交
    • B
      This patch... · 09baa3cc
      Bruce Momjian 提交于
      1. Removes the unnecessary "#define AbcRegProcedure 123"'s from
      pg_proc.h.
      
      2. Changes those #defines to use the names already defined in
      fmgr.h.
      
      3. Forces the make of fmgr.h in backend/Makefile instead of having
      it
         made as a dependency in access/common/Makefile  *hack*hack*hack*
      
      4. Rearranged the #includes to a less helter-skelter arrangement,
      also
          changing <file.h> to "file.h" to signify a non-system header.
      
      5. Removed "pg_proc.h" from files where its only purpose was for
      the
         #defines removed in item #1.
      
      6. Added "fmgr.h" to each file changed for completeness sake.
      
      Turns out that #6 was not necessary for some files because fmgr.h
      was being included in a roundabout way SIX levels deep by the first
      include.
      
      "access/genam.h"
       ->"access/relscan.h"
         ->"utils/rel.h"
           ->"access/strat.h"
             ->"access/skey.h"
      	 ->"fmgr.h"
      
      So adding fmgr.h really didn't add anything to the compile, hopefully
      just made it clearer to the programmer.
      
      S Darren.
      09baa3cc
  32. 26 2月, 1998 1 次提交
  33. 25 2月, 1998 1 次提交
    • M
      From: Jan Wieck <jwieck@debis.com> · 780068f8
      Marc G. Fournier 提交于
          seems  that  my last post didn't make it through. That's good
          since  the  diff  itself  didn't  covered  the  renaming   of
          pg_user.h to pg_shadow.h and it's new content.
      
          Here  it's  again.  The  complete regression test passwd with
          only some  float  diffs.  createuser  and  destroyuser  work.
          pg_shadow cannot be read by ordinary user.
      780068f8
  34. 24 2月, 1998 1 次提交
    • M
      From: Jan Wieck <jwieck@debis.com> · 5cf1964f
      Marc G. Fournier 提交于
          So   if   the   relname   is   given   to   acldefault()   in
          utils/adt/acl.c, it can do a IsSystemRelationName() on it and
          return ACL_RD instead of ACL_WORLD_DEFAULT.
      5cf1964f
  35. 12 2月, 1998 1 次提交
  36. 31 1月, 1998 1 次提交
  37. 16 1月, 1998 1 次提交
    • P
      Thank god for searchable mail archives. · baef78d9
      PostgreSQL Daemon 提交于
      Patch by: wieck@sapserv.debis.de (Jan Wieck)
      
         One  of  the design rules of PostgreSQL is extensibility. And
         to follow this rule means (at least for me) that there should
         not  only  be a builtin PL.  Instead I would prefer a defined
         interface for PL implemetations.
      baef78d9