1. 06 7月, 2005 1 次提交
  2. 03 7月, 2005 2 次提交
  3. 01 7月, 2005 1 次提交
  4. 26 6月, 2005 1 次提交
  5. 18 6月, 2005 1 次提交
  6. 10 6月, 2005 3 次提交
  7. 05 6月, 2005 2 次提交
    • B
      · 72c53ac3
      Bruce Momjian 提交于
      Allow kerberos name and username case sensitivity to be specified from
      postgresql.conf.
      
      ---------------------------------------------------------------------------
      
      
      Here's an updated version of the patch, with the following changes:
      
      1) No longer uses "service name" as "application version". It's instead
      hardcoded as "postgres". It could be argued that this part should be
      backpatched to 8.0, but it doesn't make a big difference until you can
      start changing it with GUC / connection parameters. This change only
      affects kerberos 5, not 4.
      
      2) Now downcases kerberos usernames when the client is running on win32.
      
      3) Adds guc option for "krb_caseins_users" to make the server ignore
      case mismatch which is required by some KDCs such as Active Directory.
      Off by default, per discussion with Tom. This change only affects
      kerberos 5, not 4.
      
      4) Updated so it doesn't conflict with the rendevouz/bonjour patch
      already in ;-)
      
      Magnus Hagander
      72c53ac3
    • B
      00750f3f
  8. 15 5月, 2005 1 次提交
  9. 22 4月, 2005 1 次提交
  10. 08 4月, 2005 1 次提交
  11. 24 3月, 2005 1 次提交
    • B
      Change Win32 O_SYNC method to O_DSYNC because that is what the method · b1f57d88
      Bruce Momjian 提交于
      currently does.  This is now the default Win32 wal sync method because
      we perfer o_datasync to fsync.
      
      Also, change Win32 fsync to a new wal sync method called
      fsync_writethrough because that is the behavior of _commit, which is
      what is used for fsync on Win32.
      
      Backpatch to 8.0.X.
      b1f57d88
  12. 20 3月, 2005 1 次提交
  13. 13 3月, 2005 1 次提交
  14. 05 3月, 2005 1 次提交
    • T
      Replace the BufMgrLock with separate locks on the lookup hashtable and · 5d508736
      Tom Lane 提交于
      the freelist, plus per-buffer spinlocks that protect access to individual
      shared buffer headers.  This requires abandoning a global freelist (since
      the freelist is a global contention point), which shoots down ARC and 2Q
      as well as plain LRU management.  Adopt a clock sweep algorithm instead.
      Preliminary results show substantial improvement in multi-backend situations.
      5d508736
  15. 06 11月, 2004 1 次提交
    • T
      Create 'default_tablespace' GUC variable that supplies a TABLESPACE · 98e8b480
      Tom Lane 提交于
      clause implicitly whenever one is not given explicitly.  Remove concept
      of a schema having an associated tablespace, and simplify the rules for
      selecting a default tablespace for a table or index.  It's now just
      (a) explicit TABLESPACE clause; (b) default_tablespace if that's not an
      empty string; (c) database's default.  This will allow pg_dump to use
      SET commands instead of tablespace clauses to determine object locations
      (but I didn't actually make it do so).  All per recent discussions.
      98e8b480
  16. 18 10月, 2004 1 次提交
  17. 10 10月, 2004 1 次提交
  18. 08 10月, 2004 1 次提交
  19. 29 9月, 2004 1 次提交
  20. 22 9月, 2004 1 次提交
  21. 21 9月, 2004 1 次提交
  22. 31 8月, 2004 1 次提交
  23. 13 8月, 2004 2 次提交
  24. 09 8月, 2004 1 次提交
  25. 08 8月, 2004 1 次提交
  26. 07 8月, 2004 2 次提交
  27. 06 8月, 2004 2 次提交
  28. 22 7月, 2004 2 次提交
  29. 19 7月, 2004 1 次提交
  30. 12 7月, 2004 1 次提交
  31. 11 7月, 2004 1 次提交
  32. 07 4月, 2004 1 次提交
    • B
      > >>1. change the type of "log_statement" option from boolean to string, · 6a25c6e1
      Bruce Momjian 提交于
      > >>with allowed values of "all, mod, ddl, none" with default "none".
      
      OK, here is a patch that implements #1.  Here is sample output:
      
              test=> set client_min_messages = 'log';
              SET
              test=> set log_statement = 'mod';
              SET
              test=> select 1;
               ?column?
              ----------
                      1
              (1 row)
      
              test=> update test set x=1;
              LOG:  statement: update test set x=1;
              ERROR:  relation "test" does not exist
              test=> update test set x=1;
              LOG:  statement: update test set x=1;
              ERROR:  relation "test" does not exist
              test=> copy test from '/tmp/x';
              LOG:  statement: copy test from '/tmp/x';
              ERROR:  relation "test" does not exist
              test=> copy test to  '/tmp/x';
              ERROR:  relation "test" does not exist
              test=> prepare xx as select 1;
              PREPARE
              test=> prepare xx as update x set y=1;
              LOG:  statement: prepare xx as update x set y=1;
              ERROR:  relation "x" does not exist
              test=> explain analyze select 1;;
                                                   QUERY PLAN
              ------------------------------------------------------------------------------------
               Result  (cost=0.00..0.01 rows=1 width=0) (actual time=0.006..0.007 rows=1 loops=1)
               Total runtime: 0.046 ms
              (2 rows)
      
              test=> explain analyze update test set x=1;
              LOG:  statement: explain analyze update test set x=1;
              ERROR:  relation "test" does not exist
              test=> explain update test set x=1;
              ERROR:  relation "test" does not exist
      
      It checks PREPARE and EXECUTE ANALYZE too.  The log_statement values are
      'none', 'mod', 'ddl', and 'all'.  For 'all', it prints before the query
      is parsed, and for ddl/mod, it does it right after parsing using the
      node tag (or command tag for CREATE/ALTER/DROP), so any non-parse errors
      will print after the log line.
      6a25c6e1