1. 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
  2. 18 6月, 2007 4 次提交
  3. 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
  4. 15 6月, 2007 1 次提交
  5. 14 6月, 2007 7 次提交
  6. 13 6月, 2007 5 次提交
  7. 12 6月, 2007 9 次提交
  8. 11 6月, 2007 5 次提交
  9. 10 6月, 2007 2 次提交
    • T
      Teach heapam code to know the difference between a real seqscan and the · 85d72f05
      Tom Lane 提交于
      pseudo HeapScanDesc created for a bitmap heap scan.  This avoids some useless
      overhead during a bitmap scan startup, in particular invoking the syncscan
      code.  (We might someday want to do that, but right now it's merely useless
      contention for shared memory, to say nothing of possibly pushing useful
      entries out of syncscan's small LRU list.)  This also allows elimination of
      ugly pgstat_discount_heap_scan() kluge.
      85d72f05
    • T
      Insert ORDER BY into a few regression test queries that now have unstable · 7063c46f
      Tom Lane 提交于
      results due to syncscan patch, when shared_buffers is small enough.  Per
      buildfarm reports and some local testing with shared_buffers set to the
      lowest value considered by initdb.
      7063c46f
  10. 09 6月, 2007 5 次提交