1. 24 7月, 2005 1 次提交
  2. 22 4月, 2005 1 次提交
  3. 01 4月, 2005 1 次提交
  4. 27 7月, 2003 1 次提交
    • B
      > Joe Conway <mail@joeconway.com> writes: · 38fb906f
      Bruce Momjian 提交于
      >>ISTM that "source" is worth knowing.
      >
      > Hm, possibly.  Any other opinions?
      
      This version has the seven fields I proposed, including "source". Here's
      an example that shows why I think it's valuable:
      
      regression=# \x
      Expanded display is on.
      regression=# select * from pg_settings where name = 'enable_seqscan';
      -[ RECORD 1 ]-----------
      name    | enable_seqscan
      setting | on
      context | user
      vartype | bool
      source  | default
      min_val |
      max_val |
      
      regression=# update pg_settings set setting = 'off' where name =
      'enable_seqscan';
      -[ RECORD 1 ]---
      set_config | off
      
      regression=# select * from pg_settings where name = 'enable_seqscan';
      -[ RECORD 1 ]-----------
      name    | enable_seqscan
      setting | off
      context | user
      vartype | bool
      source  | session
      min_val |
      max_val |
      
      regression=# alter user postgres set enable_seqscan to 'off';
      ALTER USER
      
      (log out and then back in again)
      
      regression=# \x
      Expanded display is on.
      regression=# select * from pg_settings where name = 'enable_seqscan';
      -[ RECORD 1 ]-----------
      name    | enable_seqscan
      setting | off
      context | user
      vartype | bool
      source  | user
      min_val |
      max_val |
      
      In the first case, enable_seqscan is set to its default value. After
      setting it to off, it is obvious that the value has been changed for the
      session only. In the third case, you can see that the value has been set
      specifically for the user.
      
      Joe Conway
      38fb906f
  5. 20 7月, 2003 1 次提交
  6. 14 2月, 2003 1 次提交
    • T
      Arrange to give error when a SetOp member statement refers to a variable · 18e8f06c
      Tom Lane 提交于
      of the containing query (which really can only happen in a rule context).
      Per example from Brandon Craig Rhodes.  Also, make the error message
      more specific for the similar case with sub-select in FROM.  The revised
      coding should be easier to adapt to SQL99's LATERAL(), when we get around
      to supporting that.
      18e8f06c
  7. 21 11月, 2002 1 次提交
  8. 31 8月, 2002 1 次提交
  9. 29 8月, 2002 1 次提交
  10. 06 8月, 2002 1 次提交
  11. 16 7月, 2002 1 次提交
    • T
      Add code to extract dependencies from an expression tree, and use it · 30ec3160
      Tom Lane 提交于
      to build dependencies for rules, constraint expressions, and default
      expressions.  Repair some problems in the original design of
      recursiveDeletion() exposed by more complex dependency sets.  Fix
      regression tests that were deleting things in illegal sequences.
      30ec3160
  12. 21 6月, 2002 1 次提交