1. 09 Nov, 2007 1 commit
  2. 18 Jun, 2007 1 commit
    • Tom Lane's avatar
      Arrange for quote_identifier() and pg_dump to not quote keywords that are · 4c310eca
      Tom Lane authored
      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
  3. 21 May, 2007 1 commit
    • Peter Eisentraut's avatar
      XPath fixes: · 3963574d
      Peter Eisentraut authored
       - Function renamed to "xpath".
       - Function is now strict, per discussion.
       - Return empty array in case when XPath expression detects nothing
         (previously, NULL was returned in such case), per discussion.
       - (bugfix) Work with fragments with prologue: select xpath('/a',
         '<?xml version="1.0"?><a /><b />'); // now XML datum is always wrapped
         with dummy <x>...</x>, XML prologue simply goes away (if any).
       - Some cleanup.
      
      Nikolay Samokhvalov
      
      Some code cleanup and documentation work by myself.
      3963574d
  4. 22 Mar, 2007 2 commits
  5. 15 Feb, 2007 1 commit
  6. 03 Feb, 2007 1 commit
  7. 25 Jan, 2007 1 commit
    • Peter Eisentraut's avatar
      Various fixes in the logic of XML functions: · 22bd156f
      Peter Eisentraut authored
      - Add new SQL command SET XML OPTION (also available via regular GUC) to
        control the DOCUMENT vs. CONTENT option in implicit parsing and
        serialization operations.
      
      - Subtle corrections in the handling of the standalone property in
        xmlroot().
      
      - Allow xmlroot() to work on content fragments.
      
      - Subtle corrections in the handling of the version property in
        xmlconcat().
      
      - Code refactoring for producing XML declarations.
      22bd156f
  8. 23 Jan, 2007 1 commit
  9. 20 Jan, 2007 2 commits
  10. 19 Jan, 2007 1 commit
  11. 18 Jan, 2007 1 commit
  12. 14 Jan, 2007 1 commit
  13. 12 Jan, 2007 1 commit
  14. 08 Jan, 2007 1 commit
  15. 07 Jan, 2007 1 commit
  16. 06 Jan, 2007 1 commit
  17. 28 Dec, 2006 1 commit
  18. 21 Dec, 2006 1 commit