Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
E.39. Release 9.5.6
Prev UpAppendix E. Release NotesHome Next

E.39. Release 9.5.6

Release date: 2017-02-09

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

E.39.1. Migration to Version 9.5.6

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

However, if your installation has been affected by the bug described in the first changelog entry below, then after updating you may need to take action to repair corrupted indexes.

Also, if you are upgrading from a version earlier than 9.5.5, seeSection E.40.

E.39.2. Changes

  • Fix a race condition that could cause indexes built withCREATE INDEX CONCURRENTLY to be corrupt (Pavan Deolasee, Tom Lane)

    IfCREATE INDEX CONCURRENTLY was used to build an index that depends on a column not previously indexed, then rows updated by transactions that ran concurrently with theCREATE INDEX command could have received incorrect index entries. If you suspect this may have happened, the most reliable solution is to rebuild affected indexes after installing this update.

  • Ensure that the special snapshot used for catalog scans is not invalidated by premature data pruning (Tom Lane)

    Backends failed to account for this snapshot when advertising their oldest xmin, potentially allowing concurrent vacuuming operations to remove data that was still needed. This led to transient failures along the lines ofcache lookup failed for relation 1255.

  • Fix incorrect WAL logging for BRIN indexes (Kuntal Ghosh)

    The WAL record emitted for a BRINrevmap page when moving an index tuple to a different page was incorrect. Replay would make the related portion of the index useless, forcing it to be recomputed.

  • Unconditionally WAL-log creation of theinit fork for an unlogged table (Michael Paquier)

    Previously, this was skipped whenwal_level =minimal, but actually it's necessary even in that case to ensure that the unlogged table is properly reset to empty after a crash.

  • Reduce interlocking on standby servers during the replay of btree index vacuuming operations (Simon Riggs)

    This change avoids substantial replication delays that sometimes occurred while replaying such operations.

  • If the stats collector dies during hot standby, restart it (Takayuki Tsunakawa)

  • Ensure that hot standby feedback works correctly when it's enabled at standby server start (Ants Aasma, Craig Ringer)

  • Check for interrupts while hot standby is waiting for a conflicting query (Simon Riggs)

  • Avoid constantly respawning the autovacuum launcher in a corner case (Amit Khandekar)

    This fix avoids problems when autovacuum is nominally off and there are some tables that require freezing, but all such tables are already being processed by autovacuum workers.

  • Fix check for when an extension member object can be dropped (Tom Lane)

    Extension upgrade scripts should be able to drop member objects, but this was disallowed for serial-column sequences, and possibly other cases.

  • Make sureALTER TABLE preserves index tablespace assignments when rebuilding indexes (Tom Lane, Michael Paquier)

    Previously, non-default settings ofdefault_tablespace could result in broken indexes.

  • Fix incorrect updating of trigger function properties when changing a foreign-key constraint's deferrability properties withALTER TABLE ... ALTER CONSTRAINT (Tom Lane)

    This led to odd failures during subsequent exercise of the foreign key, as the triggers were fired at the wrong times.

  • Prevent dropping a foreign-key constraint if there are pending trigger events for the referenced relation (Tom Lane)

    This avoidscould not find triggerNNN orrelationNNN has no triggers errors.

  • FixALTER TABLE ... SET DATA TYPE ... USING when child table has different column ordering than the parent (Álvaro Herrera)

    Failure to adjust the column numbering in theUSING expression led to errors, typicallyattributeN has wrong type.

  • Fix processing of OID column when a table with OIDs is associated to a parent with OIDs viaALTER TABLE ... INHERIT (Amit Langote)

    The OID column should be treated the same as regular user columns in this case, but it wasn't, leading to odd behavior in later inheritance changes.

  • FixCREATE OR REPLACE VIEW to update the view query before attempting to apply the new view options (Dean Rasheed)

    Previously the command would fail if the new options were inconsistent with the old view definition.

  • Report correct object identity duringALTER TEXT SEARCH CONFIGURATION (Artur Zakirov)

    The wrong catalog OID was reported to extensions such as logical decoding.

  • Fix commit timestamp mechanism to not fail when queried about the special XIDsFrozenTransactionId andBootstrapTransactionId (Craig Ringer)

  • Check for serializability conflicts before reporting constraint-violation failures (Thomas Munro)

    When using serializable transaction isolation, it is desirable that any error due to concurrent transactions should manifest as a serialization failure, thereby cueing the application that a retry might succeed. Unfortunately, this does not reliably happen for duplicate-key failures caused by concurrent insertions. This change ensures that such an error will be reported as a serialization error if the application explicitly checked for the presence of a conflicting key (and did not find it) earlier in the transaction.

  • Fix incorrect use of view reloptions as regular table reloptions (Tom Lane)

    The symptom was spuriousON CONFLICT is not supported on table ... used as a catalog table errors when the target ofINSERT ... ON CONFLICT is a view with cascade option.

  • Fix incorrecttarget lists can have at mostN entries complaint when usingON CONFLICT with wide tables (Tom Lane)

  • Prevent multicolumn expansion offoo.* in anUPDATE source expression (Tom Lane)

    This led toUPDATE target count mismatch --- internal error. Now the syntax is understood as a whole-row variable, as it would be in other contexts.

  • Ensure that column typmods are determined accurately for multi-rowVALUES constructs (Tom Lane)

    This fixes problems occurring when the first value in a column has a determinable typmod (e.g., length for avarchar value) but later values don't share the same limit.

  • Throw error for an unfinished Unicode surrogate pair at the end of a Unicode string (Tom Lane)

    Normally, a Unicode surrogate leading character must be followed by a Unicode surrogate trailing character, but the check for this was missed if the leading character was the last character in a Unicode string literal (U&'...') or Unicode identifier (U&"...").

  • Ensure that a purely negative text search query, such as!foo, matches emptytsvectors (Tom Dunstan)

    Such matches were found by GIN index searches, but not by sequential scans or GiST index searches.

  • Prevent crash whents_rewrite() replaces a non-top-level subtree with an empty query (Artur Zakirov)

  • Fix performance problems ints_rewrite() (Tom Lane)

  • Fixts_rewrite()'s handling of nested NOT operators (Tom Lane)

  • Improve speed of user-defined aggregates that usearray_append() as transition function (Tom Lane)

  • Fixarray_fill() to handle empty arrays properly (Tom Lane)

  • Fix possible crash inarray_position() orarray_positions() when processing arrays of records (Junseok Yang)

  • Fix one-byte buffer overrun inquote_literal_cstr() (Heikki Linnakangas)

    The overrun occurred only if the input consisted entirely of single quotes and/or backslashes.

  • Prevent multiple calls ofpg_start_backup() andpg_stop_backup() from running concurrently (Michael Paquier)

    This avoids an assertion failure, and possibly worse things, if someone tries to run these functions in parallel.

  • Disable transform that attempted to remove no-opAT TIME ZONE conversions (Tom Lane)

    This resulted in wrong answers when the simplified expression was used in an index condition.

  • Avoid discardinginterval-to-interval casts that aren't really no-ops (Tom Lane)

    In some cases, a cast that should result in zeroing out low-orderinterval fields was mistakenly deemed to be a no-op and discarded. An example is that casting fromINTERVAL MONTH toINTERVAL YEAR failed to clear the months field.

  • Fix bugs in transmitting GUC parameter values to parallel workers (Michael Paquier, Tom Lane)

  • Ensure that cached plans are invalidated by changes in foreign-table options (Amit Langote, Etsuro Fujita, Ashutosh Bapat)

  • Fixpg_dump to dump user-defined casts and transforms that use built-in functions (Stephen Frost)

  • Fixpg_restore with--create --if-exists to behave more sanely if an archive contains unrecognizedDROP commands (Tom Lane)

    This doesn't fix any live bug, but it may improve the behavior in future ifpg_restore is used with an archive generated by a laterpg_dump version.

  • Fixpg_basebackup's rate limiting in the presence of slow I/O (Antonin Houska)

    If disk I/O was transiently much slower than the specified rate limit, the calculation overflowed, effectively disabling the rate limit for the rest of the run.

  • Fixpg_basebackup's handling of symlinkedpg_stat_tmp andpg_replslot subdirectories (Magnus Hagander, Michael Paquier)

  • Fix possiblepg_basebackup failure on standby server when including WAL files (Amit Kapila, Robert Haas)

  • Fix possible mishandling of expanded arrays in domain check constraints andCASE execution (Tom Lane)

    It was possible for a PL/pgSQL function invoked in these contexts to modify or even delete an array value that needs to be preserved for additional operations.

  • Fix nested uses of PL/pgSQL functions in contexts such as domain check constraints evaluated during assignment to a PL/pgSQL variable (Tom Lane)

  • Ensure that the Python exception objects we create for PL/Python are properly reference-counted (Rafa de la Torre, Tom Lane)

    This avoids failures if the objects are used after a Python garbage collection cycle has occurred.

  • Fix PL/Tcl to support triggers on tables that have.tupno as a column name (Tom Lane)

    This matches the (previously undocumented) behavior of PL/Tcl'sspi_exec andspi_execp commands, namely that a magic.tupno column is inserted only if there isn't a real column named that.

  • Allow DOS-style line endings in~/.pgpass files, even on Unix (Vik Fearing)

    This change simplifies use of the same password file across Unix and Windows machines.

  • Fix one-byte buffer overrun ifecpg is given a file name that ends with a dot (Takayuki Tsunakawa)

  • Fixpsql's tab completion forALTER DEFAULT PRIVILEGES (Gilles Darold, Stephen Frost)

  • Inpsql, treat an empty or all-blank setting of thePAGER environment variable as meaningno pager (Tom Lane)

    Previously, such a setting caused output intended for the pager to vanish entirely.

  • Improvecontrib/dblink's reporting of low-levellibpq errors, such as out-of-memory (Joe Conway)

  • Teachcontrib/dblink to ignore irrelevant server options when it uses acontrib/postgres_fdw foreign server as the source of connection options (Corey Huinker)

    Previously, if the foreign server object had options that were not alsolibpq connection options, an error occurred.

  • Fix portability problems incontrib/pageinspect's functions for GIN indexes (Peter Eisentraut, Tom Lane)

  • On Windows, ensure that environment variable changes are propagated to DLLs built with debug options (Christian Ullrich)

  • Sync our copy of the timezone library with IANA release tzcode2016j (Tom Lane)

    This fixes various issues, most notably that timezone data installation failed if the target directory didn't support hard links.

  • Update time zone data files totzdata release 2016j for DST law changes in northern Cyprus (adding a new zone Asia/Famagusta), Russia (adding a new zone Europe/Saratov), Tonga, and Antarctica/Casey. Historical corrections for Italy, Kazakhstan, Malta, and Palestine. Switch to preferring numeric zone abbreviations for Tonga.


Prev Up Next
E.38. Release 9.5.7 Home E.40. Release 9.5.5
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