1. 07 Feb, 2009 9 commits
  2. 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
  3. 05 Feb, 2009 3 commits
  4. 04 Feb, 2009 3 commits
  5. 03 Feb, 2009 4 commits
  6. 02 Feb, 2009 9 commits
  7. 30 Jan, 2009 5 commits
  8. 29 Jan, 2009 2 commits
    • Tom Lane's avatar
      Update time zone data files to tzdata release 2009a: introduces Asia/Kathmandu · 204db566
      Tom Lane authored
      as the preferred spelling of that zone name, corrects historical DST
      information for Switzerland and Cuba.
      204db566
    • Tom Lane's avatar
      Replace argument-checking Asserts with regular test-and-elog checks in all · 0d65eea3
      Tom Lane authored
      encoding conversion functions.  These are not can't-happen cases because
      it's possible to create a conversion with the wrong conversion function
      for the specified encoding pair.  That would lead to an Assert crash in
      an Assert-enabled build, or incorrect conversion otherwise, neither of
      which is desirable.  This would be a DOS issue if production databases
      were customarily built with asserts enabled, but fortunately that's not so.
      Per an observation by Heikki.
      
      Back-patch to all supported branches.
      0d65eea3