1. 22 Aug, 2012 3 commits
    • Peter Eisentraut's avatar
      Fix install-strip on Mac OS X · b748d8f2
      Peter Eisentraut authored
      There was a hack put into install-sh to call strip with the correct
      options on Mac OS X.  But that never worked, because configure
      disabled stripping on that platform altogether.  So remove that dead
      code, and while we're at it, update install-sh to the latest upstream
      source (from Automake).
      
      Instead, set up the right strip options in programs.m4, so this now
      actually works the way it was originally intended.
      b748d8f2
    • Peter Eisentraut's avatar
      Mark DateTimeParseError() noreturn · 5c45d2f8
      Peter Eisentraut authored
      This avoids a warning from clang 3.2 about an uninitialized variable
      'dtype' in date_in().
      5c45d2f8
    • Tom Lane's avatar
      Update 9.2 release notes to reflect commits to date. · 0830cc9f
      Tom Lane authored
      I was unable to entirely resist the temptation to copy-edit related
      entries, but will save most of that for a separate pass.
      0830cc9f
  2. 21 Aug, 2012 6 commits
    • Tom Lane's avatar
      Avoid somewhat-theoretical overflow risks in RecordIsValid(). · 10685ec0
      Tom Lane authored
      This improves on commit 51fed14d by
      eliminating the assumption that we can form <some pointer value> +
      <some offset> without overflow.  The entire point of those tests is that
      we don't trust the offset value, so coding them in a way that could wrap
      around if the buffer happens to be near the top of memory doesn't seem
      sound.  Instead, track the remaining space as a size_t variable and
      compare offsets against that.
      
      Also, improve comment about why we need the extra early check on
      xl_tot_len.
      10685ec0
    • Tom Lane's avatar
      Fix dumping of security_barrier views with circular dependencies. · 0f524ea0
      Tom Lane authored
      If a view has circular dependencies, pg_dump splits it into a CREATE TABLE
      and a CREATE RULE command to break the dependency loop.  However, if the
      view has reloptions, those options cannot be applied in the CREATE TABLE
      command, because views and tables have different allowed reloptions so
      CREATE TABLE would reject them.  Instead apply the reloptions after the
      CREATE RULE, using ALTER VIEW SET.
      0f524ea0
    • Robert Haas's avatar
      Improve C comments in GetSnapshotData. · 4b373e42
      Robert Haas authored
      Move discussion of why our algorithm for taking snapshots in recovery
      to a more appropriate location in the function, and delete incorrect
      mention of taking a lock.
      4b373e42
    • Robert Haas's avatar
      Add a note to the MVCC chapter that some things aren't transactional. · 82ef3d30
      Robert Haas authored
      Craig Ringer, slightly edited by me.
      82ef3d30
    • Peter Eisentraut's avatar
      Teach compiler that ereport(>=ERROR) does not return · 71450d7f
      Peter Eisentraut authored
      When elevel >= ERROR, we add an abort() call to the ereport() macro to
      give the compiler a hint that the ereport() expansion will not return,
      but the abort() isn't actually reached because the longjmp happens in
      errfinish().
      
      Because the effect of ereport() varies with the elevel, we cannot use
      standard compiler attributes such as noreturn for this.
      71450d7f
    • Peter Eisentraut's avatar
      ffdd5a0e
  3. 20 Aug, 2012 5 commits
  4. 19 Aug, 2012 2 commits
  5. 18 Aug, 2012 2 commits
    • Tom Lane's avatar
      Make use of LATERAL in information_schema.sequences view. · c246eb5a
      Tom Lane authored
      It said "XXX: The following could be improved if we had LATERAL" ...
      so let's do that.
      
      No catversion bump since either version of the view works fine.
      c246eb5a
    • Tom Lane's avatar
      Another round of planner fixes for LATERAL. · 084a29c9
      Tom Lane authored
      Formerly, subquery pullup had no need to examine other entries in the range
      table, since they could not contain any references to the subquery being
      pulled up.  That's no longer true with LATERAL, so now we need to be able
      to visit rangetable subexpressions to replace Vars referencing the
      pulled-up subquery.  Also, this means that extract_lateral_references must
      be unsurprised at encountering lateral PlaceHolderVars, since such might be
      created when pulling up a subquery that's underneath an outer join with
      respect to the lateral reference.
      084a29c9
  6. 17 Aug, 2012 3 commits
  7. 16 Aug, 2012 18 commits
  8. 15 Aug, 2012 1 commit