1. 28 6月, 2007 2 次提交
    • N
      Add the function's volatility to the output of psql's \df+ command. · 7c07b136
      Neil Conway 提交于
      Update the psql reference page accordingly.
      7c07b136
    • T
      Implement "distributed" checkpoints in which the checkpoint I/O is spread · 867e2c91
      Tom Lane 提交于
      over a fairly long period of time, rather than being spat out in a burst.
      This happens only for background checkpoints carried out by the bgwriter;
      other cases, such as a shutdown checkpoint, are still done at full speed.
      
      Remove the "all buffers" scan in the bgwriter, and associated stats
      infrastructure, since this seems no longer very useful when the checkpoint
      itself is properly throttled.
      
      Original patch by Itagaki Takahiro, reworked by Heikki Linnakangas,
      and some minor API editorialization by me.
      867e2c91
  2. 27 6月, 2007 2 次提交
  3. 26 6月, 2007 3 次提交
  4. 24 6月, 2007 1 次提交
    • T
      Separate parse-analysis for utility commands out of parser/analyze.c · 46379d6e
      Tom Lane 提交于
      (which now deals only in optimizable statements), and put that code
      into a new file parser/parse_utilcmd.c.  This helps clarify and enforce
      the design rule that utility statements shouldn't be processed during
      the regular parse analysis phase; all interpretation of their meaning
      should happen after they are given to ProcessUtility to execute.
      (We need this because we don't retain any locks for a utility statement
      that's in a plan cache, nor have any way to detect that it's stale.)
      
      We are also able to simplify the API for parse_analyze() and related
      routines, because they will now always return exactly one Query structure.
      
      In passing, fix bug #3403 concerning trying to add a serial column to
      an existing temp table (this is largely Heikki's work, but we needed
      all that restructuring to make it safe).
      46379d6e
  5. 23 6月, 2007 1 次提交
  6. 22 6月, 2007 3 次提交
  7. 21 6月, 2007 8 次提交
  8. 20 6月, 2007 4 次提交
  9. 19 6月, 2007 1 次提交
    • T
      Arrange for quote_identifier() and pg_dump to not quote keywords that are · 4c310eca
      Tom Lane 提交于
      unreserved according to the grammar.  The list of unreserved words has gotten
      extensive enough that the unnecessary quoting is becoming a bit of an eyesore.
      To do this, add knowledge of the keyword category to keywords.c's table.
      (Someday we might be able to generate keywords.c's table and the keyword lists
      in gram.y from a common source.)  For the moment, lie about WITH's status in
      the table so it will still get quoted --- this is because of the expectation
      that WITH will become reserved when the SQL recursive-queries patch gets done.
      
      I didn't force initdb because this affects nothing on-disk; but note that a
      few regression tests have changed expected output.
      4c310eca
  10. 18 6月, 2007 4 次提交
  11. 16 6月, 2007 1 次提交
    • T
      Tweak the API for per-datatype typmodin functions so that they are passed · 23347231
      Tom Lane 提交于
      an array of strings rather than an array of integers, and allow any simple
      constant or identifier to be used in typmods; for example
      	create table foo (f1 widget(42,'23skidoo',point));
      Of course the typmodin function has still got to pack this info into a
      non-negative int32 for storage, but it's still a useful improvement in
      flexibility, especially considering that you can do nearly anything if you
      are willing to keep the info in a side table.  We can get away with this
      change since we have not yet released a version providing user-definable
      typmods.  Per discussion.
      23347231
  12. 15 6月, 2007 1 次提交
  13. 14 6月, 2007 7 次提交
  14. 13 6月, 2007 2 次提交