1. 04 Feb, 2000 2 commits
  2. 03 Feb, 2000 1 commit
  3. 29 Jan, 2000 1 commit
  4. 28 Jan, 2000 4 commits
  5. 24 Jan, 2000 1 commit
  6. 23 Jan, 2000 3 commits
  7. 22 Jan, 2000 1 commit
  8. 21 Jan, 2000 2 commits
  9. 17 Jan, 2000 1 commit
  10. 16 Jan, 2000 4 commits
  11. 15 Jan, 2000 1 commit
  12. 14 Jan, 2000 1 commit
  13. 13 Jan, 2000 7 commits
  14. 11 Jan, 2000 1 commit
  15. 10 Jan, 2000 2 commits
  16. 14 Dec, 1999 1 commit
  17. 12 Dec, 1999 2 commits
    • Bruce Momjian's avatar
      I'm in TODO mood today ... · cb00b7fa
      Bruce Momjian authored
      * Document/trigger/rule so changes to pg_shadow recreate pg_pwd
      
      I did it with a trigger and it seems to work like a charm. The function
      that already updates the file for create and alter user has been made a
      built-in "SQL" function and a trigger is created at initdb time.
      
      Comments around the pg_pwd updating function seem to be worried about
      this
      routine being called concurrently, but I really don't see a reason to
      worry about this. Verify for yourself. I guess we never had a system
      trigger before, so treat this with care, and feel free to adjust the
      nomenclature as well.
      
      --
      Peter Eisentraut                  Sernanders väg 10:115
      cb00b7fa
    • Bruce Momjian's avatar
      Meanwhile, database names with single quotes in names don't work very well · 11023eb1
      Bruce Momjian authored
      at all, and because of shell quoting rules this can't be fixed, so I put
      in error messages to that end.
      
      Also, calling create or drop database in a transaction block is not so
      good either, because the file system mysteriously refuses to roll back rm
      calls on transaction aborts. :) So I put in checks to see if a transaction
      is in progress and signal an error.
      
      Also I put the whole call in a transaction of its own to be able to roll
      back changes to pg_database in case the file system operations fail.
      
      The alternative location issues I posted recently were untouched, awaiting
      the outcome of that discussion. Other than that, this should be much more
      fool-proof now.
      
      The docs I cleaned up as well.
      
      Peter Eisentraut                  Sernanders väg 10:115
      11023eb1
  18. 11 Dec, 1999 1 commit
  19. 30 Nov, 1999 1 commit
  20. 26 Nov, 1999 1 commit
  21. 22 Nov, 1999 1 commit
  22. 14 Nov, 1999 1 commit