1. 06 Sep, 2008 2 commits
    • Tom Lane's avatar
      Adjust psql's new \ef command to present an empty CREATE FUNCTION template · 409c144d
      Tom Lane authored
      for editing if no function name is specified.  This seems a much cleaner way
      to offer that functionality than the original patch had.  In passing,
      de-clutter the error displays that are given for a bogus function-name
      argument, and standardize on "$function$" as the default delimiter for the
      function body.  (The original coding would use the shortest possible
      dollar-quote delimiter, which seems to create unnecessarily high risk of
      later conflicts with the user-modified function body.)
      409c144d
    • Tom Lane's avatar
      Implement a psql command "\ef" to edit the definition of a function. · 2c863ca8
      Tom Lane authored
      In support of that, create a backend function pg_get_functiondef().
      The psql command is functional but maybe a bit rough around the edges...
      
      Abhijit Menon-Sen
      2c863ca8
  2. 05 Sep, 2008 7 commits
  3. 04 Sep, 2008 1 commit
  4. 03 Sep, 2008 1 commit
  5. 02 Sep, 2008 1 commit
  6. 01 Sep, 2008 6 commits
  7. 30 Aug, 2008 2 commits
  8. 29 Aug, 2008 5 commits
  9. 28 Aug, 2008 1 commit
    • Tom Lane's avatar
      Extend the parser location infrastructure to include a location field in · a2794623
      Tom Lane authored
      most node types used in expression trees (both before and after parse
      analysis).  This allows us to place an error cursor in many situations
      where we formerly could not, because the information wasn't available
      beyond the very first level of parse analysis.  There's a fair amount
      of work still to be done to persuade individual ereport() calls to actually
      include an error location, but this gets the initdb-forcing part of the
      work out of the way; and the situation is already markedly better than
      before for complaints about unimplementable implicit casts, such as
      CASE and UNION constructs with incompatible alternative data types.
      Per my proposal of a few days ago.
      a2794623
  10. 26 Aug, 2008 2 commits
  11. 25 Aug, 2008 9 commits
  12. 23 Aug, 2008 3 commits