1. 15 5月, 2005 1 次提交
  2. 22 4月, 2005 1 次提交
  3. 08 4月, 2005 1 次提交
  4. 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
  5. 20 3月, 2005 1 次提交
  6. 13 3月, 2005 1 次提交
  7. 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
  8. 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
  9. 18 10月, 2004 1 次提交
  10. 10 10月, 2004 1 次提交
  11. 08 10月, 2004 1 次提交
  12. 29 9月, 2004 1 次提交
  13. 22 9月, 2004 1 次提交
  14. 21 9月, 2004 1 次提交
  15. 31 8月, 2004 1 次提交
  16. 13 8月, 2004 2 次提交
  17. 09 8月, 2004 1 次提交
  18. 08 8月, 2004 1 次提交
  19. 07 8月, 2004 2 次提交
  20. 06 8月, 2004 2 次提交
  21. 22 7月, 2004 2 次提交
  22. 19 7月, 2004 1 次提交
  23. 12 7月, 2004 1 次提交
  24. 11 7月, 2004 1 次提交
  25. 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
  26. 05 4月, 2004 1 次提交
  27. 25 3月, 2004 1 次提交
  28. 24 3月, 2004 1 次提交
  29. 23 3月, 2004 1 次提交
  30. 15 3月, 2004 1 次提交
  31. 09 3月, 2004 1 次提交
    • B
      Add: · 2d3fe86b
      Bruce Momjian 提交于
      #log_line_prefix = ''         # e.g. '<%u%%%d> '
                                    # %u=user name %d=database name
                                    # %r=remote host and port
                                    # %p=PID %t=timestamp %i=command tag
                                    # %c=session id %l=session line number
                                    # %s=session start timestamp
                                    # %x=stop here in non-session processes
                                    # %%='%'
      
      Andrew Dunstan
      2d3fe86b
  32. 17 2月, 2004 2 次提交
  33. 07 2月, 2004 1 次提交
  34. 04 2月, 2004 2 次提交