1. 04 7月, 2000 1 次提交
  2. 02 7月, 2000 1 次提交
  3. 23 6月, 2000 1 次提交
    • P
      Second pass over run-time configuration system. Adjust priorities on some · c4465095
      Peter Eisentraut 提交于
      option settings. Sort out SIGHUP vs BACKEND -- there is no total ordering
      here, so make explicit checks. Add comments explaining all of this.
      Removed permissions check on SHOW command.
      
      Add examine_subclass to the game, rename to SQL_inheritance to fit the
      official data model better. Adjust documentation.
      
      Standalone backend needs to reset all options before it starts. To
      facilitate that, have IsUnderPostmaster be set by the postmaster itself,
      don't wait for the magic -p switch.
      
      Also make sure that all environment variables and argv's survive
      init_ps_display(). Use strdup where necessary.
      
      Have initdb make configuration files (postgresql.conf, pg_hba.conf) mode
      0600 -- having configuration files is no fun if you can't edit them.
      c4465095
  4. 12 6月, 2000 1 次提交
  5. 10 6月, 2000 1 次提交
  6. 09 6月, 2000 1 次提交
    • B
      I have large database and with this DB work more users and I very need · 85add42a
      Bruce Momjian 提交于
      more restriction for fretful users. The current PG allow define only
      NO-CREATE-DB and NO-CREATE-USER restriction, but for some users I need
      NO-CREATE-TABLE and NO-LOCK-TABLE.
      
      This patch add to current code NOCREATETABLE and NOLOCKTABLE feature:
      
      CREATE USER username
          [ WITH
           [ SYSID uid ]
           [ PASSWORD 'password' ] ]
          [ CREATEDB   | NOCREATEDB ] [ CREATEUSER | NOCREATEUSER ]
      ->  [ CREATETABLE | NOCREATETABLE ] [ LOCKTABLE | NOLOCKTABLE ]
          ...etc.
      
       If CREATETABLE or LOCKTABLE is not specific in CREATE USER command,
      as default is set CREATETABLE or LOCKTABLE (true).
      
       A user with NOCREATETABLE restriction can't call CREATE TABLE or
      SELECT INTO commands, only create temp table is allow for him.
      
                                                      Karel
      85add42a
  7. 04 6月, 2000 1 次提交
  8. 31 5月, 2000 1 次提交
    • P
      The heralded `Grand Unified Configuration scheme' (GUC) · 6a68f426
      Peter Eisentraut 提交于
      That means you can now set your options in either or all of $PGDATA/configuration,
      some postmaster option (--enable-fsync=off), or set a SET command. The list of
      options is in backend/utils/misc/guc.c, documentation will be written post haste.
      
      pg_options is gone, so is that pq_geqo config file. Also removed were backend -K,
      -Q, and -T options (no longer applicable, although -d0 does the same as -Q).
      
      Added to configure an --enable-syslog option.
      
      changed all callers from TPRINTF to elog(DEBUG)
      6a68f426
  9. 25 4月, 2000 1 次提交
  10. 09 4月, 2000 1 次提交
  11. 07 4月, 2000 1 次提交
  12. 26 3月, 2000 1 次提交
  13. 25 3月, 2000 1 次提交
  14. 17 2月, 2000 1 次提交
  15. 09 2月, 2000 1 次提交
  16. 08 2月, 2000 1 次提交
    • B
      yesterday I had a problem with initdb. I set bad environment values · 1cc7e40c
      Bruce Momjian 提交于
      and initdb crashs (I set pglib path to PG 6.5.3 directory instead to
      7.0 and initdb take this BKI old templates ... (initdb not check
      BKI version and BKI files not has any version comments (TODO?))
      
       This patch add to the initdb --show option which show setting of all
      initdb's values. It spare developers time if in setting is bug.
      
                                                      Karel
      
      ----------------------------------------------------------------------
      Karel Zak <zakkr@zf.jcu.cz>              http://home.zf.jcu.cz/~zakkr/
      1cc7e40c
  17. 30 1月, 2000 1 次提交
    • P
      A few minor psql enhancements · 2b84cbb6
      Peter Eisentraut 提交于
      Initdb help correction
      Changed end/abort to commit/rollback and changed related notices
      Commented out way old printing functions in libpq
      Fixed a typo in alter table / alter column
      2b84cbb6
  18. 21 1月, 2000 1 次提交
  19. 20 1月, 2000 1 次提交
  20. 18 1月, 2000 1 次提交
  21. 16 1月, 2000 1 次提交
    • P
      - Allow array on int8 · 2a1bfbce
      Peter Eisentraut 提交于
      - Prevent permissions on indexes
      - Instituted --enable-multibyte option and tweaked the MB build process where necessary
      - initdb prompts for superuser password
      2a1bfbce
  22. 14 1月, 2000 1 次提交
  23. 22 12月, 1999 1 次提交
  24. 20 12月, 1999 1 次提交
  25. 18 12月, 1999 7 次提交
  26. 17 12月, 1999 4 次提交
    • B
      ANother initdb cleanup · 4f73187b
      Bruce Momjian 提交于
      4f73187b
    • B
      initdb.sh fix from Peter. · ac00256c
      Bruce Momjian 提交于
      ac00256c
    • B
      This is my -- hopefully sufficiently portable -- attempt at cleaning out · 83bad7c0
      Bruce Momjian 提交于
      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
    • B
      Hi, · 5ca971a1
      Bruce Momjian 提交于
      I sending promised patch with:
      
              * getopt_long() - for pg_dump (portable)
      
              * and "Usage: " changes in scripts in src/bin/
                - this changes are cosmetic only, not change any
                feature ...etc.
      
       All PostgreSQL routines (scripts) support now long options and
      help's output is alike for all scripts and all support -? or --help.
      
                                                      Karel
      
      Karel Zak <zakkr@zf.jcu.cz>              http://home.zf.jcu.cz/~zakkr/
      5ca971a1
  27. 12 12月, 1999 1 次提交
    • B
      I'm in TODO mood today ... · cb00b7fa
      Bruce Momjian 提交于
      * 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
  28. 09 12月, 1999 1 次提交
  29. 21 11月, 1999 1 次提交
    • T
      Change backend-side COPY to write files with permissions 644 not 666 · d8ba3dfb
      Tom Lane 提交于
      (whoever thought world-writable files were a good default????).  Modify
      the pg_pwd code so that pg_pwd is created with 600 permissions.  Modify
      initdb so that permissions on a pre-existing PGDATA directory are not
      blindly accepted: if the dir is already there, it does chmod go-rwx
      to be sure that the permissions are OK and the dir actually is owned
      by postgres.
      d8ba3dfb
  30. 07 10月, 1999 1 次提交
  31. 21 5月, 1999 1 次提交