1. 28 7月, 2010 7 次提交
  2. 27 7月, 2010 3 次提交
  3. 26 7月, 2010 2 次提交
  4. 25 7月, 2010 4 次提交
  5. 24 7月, 2010 3 次提交
  6. 23 7月, 2010 2 次提交
  7. 22 7月, 2010 4 次提交
    • R
      Add missing function prototype. · bca03b12
      Robert Haas 提交于
      Fujii Masao
      bca03b12
    • R
      4da29da1
    • R
      Add options to force quoting of all identifiers. · ce68df46
      Robert Haas 提交于
      I've added a quote_all_identifiers GUC which affects the behavior
      of the backend, and a --quote-all-identifiers argument to pg_dump
      and pg_dumpall which sets the GUC and also affects the quoting done
      internally by those applications.
      
      Design by Tom Lane; review by Alex Hunsaker; in response to bug #5488
      filed by Hartmut Goebel.
      ce68df46
    • R
      Centralize DML permissions-checking logic. · b8c6c71d
      Robert Haas 提交于
      Remove bespoke code in DoCopy and RI_Initial_Check, which now instead
      fabricate call ExecCheckRTPerms with a manufactured RangeTblEntry.
      This is intended to make it feasible for an enhanced security provider
      to actually make use of ExecutorCheckPerms_hook, but also has the
      advantage that RI_Initial_Check can allow use of the fast-path when
      column-level but not table-level permissions are present.
      
      KaiGai Kohei.  Reviewed (in an earlier version) by Stephen Frost, and by me.
      Some further changes to the comments by me.
      b8c6c71d
  8. 21 7月, 2010 2 次提交
  9. 20 7月, 2010 7 次提交
  10. 19 7月, 2010 4 次提交
    • T
      Remove unnecessary "Not safe to send CSV data" complaint from elog.c's fallback · cf5305f4
      Tom Lane 提交于
      path when CSV logging is configured but not yet operational.  It's sufficient
      to send the message to stderr, as we were already doing, and the "Not safe"
      gripe has already confused at least two core members ...
      
      Backpatch to 9.0, but not further --- doesn't seem appropriate to change
      this behavior in stable branches.
      cf5305f4
    • T
      Allow ORDER BY/GROUP BY/etc items to match targetlist items regardless of · fba999cb
      Tom Lane 提交于
      any implicit casting previously applied to the targetlist item.  This is
      reasonable because the implicit cast, by definition, wasn't written by the
      user; so we are preserving the expected behavior that ORDER BY items match
      textually equivalent tlist items.  The case never arose before because there
      couldn't be any implicit casting of a top-level SELECT item before we process
      ORDER BY etc.  But now it can arise in the context of aggregates containing
      ORDER BY clauses, since the "targetlist" is the already-casted list of
      arguments for the aggregate.  The net effect is that the datatype used for
      ORDER BY/DISTINCT purposes is the aggregate's declared input type, not that
      of the original input column; which is a bit debatable but not horrendous,
      and to do otherwise would require major rework that doesn't seem justified.
      
      Per bug #5564 from Daniel Grace.  Back-patch to 9.0 where aggregate ORDER BY
      was implemented.
      fba999cb
    • T
    • T
      25241aee
  11. 18 7月, 2010 2 次提交