Skip to content
Snippets Groups Projects
  1. Dec 08, 2001
  2. Nov 28, 2001
  3. Sep 08, 2001
    • Peter Eisentraut's avatar
      Make the world somewhat safe for (not from) DELETE FROM pg_shadow; · c0d4d547
      Peter Eisentraut authored
      Assign the fixed user id 1 to the user created by initdb.
      A stand-alone backend will always set the user id to 1.
      (Consequently, the name of that user is no longer important.)
      
      In stand-alone mode, the user id 1 will have implicit superuser
      status, to allow repairs even if there are no users defined.
      
      Print a warning message when starting in stand-alone mode when no
      users are defined.
      
      Disallow dropping the current user and session user.
      
      Granting/revoking superuser status also grants/revokes usecatupd.
      (Previously, it would never grant it back.  This could lead to "deadlocks".)
      
      CREATE USER and CREATE GROUP will start allocating user ids at 100
      (unless explicitly specified), to prevent accidental creation of a
      superuser (plus some room for future extensions).
      c0d4d547
  4. Sep 03, 2001
  5. Jan 20, 2001
  6. Dec 26, 2000
  7. Nov 12, 2000
  8. Oct 05, 2000
  9. May 02, 2000
  10. Mar 27, 2000
  11. Jan 20, 2000
  12. Jan 18, 2000
  13. Jan 15, 2000
    • Peter Eisentraut's avatar
      - Allow array on int8 · 2a1bfbce
      Peter Eisentraut authored
      - Prevent permissions on indexes
      - Instituted --enable-multibyte option and tweaked the MB build process where necessary
      - initdb prompts for superuser password
      2a1bfbce
  14. Dec 17, 1999
    • Bruce Momjian's avatar
      This is my -- hopefully sufficiently portable -- attempt at cleaning out · 83bad7c0
      Bruce Momjian authored
      initdb. No more obscure dependencies on environment variables or paths.
      It
      now finds the templates and the right postgres itself (with cmd line
      options as fallback). It also no longer depends on $USER (su safe), and
      doesn't advertise that --username allows you to install the db as a
      different user, since that doesn't work anyway. Also, recovery and
      cleanup
      on all errors. Consistent options, clearer documentation.
      
      Please take a look at this and adopt it if you feel it's safe enough. I
      have simulated all the stupid circumstances I could think of, but you
      never know with shell scripts.
      
      Oh yeah, you can give the postgres user a default password now.
      
      --
      Peter Eisentraut                  Sernanders väg 10:115
      83bad7c0
  15. Jul 22, 1999
  16. Jul 06, 1999
  17. Dec 29, 1998
  18. Oct 30, 1998
  19. Oct 05, 1998
Loading