1. 20 2月, 2011 2 次提交
  2. 19 2月, 2011 9 次提交
    • P
      Invalidate PL/Python functions with composite type argument when the · b05186f8
      Peter Eisentraut 提交于
      type changes.
      
      The invalidation will cause the type information to be refetched, and
      everything will work.
      
      Jan Urbański, reviewed by Alex Hunsaker
      b05186f8
    • B
      Initialize variable to quiet compiler. · 964b46d0
      Bruce Momjian 提交于
      964b46d0
    • P
      Set psql client encoding from locale by default · 02e14562
      Peter Eisentraut 提交于
      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
    • T
      Create the catalog infrastructure for foreign-data-wrapper handlers. · 327e0250
      Tom Lane 提交于
      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
    • B
      Improve text search prefix doc addition. · 4077980d
      Bruce Momjian 提交于
      4077980d
    • B
      Document that text search comparisons happen after text search · 5bba4948
      Bruce Momjian 提交于
      configuration rules.
      
      Erik Rijkers
      5bba4948
    • T
      Un-break building with BTREE_BUILD_STATS. · 82220e88
      Tom Lane 提交于
      This has been broken for awhile, but not clear it's worth back-patching.
      
      Euler Taveira de Oliveira
      82220e88
    • T
      Fix parallel pg_restore to handle comments on POST_DATA items correctly. · 4cff100d
      Tom Lane 提交于
      The previous coding would try to process all SECTION_NONE items in the
      initial sequential-restore pass, which failed if they were dependencies of
      not-yet-restored items.  Fix by postponing such items into the parallel
      processing pass once we have skipped any non-PRE_DATA item.
      
      Back-patch into 9.0; the original parallel-restore coding in 8.4 did not
      have this bug, so no need to change it.
      
      Report and diagnosis by Arnd Hannemann.
      4cff100d
    • T
      One more hack to make contrib upgrades from 9.0 match fresh 9.1 installs. · 472f608e
      Tom Lane 提交于
      intarray and tsearch2 both reference core support functions in their GIN
      opclasses, and the signatures of those functions changed for 9.1.  We added
      backwards-compatible pg_proc entries for the functions in order to allow
      9.0 dump files to be restored at all, but that hack leaves the opclasses
      pointing at pg_proc entries different from what they'd point to if the
      contrib modules were installed fresh in 9.1.  To forestall any possibility
      of future problems, fix the opclasses to match fresh installs via the
      expedient of direct UPDATEs on pg_amproc in the update-from-unpackaged
      scripts.  (Yech ... but the alternatives are worse, or require far more
      effort than seems justified right now.)
      
      Note: updating pg_amproc is sufficient because there will be no pg_depend
      entries corresponding to these dependencies, since the referenced functions
      are all pinned.
      472f608e
  3. 18 2月, 2011 21 次提交
  4. 17 2月, 2011 8 次提交