1. 11 12月, 2009 3 次提交
  2. 10 12月, 2009 3 次提交
  3. 09 12月, 2009 2 次提交
  4. 08 12月, 2009 1 次提交
  5. 07 12月, 2009 1 次提交
  6. 06 12月, 2009 1 次提交
  7. 03 12月, 2009 1 次提交
  8. 02 12月, 2009 2 次提交
    • B
      thread-safety · 8c1c2e38
      Bruce Momjian 提交于
      Apply full patch to enable thread-safety by default, e.g. doc changes.
      8c1c2e38
    • T
      Mark application_name as GUC_REPORT so that the value will be reported back · 59ed94ad
      Tom Lane 提交于
      to the client by the server.  This might seem pretty pointless but apparently
      it will help pgbouncer, and perhaps other connection poolers.  Anyway it's
      practically free to do so for the normal use-case where appname is only set
      in the startup packet --- we're just adding a few more bytes to the initial
      ParameterStatus response packet.  Per comments from Marko Kreen.
      59ed94ad
  9. 01 12月, 2009 3 次提交
  10. 30 11月, 2009 3 次提交
  11. 29 11月, 2009 3 次提交
  12. 28 11月, 2009 1 次提交
  13. 27 11月, 2009 1 次提交
  14. 26 11月, 2009 1 次提交
  15. 25 11月, 2009 1 次提交
  16. 24 11月, 2009 1 次提交
  17. 23 11月, 2009 1 次提交
  18. 22 11月, 2009 1 次提交
    • T
      Improve psql's tabular display of wrapped-around data by inserting markers · 1753337c
      Tom Lane 提交于
      in the formerly-always-blank columns just to left and right of the data.
      Different marking is used for a line break caused by a newline in the data
      than for a straight wraparound.  A newline break is signaled by a "+" in the
      right margin column in ASCII mode, or a carriage return arrow in UNICODE mode.
      Wraparound is signaled by a dot in the right margin as well as the following
      left margin in ASCII mode, or an ellipsis symbol in the same places in UNICODE
      mode.  "\pset linestyle old-ascii" is added to make the previous behavior
      available if anyone really wants it.
      
      In passing, this commit also cleans up a few regression test files that
      had unintended spacing differences from the current actual output.
      
      Roger Leigh, reviewed by Gabrielle Roth and other members of PDXPUG.
      1753337c
  19. 21 11月, 2009 1 次提交
    • T
      Add a WHEN clause to CREATE TRIGGER, allowing a boolean expression to be · 7fc0f062
      Tom Lane 提交于
      checked to determine whether the trigger should be fired.
      
      For BEFORE triggers this is mostly a matter of spec compliance; but for AFTER
      triggers it can provide a noticeable performance improvement, since queuing of
      a deferred trigger event and re-fetching of the row(s) at end of statement can
      be short-circuited if the trigger does not need to be fired.
      
      Takahiro Itagaki, reviewed by KaiGai Kohei.
      7fc0f062
  20. 19 11月, 2009 1 次提交
  21. 17 11月, 2009 1 次提交
  22. 14 11月, 2009 1 次提交
    • T
      Add control knobs for plpgsql's variable resolution behavior, and make the · 63176099
      Tom Lane 提交于
      default be "throw error on conflict", as per discussions.  The GUC variable
      is plpgsql.variable_conflict, with values "error", "use_variable",
      "use_column".  The behavior can also be specified per-function by inserting
      one of
      	#variable_conflict error
      	#variable_conflict use_variable
      	#variable_conflict use_column
      at the start of the function body.
      
      The 8.5 release notes will need to mention using "use_variable" to retain
      backward-compatible behavior, although we should encourage people to migrate
      to the much less mistake-prone "error" setting.
      
      Update the plpgsql documentation to match this and other recent changes.
      63176099
  23. 12 11月, 2009 1 次提交
  24. 10 11月, 2009 2 次提交
  25. 06 11月, 2009 2 次提交
    • T
      Don't treat NEW and OLD as reserved words anymore. For the purposes of rules · 593f4b85
      Tom Lane 提交于
      it works just as well to have them be ordinary identifiers, and this gets rid
      of a number of ugly special cases.  Plus we aren't interfering with non-rule
      usage of these names.
      
      catversion bump because the names change internally in stored rules.
      593f4b85
    • T
      Remove plpgsql's RENAME declaration, which has bizarre and mostly nonfunctional · c29ae527
      Tom Lane 提交于
      behavior, and is so little used that no one has been interested in fixing it.
      To ensure that possible uses are covered, remove the ALIAS declaration's
      arbitrary restriction that only $n identifiers can be aliased.
      
      (We could alternatively make RENAME act just like ALIAS, but per discussion
      having two different ways to do the same thing is probably more confusing than
      helpful.)
      c29ae527
  26. 05 11月, 2009 1 次提交
    • T
      Add support for invoking parser callback hooks via SPI and in cached plans. · 9bedd128
      Tom Lane 提交于
      As proof of concept, modify plpgsql to use the hooks.  plpgsql is still
      inserting $n symbols textually, but the "back end" of the parsing process now
      goes through the ParamRef hook instead of using a fixed parameter-type array,
      and then execution only fetches actually-referenced parameters, using a hook
      added to ParamListInfo.
      
      Although there's a lot left to be done in plpgsql, this already cures the
      "if (TG_OP = 'INSERT' and NEW.foo ...)"  problem, as illustrated by the
      changed regression test.
      9bedd128