1. 10 3月, 2007 1 次提交
  2. 04 3月, 2007 3 次提交
  3. 21 1月, 2007 1 次提交
  4. 03 1月, 2007 1 次提交
  5. 02 5月, 2006 1 次提交
  6. 15 3月, 2006 1 次提交
    • T
      Improve parser so that we can show an error cursor position for errors · 20ab467d
      Tom Lane 提交于
      during parse analysis, not only errors detected in the flex/bison stages.
      This is per my earlier proposal.  This commit includes all the basic
      infrastructure, but locations are only tracked and reported for errors
      involving column references, function calls, and operators.  More could
      be done later but this seems like a good set to start with.  I've also
      moved the ReportSyntaxErrorPosition logic out of psql and into libpq,
      which should make it available to more people --- even within psql this
      is an improvement because warnings weren't handled by ReportSyntaxErrorPosition.
      20ab467d
  7. 28 2月, 2006 1 次提交
  8. 19 2月, 2006 1 次提交
  9. 12 1月, 2006 1 次提交
  10. 03 10月, 2005 1 次提交
    • T
      Change nextval and other sequence functions to specify their sequence · aa731ed8
      Tom Lane 提交于
      argument as a 'regclass' value instead of a text string.  The frontend
      conversion of text string to pg_class OID is now encapsulated as an
      implicitly-invocable coercion from text to regclass.  This provides
      backwards compatibility to the old behavior when the sequence argument
      is explicitly typed as 'text'.  When the argument is just an unadorned
      literal string, it will be taken as 'regclass', which means that the
      stored representation will be an OID.  This solves longstanding problems
      with renaming sequences that are referenced in default expressions, as
      well as new-in-8.1 problems with renaming such sequences' schemas or
      moving them to another schema.  All per recent discussion.
      Along the way, fix some rather serious problems in dbmirror's support
      for mirroring sequence operations (int4 vs int8 confusion for instance).
      aa731ed8
  11. 23 7月, 2005 1 次提交
  12. 26 6月, 2005 1 次提交
  13. 10 5月, 2005 1 次提交
  14. 07 4月, 2005 1 次提交
  15. 01 4月, 2005 1 次提交
  16. 16 3月, 2005 1 次提交
  17. 06 11月, 2004 1 次提交
    • T
      Create 'default_tablespace' GUC variable that supplies a TABLESPACE · 98e8b480
      Tom Lane 提交于
      clause implicitly whenever one is not given explicitly.  Remove concept
      of a schema having an associated tablespace, and simplify the rules for
      selecting a default tablespace for a table or index.  It's now just
      (a) explicit TABLESPACE clause; (b) default_tablespace if that's not an
      empty string; (c) database's default.  This will allow pg_dump to use
      SET commands instead of tablespace clauses to determine object locations
      (but I didn't actually make it do so).  All per recent discussions.
      98e8b480
  18. 18 6月, 2004 1 次提交
    • T
      Tablespaces. Alternate database locations are dead, long live tablespaces. · 2467394e
      Tom Lane 提交于
      There are various things left to do: contrib dbsize and oid2name modules
      need work, and so does the documentation.  Also someone should think about
      COMMENT ON TABLESPACE and maybe RENAME TABLESPACE.  Also initlocation is
      dead, it just doesn't know it yet.
      
      Gavin Sherry and Tom Lane.
      2467394e
  19. 11 6月, 2004 1 次提交
    • T
      Clean up generation of default names for constraints, indexes, and serial · 45616f5b
      Tom Lane 提交于
      sequences, as per recent discussion.  All these names are now of the
      form table_column_type, with digits added if needed to make them unique.
      Default constraint names are chosen to be unique across their whole schema,
      not just within the parent object, so as to be more SQL-spec-compatible
      and make the information schema views more useful.
      45616f5b
  20. 11 5月, 2004 1 次提交
    • T
      Promote row expressions to full-fledged citizens of the expression syntax, · 2f63232d
      Tom Lane 提交于
      rather than allowing them only in a few special cases as before.  In
      particular you can now pass a ROW() construct to a function that accepts
      a rowtype parameter.  Internal generation of RowExprs fixes a number of
      corner cases that used to not work very well, such as referencing the
      whole-row result of a JOIN or subquery.  This represents a further step in
      the work I started a month or so back to make rowtype values into
      first-class citizens.
      2f63232d
  21. 02 4月, 2004 1 次提交
    • T
      Replace TupleTableSlot convention for whole-row variables and function · 375369ac
      Tom Lane 提交于
      results with tuples as ordinary varlena Datums.  This commit does not
      in itself do much for us, except eliminate the horrid memory leak
      associated with evaluation of whole-row variables.  However, it lays the
      groundwork for allowing composite types as table columns, and perhaps
      some other useful features as well.  Per my proposal of a few days ago.
      375369ac
  22. 22 3月, 2004 1 次提交
  23. 14 3月, 2004 2 次提交
  24. 11 3月, 2004 1 次提交
    • N
      Revise int2/int4/int8/float4/float8 input routines to allow for · e2ded829
      Neil Conway 提交于
      any amount of leading or trailing whitespace (where "whitespace"
      is defined by isspace()). This is for SQL conformance, as well
      as consistency with other numeric types (e.g. oid, numeric).
      
      Also refactor pg_atoi() to avoid looking at errno where not
      necessary, and add a bunch of regression tests for the input
      to these types.
      e2ded829
  25. 30 9月, 2003 1 次提交
  26. 25 9月, 2003 1 次提交
  27. 28 7月, 2003 1 次提交
  28. 22 7月, 2003 2 次提交
  29. 21 7月, 2003 1 次提交
  30. 20 7月, 2003 1 次提交
  31. 19 7月, 2003 1 次提交
  32. 25 6月, 2003 1 次提交
    • B
      Includes: · c70e606a
      Bruce Momjian 提交于
      - LIKE <subtable> [ INCLUDING DEFAULTS | EXCLUDING DEFAULTS ]
      - Quick cleanup of analyze.c function prototypes.
      - New non-reserved keywords (INCLUDING, EXCLUDING, DEFAULTS), SQL 200X
      
      Opted not to extend for check constraints at this time.
      
      As per the definition that it's user defined columns, OIDs are NOT
      inherited.
      
      Doc and Source patches attached.
      
      --
      Rod Taylor <rbt@rbt.ca>
      c70e606a
  33. 30 5月, 2003 1 次提交
  34. 25 4月, 2003 1 次提交
    • T
      Infrastructure for upgraded error reporting mechanism. elog.c is · f690920a
      Tom Lane 提交于
      rewritten and the protocol is changed, but most elog calls are still
      elog calls.  Also, we need to contemplate mechanisms for controlling
      all this functionality --- eg, how much stuff should appear in the
      postmaster log?  And what API should libpq expose for it?
      f690920a
  35. 21 3月, 2003 1 次提交
  36. 14 12月, 2002 1 次提交