1. 09 Feb, 2009 2 commits
  2. 08 Feb, 2009 1 commit
    • Tom Lane's avatar
      Ensure that INSERT ... SELECT into a table with OIDs never copies row OIDs · 3d02cae3
      Tom Lane authored
      from the source table.  This could never happen anyway before 8.4 because
      the executor invariably applied a "junk filter" to rows due to be inserted;
      but now that we skip doing that when it's not necessary, the case can occur.
      Problem noted 2008-11-27 by KaiGai Kohei, though I misunderstood what he
      was on about at the time (the opacity of the patch he proposed didn't help).
      3d02cae3
  3. 07 Feb, 2009 10 commits
  4. 06 Feb, 2009 5 commits
    • Tom Lane's avatar
      Fix cost_mergejoin's failure to adjust for rescanning of non-unique merge join · c473d923
      Tom Lane authored
      keys when considering a semi or anti join.  This requires estimating the
      selectivity of the merge qual as though it were a regular inner join condition.
      To allow caching both that and the real outer-join-aware selectivity, split
      RestrictInfo.this_selec into two fields.
      
      This fixes one of the problems reported by Kevin Grittner.
      c473d923
    • Tom Lane's avatar
    • Tom Lane's avatar
      Clean up some loose ends from the column privileges patch: add · 7449427a
      Tom Lane authored
      has_column_privilege and has_any_column_privilege SQL functions; fix the
      information_schema views that are supposed to pay attention to column
      privileges; adjust pg_stats to show stats for any column you have select
      privilege on; and fix COPY to allow copying a subset of columns if the user
      has suitable per-column privileges for all the columns.
      
      To improve efficiency of some of the information_schema views, extend the
      has_xxx_privilege functions to allow inquiring about the OR of a set of
      privileges in just one call.  This is just exposing capability that already
      existed in the underlying aclcheck routines.
      
      In passing, make the information_schema views report the owner's own
      privileges as being grantable, since Postgres assumes this even when the grant
      option bit is not set in the ACL.  This is a longstanding oversight.
      
      Also, make the new has_xxx_privilege functions for foreign data objects follow
      the same coding conventions used by the older ones.
      
      Stephen Frost and Tom Lane
      7449427a
    • Bruce Momjian's avatar
      Fix typo in docs. · 0274e1b9
      Bruce Momjian authored
      0274e1b9
    • Bruce Momjian's avatar
      Document ways to avoid libpq WSACleanup() overhead on Windows. · 3d1a1eed
      Bruce Momjian authored
      Andrew Chernow
      3d1a1eed
  5. 05 Feb, 2009 3 commits
  6. 04 Feb, 2009 3 commits
  7. 03 Feb, 2009 4 commits
  8. 02 Feb, 2009 9 commits
  9. 30 Jan, 2009 3 commits