1. 19 Feb, 2011 5 commits
    • Bruce Momjian's avatar
      Initialize variable to quiet compiler. · 964b46d0
      Bruce Momjian authored
      964b46d0
    • Peter Eisentraut's avatar
      Set psql client encoding from locale by default · 02e14562
      Peter Eisentraut authored
      Add a new libpq connection option client_encoding (which includes the
      existing PGCLIENTENCODING environment variable), which besides an
      encoding name accepts a special value "auto" that tries to determine
      the encoding from the locale in the client's environment, using the
      mechanisms that have been in use in initdb.
      
      psql sets this new connection option to "auto" when running from a
      terminal and not overridden by setting PGCLIENTENCODING.
      
      original code by Heikki Linnakangas, with subsequent contributions by
      Jaime Casanova, Peter Eisentraut, Stephen Frost, Ibrar Ahmed
      02e14562
    • Tom Lane's avatar
      Create the catalog infrastructure for foreign-data-wrapper handlers. · 327e0250
      Tom Lane authored
      Add a fdwhandler column to pg_foreign_data_wrapper, plus HANDLER options
      in the CREATE FOREIGN DATA WRAPPER and ALTER FOREIGN DATA WRAPPER commands,
      plus pg_dump support for same.  Also invent a new pseudotype fdw_handler
      with properties similar to language_handler.
      
      This is split out of the "FDW API" patch for ease of review; it's all stuff
      we will certainly need, regardless of any other details of the FDW API.
      FDW handler functions will not actually get called yet.
      
      In passing, fix some omissions and infelicities in foreigncmds.c.
      
      Shigeru Hanada, Jan Urbanski, Heikki Linnakangas
      327e0250
    • Bruce Momjian's avatar
      Improve text search prefix doc addition. · 4077980d
      Bruce Momjian authored
      4077980d
    • Bruce Momjian's avatar
      Document that text search comparisons happen after text search · 5bba4948
      Bruce Momjian authored
      configuration rules.
      
      Erik Rijkers
      5bba4948
  2. 18 Feb, 2011 14 commits
  3. 17 Feb, 2011 15 commits
  4. 16 Feb, 2011 6 commits
    • Tom Lane's avatar
      Add backwards-compatible declarations of some core GIN support functions. · 6595dd04
      Tom Lane authored
      These are needed to support reloading dumps of 9.0 installations containing
      contrib/intarray or contrib/tsearch2.  Since not only regular dump/reload
      but binary upgrade would fail, it seems worth the trouble to carry these
      stubs for awhile.  Note that the contrib opclasses referencing these
      functions will still work fine, since GIN doesn't actually pay any
      attention to the declared signature of a support function.
      6595dd04
    • Peter Eisentraut's avatar
      Also process psqlrc when running psql -l · b15fabf9
      Peter Eisentraut authored
      This was previously not very useful, but with many people customizing
      the linestyle, it is nice for a consistent appearance.
      b15fabf9
    • Peter Eisentraut's avatar
      Better support for thread-support flag detection with clang · f0053845
      Peter Eisentraut authored
      When testing the stderr produced by various thread-support flags, also
      run a compilation in addition to a link, because clang warns on
      certain flags when compiling but not when linking.
      f0053845
    • Peter Eisentraut's avatar
      Fix for warnings-free compilation with Python 3.2 · 66d6b4cb
      Peter Eisentraut authored
      The first argument of PyEval_EvalCode() was changed from PyCodeObject*
      to PyObject* because of PEP 384.
      66d6b4cb
    • Bruce Momjian's avatar
      In pg_upgrade, no need to initialize global struct values; they are · 497e65f8
      Bruce Momjian authored
      always zeros.  Also no need to free memory before we exit.
      497e65f8
    • Simon Riggs's avatar
      Hot Standby feedback for avoidance of cleanup conflicts on standby. · bca8b7f1
      Simon Riggs authored
      Standby optionally sends back information about oldestXmin of queries
      which is then checked and applied to the WALSender's proc->xmin.
      GetOldestXmin() is modified slightly to agree with GetSnapshotData(),
      so that all backends on primary include WALSender within their snapshots.
      Note this does nothing to change the snapshot xmin on either master or
      standby. Feedback piggybacks on the standby reply message.
      vacuum_defer_cleanup_age is no longer used on standby, though parameter
      still exists on primary, since some use cases still exist.
      
      Simon Riggs, review comments from Fujii Masao, Heikki Linnakangas, Robert Haas
      bca8b7f1