1. 08 7月, 2013 4 次提交
  2. 07 7月, 2013 5 次提交
  3. 06 7月, 2013 4 次提交
    • T
      Rename a function to avoid naming conflict in parallel regression tests. · 0cd78780
      Tom Lane 提交于
      Commit 31a89185 added some tests in
      plpgsql.sql that used a function rather unthinkingly named "foo()".
      However, rangefuncs.sql has some much older tests that create a function
      of that name, and since these test scripts run in parallel, there is a
      chance of failures if the timing is just right.  Use another name to
      avoid that.  Per buildfarm (failure seen today on "hamerkop", but
      probably it's happened before and not been noticed).
      0cd78780
    • P
      PL/Python: Convert numeric to Decimal · 7919398b
      Peter Eisentraut 提交于
      The old implementation converted PostgreSQL numeric to Python float,
      which was always considered a shortcoming.  Now numeric is converted to
      the Python Decimal object.  Either the external cdecimal module or the
      standard library decimal module are supported.
      
      From: Szymon Guz <mabewlun@gmail.com>
      From: Ronan Dunklau <rdunklau@gmail.com>
      Reviewed-by: NSteve Singer <steve@ssinger.info>
      7919398b
    • N
      Update messages, comments and documentation for materialized views. · 02d2b694
      Noah Misch 提交于
      All instances of the verbiage lagging the code.  Back-patch to 9.3,
      where materialized views were introduced.
      02d2b694
    • J
      Use posix_fallocate() for new WAL files, where available. · 269e7808
      Jeff Davis 提交于
      This function is more efficient than actually writing out zeroes to
      the new file, per microbenchmarks by Jon Nelson. Also, it may reduce
      the likelihood of WAL file fragmentation.
      
      Jon Nelson, with review by Andres Freund, Greg Smith and me.
      269e7808
  4. 05 7月, 2013 7 次提交
  5. 04 7月, 2013 11 次提交
    • B
      Add contrib function references in the doc index · 20a1b9e7
      Bruce Momjian 提交于
      Backpatch to 9.3.
      Idea from Craig Ringer
      20a1b9e7
    • R
      Add new GUC, max_worker_processes, limiting number of bgworkers. · 6bc8ef0b
      Robert Haas 提交于
      In 9.3, there's no particular limit on the number of bgworkers;
      instead, we just count up the number that are actually registered,
      and use that to set MaxBackends.  However, that approach causes
      problems for Hot Standby, which needs both MaxBackends and the
      size of the lock table to be the same on the standby as on the
      master, yet it may not be desirable to run the same bgworkers in
      both places.  9.3 handles that by failing to notice the problem,
      which will probably work fine in nearly all cases anyway, but is
      not theoretically sound.
      
      A further problem with simply counting the number of registered
      workers is that new workers can't be registered without a
      postmaster restart.  This is inconvenient for administrators,
      since bouncing the postmaster causes an interruption of service.
      Moreover, there are a number of applications for background
      processes where, by necessity, the background process must be
      started on the fly (e.g. parallel query).  While this patch
      doesn't actually make it possible to register new background
      workers after startup time, it's a necessary prerequisite.
      
      Patch by me.  Review by Michael Paquier.
      6bc8ef0b
    • R
      docs: Clarify flag dependencies for background workers. · 5cbe935c
      Robert Haas 提交于
      BGWORKER_BACKEND_DATABASE_CONNECTION can only be used if
      BGWORKER_SHMEM_ACCESS is also used.
      
      Michael Paquier, with some tweaks by me.
      5cbe935c
    • P
      doc: Fix typo in event trigger documentation · 0d179568
      Peter Eisentraut 提交于
      From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
      0d179568
    • P
      doc: Add event trigger C API documentation · 0fe21ad8
      Peter Eisentraut 提交于
      From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
      0fe21ad8
    • A
      Install all a Makefile's extension controls, not just the first. · 82b01026
      Andrew Dunstan 提交于
      Bug introduced by commit 6697aa2b and
      reported by Robert Haas.
      82b01026
    • F
      Get rid of pg_class.reltoastidxid. · 2ef085d0
      Fujii Masao 提交于
      Treat TOAST index just the same as normal one and get the OID
      of TOAST index from pg_index but not pg_class.reltoastidxid.
      This change allows us to handle multiple TOAST indexes, and
      which is required infrastructure for upcoming
      REINDEX CONCURRENTLY feature.
      
      Patch by Michael Paquier, reviewed by Andres Freund and me.
      2ef085d0
    • B
      pg_buffercache: document column meanings · f71939cd
      Bruce Momjian 提交于
      Improve documentation for usagecount and relforknumber.
      Backpatch to 9.3.
      Suggestion from Satoshi Nagayasu
      f71939cd
    • R
      Revert "Hopefully-portable regression tests for CREATE/ALTER/DROP COLLATION." · f33c53ec
      Robert Haas 提交于
      This reverts commit 26364530.
      
      The buildfarm is sad.
      f33c53ec
    • R
      Hopefully-portable regression tests for CREATE/ALTER/DROP COLLATION. · 26364530
      Robert Haas 提交于
      The collate.linux.utf8 test covers some of the same territory, but
      isn't portable and so probably does not get run often, or on
      non-Linux platforms.  If this approach turns out to be sufficiently
      portable, we may want to look at trimming the redundant tests out
      of that file to avoid duplication.
      
      Robins Tharakan, reviewed by Michael Paquier and Fabien Coelho,
      with further changes and cleanup by me.
      26364530
    • T
      Fix handling of auto-updatable views on inherited tables. · 5530a826
      Tom Lane 提交于
      An INSERT into such a view should work just like an INSERT into its base
      table, ie the insertion should go directly into that table ... not be
      duplicated into each child table, as was happening before, per bug #8275
      from Rushabh Lathia.  On the other hand, the current behavior for
      UPDATE/DELETE seems reasonable: the update/delete traverses the child
      tables, or not, depending on whether the view specifies ONLY or not.
      Add some regression tests covering this area.
      
      Dean Rasheed
      5530a826
  6. 03 7月, 2013 9 次提交