Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
E.30. Release 9.5.15
Prev UpAppendix E. Release NotesHome Next

E.30. Release 9.5.15

Release date: 2018-11-08

This release contains a variety of fixes from 9.5.14. For information about new features in the 9.5 major release, seeSection E.45.

E.30.1. Migration to Version 9.5.15

A dump/restore is not required for those running 9.5.X.

However, if you are upgrading from a version earlier than 9.5.13, seeSection E.32.

E.30.2. Changes

  • Fix corner-case failures inhas_foo_privilege() family of functions (Tom Lane)

    Return NULL rather than throwing an error when an invalid object OID is provided. Some of these functions got that right already, but not all.has_column_privilege() was additionally capable of crashing on some platforms.

  • Avoid O(N^2) slowdown in regular expression match/split functions on long strings (Andrew Gierth)

  • Fix parsing of standard multi-character operators that are immediately followed by a comment or+ or- (Andrew Gierth)

    This oversight could lead to parse errors, or to incorrect assignment of precedence.

  • Avoid O(N^3) slowdown in lexer for long strings of+ or- characters (Andrew Gierth)

  • Fix mis-execution of SubPlans when the outer query is being scanned backwards (Andrew Gierth)

  • Fix failure ofUPDATE/DELETE ... WHERE CURRENT OF ... after rewinding the referenced cursor (Tom Lane)

    A cursor that scans multiple relations (particularly an inheritance tree) could produce wrong behavior if rewound to an earlier relation.

  • FixEvalPlanQual to handle conditionally-executed InitPlans properly (Andrew Gierth, Tom Lane)

    This resulted in hard-to-reproduce crashes or wrong answers in concurrent updates, if they contained code such as an uncorrelated sub-SELECT inside aCASE construct.

  • Fix character-class checks to not fail on Windows for Unicode characters above U+FFFF (Tom Lane, Kenji Uno)

    This bug affected full-text-search operations, as well ascontrib/ltree andcontrib/pg_trgm.

  • Ensure that sequences owned by a foreign table are processed byALTER OWNER on the table (Peter Eisentraut)

    The ownership change should propagate to such sequences as well, but this was missed for foreign tables.

  • Ensure that the server will process already-receivedNOTIFY andSIGTERM interrupts before waiting for client input (Jeff Janes, Tom Lane)

  • Fix over-allocation of space forarray_out()'s result string (Keiichi Hirobe)

  • Fix memory leak in repeated SP-GiST index scans (Tom Lane)

    This is only known to amount to anything significant in cases where an exclusion constraint using SP-GiST receives many new index entries in a single command.

  • Ensure thatApplyLogicalMappingFile() closes the mapping file when done with it (Tomas Vondra)

    Previously, the file descriptor was leaked, eventually resulting in failures during logical decoding.

  • Fix logical decoding to handle cases where a mapped catalog table is repeatedly rewritten, e.g. byVACUUM FULL (Andres Freund)

  • Prevent starting the server withwal_level set to too low a value to support an existing replication slot (Andres Freund)

  • Avoid crash if a utility command causes infinite recursion (Tom Lane)

  • When initializing a hot standby, cope with duplicate XIDs caused by two-phase transactions on the master (Michael Paquier, Konstantin Knizhnik)

  • Fix event triggers to handle nestedALTER TABLE commands (Michael Paquier, Álvaro Herrera)

  • Propagate parent process's transaction and statement start timestamps to parallel workers (Konstantin Knizhnik)

    This prevents misbehavior of functions such astransaction_timestamp() when executed in a worker.

  • Fix WAL file recycling logic to work correctly on standby servers (Michael Paquier)

    Depending on the setting ofarchive_mode, a standby might fail to remove some WAL files that could be removed.

  • Fix handling of commit-timestamp tracking during recovery (Masahiko Sawada, Michael Paquier)

    If commit timestamp tracking has been turned on or off, recovery might fail due to trying to fetch the commit timestamp for a transaction that did not record it.

  • Randomize therandom() seed in bootstrap and standalone backends, and ininitdb (Noah Misch)

    The main practical effect of this change is that it avoids a scenario whereinitdb might mistakenly conclude that POSIX shared memory is not available, due to name collisions caused by always using the same random seed.

  • Allow DSM allocation to be interrupted (Chris Travers)

  • Properly handle turningfull_page_writes on dynamically (Kyotaro Horiguchi)

  • Avoid possible buffer overrun when replaying GIN page recompression from WAL (Alexander Korotkov, Sivasubramanian Ramasubramanian)

  • Fix missed fsync of a replication slot's directory (Konstantin Knizhnik, Michael Paquier)

  • Fix unexpected timeouts when usingwal_sender_timeout on a slow server (Noah Misch)

  • Ensure that hot standby processes use the correct WAL consistency point (Alexander Kukushkin, Michael Paquier)

    This prevents possible misbehavior just after a standby server has reached a consistent database state during WAL replay.

  • Ensure background workers are stopped properly when the postmaster receives a fast-shutdown request before completing database startup (Alexander Kukushkin)

  • Don't run atexit callbacks when servicingSIGQUIT (Heikki Linnakangas)

  • Don't record foreign-server user mappings as members of extensions (Tom Lane)

    IfCREATE USER MAPPING is executed in an extension script, an extension dependency was created for the user mapping, which is unexpected. Roles can't be extension members, so user mappings shouldn't be either.

  • Make syslogger more robust against failures in opening CSV log files (Tom Lane)

  • Fixpsql, as well as documentation examples, to callPQconsumeInput() before eachPQnotifies() call (Tom Lane)

    This fixes cases in whichpsql would not report receipt of aNOTIFY message until after the next command.

  • Fix possible inconsistency inpg_dump's sorting of dissimilar object names (Jacob Champion)

  • Ensure thatpg_restore will schema-qualify the table name when emittingDISABLE/ENABLE TRIGGER commands (Tom Lane)

    This avoids failures due to the new policy of running restores with restrictive search path.

  • Fixpg_upgrade to handle event triggers in extensions correctly (Haribabu Kommi)

    pg_upgrade failed to preserve an event trigger's extension-membership status.

  • Fixpg_upgrade's cluster state check to work correctly on a standby server (Bruce Momjian)

  • Enforce typecube's dimension limit in allcontrib/cube functions (Andrey Borodin)

    Previously, some cube-related functions could construct values that would be rejected bycube_in(), leading to dump/reload failures.

  • Fixcontrib/unaccent'sunaccent() function to use theunaccent text search dictionary that is in the same schema as the function (Tom Lane)

    Previously it tried to look up the dictionary using the search path, which could fail if the search path has a restrictive value.

  • Fix build problems on macOS 10.14 (Mojave) (Tom Lane)

    Adjustconfigure to add an-isysroot switch toCPPFLAGS; without this, PL/Perl and PL/Tcl fail to configure or build on macOS 10.14. The specific sysroot used can be overridden at configure time or build time by setting thePG_SYSROOT variable in the arguments ofconfigure ormake.

    It is now recommended that Perl-related extensions write$(perl_includespec) rather than-I$(perl_archlibexp)/CORE in their compiler flags. The latter continues to work on most platforms, but not recent macOS.

    Also, it should no longer be necessary to specify--with-tclconfig manually to get PL/Tcl to build on recent macOS releases.

  • Fix MSVC build and regression-test scripts to work on recent Perl versions (Andrew Dunstan)

    Perl no longer includes the current directory in its search path by default; work around that.

  • On Windows, allow the regression tests to be run by an Administrator account (Andrew Dunstan)

    To do this safely,pg_regress now gives up any such privileges at startup.

  • Support building on Windows with Visual Studio 2015 or Visual Studio 2017 (Michael Paquier, Haribabu Kommi)

  • Allow btree comparison functions to returnINT_MIN (Tom Lane)

    Up to now, we've forbidden datatype-specific comparison functions from returningINT_MIN, which allows callers to invert the sort order just by negating the comparison result. However, this was never safe for comparison functions that directly return the result ofmemcmp(),strcmp(), etc, as POSIX doesn't place any such restriction on those functions. At least some recent versions ofmemcmp() can returnINT_MIN, causing incorrect sort ordering. Hence, we've removed this restriction. Callers must now use theINVERT_COMPARE_RESULT() macro if they wish to invert the sort order.

  • Fix recursion hazard in shared-invalidation message processing (Tom Lane)

    This error could, for example, result in failure to access a system catalog or index that had just been processed byVACUUM FULL.

    This change adds a new result code forLockAcquire, which might possibly affect external callers of that function, though only very unusual usage patterns would have an issue with it. The API ofLockAcquireExtended is also changed.

  • Save and restore SPI's global variables duringSPI_connect() andSPI_finish() (Chapman Flack, Tom Lane)

    This prevents possible interference when one SPI-using function calls another.

  • ProvideALLOCSET_DEFAULT_SIZES and sibling macros in back branches (Tom Lane)

    These macros have existed since 9.6, but there were requests to add them to older branches to allow extensions to rely on them without branch-specific coding.

  • Avoid using potentially-under-aligned page buffers (Tom Lane)

    Invent new union typesPGAlignedBlock andPGAlignedXLogBlock, and use these in place of plain char arrays, ensuring that the compiler can't place the buffer at a misaligned start address. This fixes potential core dumps on alignment-picky platforms, and may improve performance even on platforms that allow misalignment.

  • Makesrc/port/snprintf.c follow the C99 standard's definition ofsnprintf()'s result value (Tom Lane)

    On platforms where this code is used (mostly Windows), its pre-C99 behavior could lead to failure to detect buffer overrun, if the calling code assumed C99 semantics.

  • When building on i386 with theclang compiler, require-msse2 to be used (Andres Freund)

    This avoids problems with missed floating point overflow checks.

  • Fixconfigure's detection of the result type ofstrerror_r() (Tom Lane)

    The previous coding got the wrong answer when building withicc on Linux (and perhaps in other cases), leading tolibpq not returning useful error messages for system-reported errors.

  • Update time zone data files totzdata release 2018g for DST law changes in Chile, Fiji, Morocco, and Russia (Volgograd), plus historical corrections for China, Hawaii, Japan, Macau, and North Korea.


Prev Up Next
E.29. Release 9.5.16 Home E.31. Release 9.5.14
pdfepub
Go to Postgres Pro Standard 9.5
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp