{"already_in_source_count":0,"candidate_count":214,"cross_major":false,"cve_available":true,"cve_count":0,"cves":[],"duplicate_count":0,"excluded_count":0,"exclusions":[],"from_release":null,"groups":[{"age_days":3709,"build":"9.6.0","changes_count":201,"compatibility_count":13,"content_hash":"6103eb5c3092a5c44c15f5d68f04e785a0b0d6a7dee4a937ff3ef50a77d3442d","date":"2016-09-29","date_text":"2016-09-29","doc_git":"","doc_loaded_at":"2026-09-25T02:22:44.760693","entries":[{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["53be0b1ad"],"commit_groups":[["53be0b1ad"]],"commits":[],"cves":[],"db_id":"e2dc309ebd136c70bf10ef9a0793f2fd","html":"\u003cp\u003eImprove the \u003ca href=\"/docs/9.6/monitoring-stats.html#PG-STAT-ACTIVITY-VIEW\"\u003epg_stat_activity\u003c/a\u003e view's information about what a process is waiting for (Amit Kapila, Ildus Kurbangaliev)\u003c/p\u003e\n\u003cp\u003eHistorically a process has only been shown as waiting if it was waiting for a heavyweight lock. Now waits for lightweight locks and buffer pins are also shown in pg_stat_activity. Also, the type of lock being waited for is now visible. These changes replace the waiting column with wait_event_type and wait_event.\u003c/p\u003e","id":"9.6.0-ecb36fab075e18e9","identity_text":"Improve the pg_stat_activity view's information about what a process is waiting for (Amit Kapila, Ildus Kurbangaliev) Historically a process has only been shown as waiting if it was waiting for a heavyweight lock. Now waits for lightweight locks and buffer pins are also shown in pg_stat_activity. Also, the type of lock being waited for is now visible. These changes replace the waiting column with wait_event_type and wait_event.","part":"migration","patch_ids":["bcf596a0d9a8ad18303a147c3f5cd180"],"related_changes":[],"relations":[],"section":"Compatibility","section_path":["Compatibility"],"source_commits":["53be0b1ad"],"source_entry_id":"9.6.0/migration/001","source_hash":"f5e61fe875e9074370160d408fc19c9e67bf698ef900cff8c5ddf83b2e5f6703","source_url":"/docs/release/9.6.0/#AEN136178","statement_hash":"d49f2ffc26eeb4e3aa797082977f5e1e904a30139416f10109ef5efebc07b40d","text":"Improve the pg_stat_activity view's information about what a process is waiting for (Amit Kapila, Ildus Kurbangaliev) Historically a process has only been shown as waiting if it was waiting for a heavyweight lock. Now waits for lightweight locks and buffer pins are also shown in pg_stat_activity. Also, the type of lock being waited for is now visible. These changes replace the waiting column with wait_event_type and wait_event.","title":"Improve the pg_stat_activity view's information about what a process is waiting for","variants":[],"version":"9.6.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["2d87eedc1"],"commit_groups":[["2d87eedc1"]],"commits":[],"cves":[],"db_id":"17a007dec372d6c06c09edaca640d34b","html":"\u003cp\u003eIn \u003ca href=\"/docs/9.6/functions-formatting.html#FUNCTIONS-FORMATTING-TABLE\"\u003e\u003ccode\u003eto_char()\u003c/code\u003e\u003c/a\u003e, do not count a minus sign (when needed) as part of the field width for time-related fields (Bruce Momjian)\u003c/p\u003e\n\u003cp\u003eFor example, to_char('-4 years'::interval, 'YY') now returns -04, rather than -4.\u003c/p\u003e","id":"9.6.0-137375b34fab0928","identity_text":"In to_char(), do not count a minus sign (when needed) as part of the field width for time-related fields (Bruce Momjian) For example, to_char('-4 years'::interval, 'YY') now returns -04, rather than -4.","part":"migration","patch_ids":["077b532032e089c823a15258e24673af"],"related_changes":[],"relations":[],"section":"Compatibility","section_path":["Compatibility"],"source_commits":["2d87eedc1"],"source_entry_id":"9.6.0/migration/002","source_hash":"1e856cfeb0ba091f62247552e0029cacd767c8a5d8bedf29ba4cf4a474ba4bda","source_url":"/docs/release/9.6.0/#AEN136178","statement_hash":"8f20f5a9dea16dd09bdb40ee5ed74cb4a34b5b49036447939c011784a941c02f","text":"In to_char(), do not count a minus sign (when needed) as part of the field width for time-related fields (Bruce Momjian) For example, to_char('-4 years'::interval, 'YY') now returns -04, rather than -4.","title":"In to_char(), do not count a minus sign (when needed) as part of the field width for time-related fields","variants":[],"version":"9.6.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["647d87c56"],"commit_groups":[["647d87c56"]],"commits":[],"cves":[],"db_id":"2dc696bd8395e09451423f654f236bc6","html":"\u003cp\u003eMake \u003ca href=\"/docs/9.6/functions-datetime.html#FUNCTIONS-DATETIME-TABLE\"\u003e\u003ccode\u003eextract()\u003c/code\u003e\u003c/a\u003e behave more reasonably with infinite inputs (Vitaly Burovoy)\u003c/p\u003e\n\u003cp\u003eHistorically the \u003ccode\u003eextract()\u003c/code\u003e function just returned zero given an infinite timestamp, regardless of the given field name. Make it return infinity or -infinity as appropriate when the requested field is one that is monotonically increasing (e.g, year, epoch), or NULL when it is not (e.g., day, hour). Also, throw the expected error for bad field names.\u003c/p\u003e","id":"9.6.0-8f938ce4137f9c51","identity_text":"Make extract() behave more reasonably with infinite inputs (Vitaly Burovoy) Historically the extract() function just returned zero given an infinite timestamp, regardless of the given field name. Make it return infinity or -infinity as appropriate when the requested field is one that is monotonically increasing (e.g, year, epoch), or NULL when it is not (e.g., day, hour). Also, throw the expected error for bad field names.","part":"migration","patch_ids":["fb36be22ac6f96ac5af46d50b7e30df7"],"related_changes":[],"relations":[],"section":"Compatibility","section_path":["Compatibility"],"source_commits":["647d87c56"],"source_entry_id":"9.6.0/migration/003","source_hash":"7f2955b503b118a7021d565ac667dc562f5697508fd24d7bfc2051203f0607a0","source_url":"/docs/release/9.6.0/#AEN136178","statement_hash":"fa2b8f03a0e1e973929e03dfae3f774df2d1de667ae6e404d338bf495ed28b1b","text":"Make extract() behave more reasonably with infinite inputs (Vitaly Burovoy) Historically the extract() function just returned zero given an infinite timestamp, regardless of the given field name. Make it return infinity or -infinity as appropriate when the requested field is one that is monotonically increasing (e.g, year, epoch), or NULL when it is not (e.g., day, hour). Also, throw the expected error for bad field names.","title":"Make extract() behave more reasonably with infinite inputs","variants":[],"version":"9.6.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["0426f349e"],"commit_groups":[["0426f349e"]],"commits":[],"cves":[],"db_id":"170b1fefcffcedda9461e5d56803fec1","html":"\u003cp\u003eRemove PL/pgSQL's \u003cspan\u003e\"feature\"\u003c/span\u003e that suppressed the innermost line of CONTEXT for messages emitted by RAISE commands (Pavel Stehule)\u003c/p\u003e\n\u003cp\u003eThis ancient backwards-compatibility hack was agreed to have outlived its usefulness.\u003c/p\u003e","id":"9.6.0-2da6c2a69bcc87a1","identity_text":"Remove PL/pgSQL's feature that suppressed the innermost line of CONTEXT for messages emitted by RAISE commands (Pavel Stehule) This ancient backwards-compatibility hack was agreed to have outlived its usefulness.","part":"migration","patch_ids":["d674faf49d479be5cc744274d9634d04"],"related_changes":[{"db_id":"3ce123ea6c2d6bd34288d178655446b8","evidence":{"ambiguous_patch_ids":["d674faf49d479be5cc744274d9634d04"],"patch_ids":["d674faf49d479be5cc744274d9634d04"],"same_day":true},"kind":"related","label":"9.6","source_url":"/docs/release/9.6.0/#AEN137081","title":"Introduce a feature whereby the CONTEXT field of messages can be suppressed, either always or only for non-error messages","url":"/docs/compare/?release=9.6.0#9.6.0-1b1310419fe4d9b3","version":"9.6.0"},{"db_id":"38f5670a2a48e398fc5f56296717be27","evidence":{"ambiguous_patch_ids":["d674faf49d479be5cc744274d9634d04"],"patch_ids":["d674faf49d479be5cc744274d9634d04"],"same_day":true},"kind":"related","label":"9.6","source_url":"/docs/release/9.6.0/#AEN137021","title":"Introduce a feature in libpq whereby the CONTEXT field of messages can be suppressed, either always or only for non-error messages","url":"/docs/compare/?release=9.6.0#9.6.0-e71bca0e25865361","version":"9.6.0"}],"relations":[{"evidence":{"ambiguous_patch_ids":["d674faf49d479be5cc744274d9634d04"],"patch_ids":["d674faf49d479be5cc744274d9634d04"],"same_day":true},"rule":2,"target":"38f5670a2a48e398fc5f56296717be27","type":"related"},{"evidence":{"ambiguous_patch_ids":["d674faf49d479be5cc744274d9634d04"],"patch_ids":["d674faf49d479be5cc744274d9634d04"],"same_day":true},"rule":2,"target":"3ce123ea6c2d6bd34288d178655446b8","type":"related"}],"section":"Compatibility","section_path":["Compatibility"],"source_commits":["0426f349e"],"source_entry_id":"9.6.0/migration/004","source_hash":"a2283b236e5f352ad8084822e91b263bddd493469dcc9a6070ff92859258b65b","source_url":"/docs/release/9.6.0/#AEN136178","statement_hash":"971c59d90a9ad7c27a237bc3429b0c57588ca4beaa6dd3c0b354475ddb06835d","text":"Remove PL/pgSQL's \"feature\" that suppressed the innermost line of CONTEXT for messages emitted by RAISE commands (Pavel Stehule) This ancient backwards-compatibility hack was agreed to have outlived its usefulness.","title":"Remove PL/pgSQL's \"feature\" that suppressed the innermost line of CONTEXT for messages emitted by RAISE commands","variants":[],"version":"9.6.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["61d66c44f"],"commit_groups":[["61d66c44f"]],"commits":[],"cves":[],"db_id":"b749eb94f36cc6c5201663896819c6a0","html":"\u003cp\u003eFix the default text search parser to allow leading digits in email and host tokens (Artur Zakirov)\u003c/p\u003e\n\u003cp\u003eIn most cases this will result in few changes in the parsing of text. But if you have data where such addresses occur frequently, it may be worth rebuilding dependent tsvector columns and indexes so that addresses of this form will be found properly by text searches.\u003c/p\u003e","id":"9.6.0-bef3596b0633b687","identity_text":"Fix the default text search parser to allow leading digits in email and host tokens (Artur Zakirov) In most cases this will result in few changes in the parsing of text. But if you have data where such addresses occur frequently, it may be worth rebuilding dependent tsvector columns and indexes so that addresses of this form will be found properly by text searches.","part":"migration","patch_ids":["4faf17b1f7f15f13d164bdccecda332f"],"related_changes":[],"relations":[],"section":"Compatibility","section_path":["Compatibility"],"source_commits":["61d66c44f"],"source_entry_id":"9.6.0/migration/005","source_hash":"3cb73f5fa064b8b8e5c77e45ef27a63cd4f1542336cc736c754f5d27a8862e5c","source_url":"/docs/release/9.6.0/#AEN136178","statement_hash":"e82e3c3133216ec60cd00012503ac03de9f31995077fa163ef1ef3067136fba2","text":"Fix the default text search parser to allow leading digits in email and host tokens (Artur Zakirov) In most cases this will result in few changes in the parsing of text. But if you have data where such addresses occur frequently, it may be worth rebuilding dependent tsvector columns and indexes so that addresses of this form will be found properly by text searches.","title":"Fix the default text search parser to allow leading digits in email and host tokens","variants":[],"version":"9.6.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["1bbd52cb9","9a206d063"],"commit_groups":[["1bbd52cb9"],["9a206d063"]],"commits":[],"cves":[],"db_id":"f803482fb74818b6a3b27a4473d26aa3","html":"\u003cp\u003eExtend \u003ca href=\"/docs/9.6/unaccent.html\"\u003econtrib/unaccent\u003c/a\u003e's standard unaccent.rules file to handle all diacritics known to Unicode, and to expand ligatures correctly (Thomas Munro, Léonard Benedetti)\u003c/p\u003e\n\u003cp\u003eThe previous version neglected to convert some less-common letters with diacritic marks. Also, ligatures are now expanded into separate letters. Installations that use this rules file may wish to rebuild tsvector columns and indexes that depend on the result.\u003c/p\u003e","id":"9.6.0-05f5d2b3984ba6b7","identity_text":"Extend contrib/unaccent's standard unaccent.rules file to handle all diacritics known to Unicode, and to expand ligatures correctly (Thomas Munro, Léonard Benedetti) The previous version neglected to convert some less-common letters with diacritic marks. Also, ligatures are now expanded into separate letters. Installations that use this rules file may wish to rebuild tsvector columns and indexes that depend on the result.","part":"migration","patch_ids":["277f9ba913b84107a8966cc07afc9737","b7cecf35ca32cc49b8aecd6f8c4b46eb"],"related_changes":[],"relations":[],"section":"Compatibility","section_path":["Compatibility"],"source_commits":["1bbd52cb9","9a206d063"],"source_entry_id":"9.6.0/migration/006","source_hash":"467429103d85d523539599e2eb19d0d0f7411a961c2780ef72a9ca76121af389","source_url":"/docs/release/9.6.0/#AEN136178","statement_hash":"bcdfc447eeb1a5ad62bcadc4d3f053b2a2af7b6f16036a2426a1a2c8028f179d","text":"Extend contrib/unaccent's standard unaccent.rules file to handle all diacritics known to Unicode, and to expand ligatures correctly (Thomas Munro, Léonard Benedetti) The previous version neglected to convert some less-common letters with diacritic marks. Also, ligatures are now expanded into separate letters. Installations that use this rules file may wish to rebuild tsvector columns and indexes that depend on the result.","title":"Extend contrib/unaccent's standard unaccent.rules file to handle all diacritics known to Unicode, and to expand ligatures correctly","variants":[],"version":"9.6.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["d371bebd3"],"commit_groups":[["d371bebd3"]],"commits":[],"cves":[],"db_id":"3932e353833368c6b2a182c4d1edd0bf","html":"\u003cp\u003eRemove the long-deprecated CREATEUSER/NOCREATEUSER options from CREATE ROLE and allied commands (Tom Lane)\u003c/p\u003e\n\u003cp\u003eCREATEUSER actually meant SUPERUSER, for ancient backwards-compatibility reasons. This has been a constant source of confusion for people who (reasonably) expect it to mean CREATEROLE. It has been deprecated for ten years now, so fix the problem by removing it.\u003c/p\u003e","id":"9.6.0-8d4ccb7b402d54dc","identity_text":"Remove the long-deprecated CREATEUSER/NOCREATEUSER options from CREATE ROLE and allied commands (Tom Lane) CREATEUSER actually meant SUPERUSER, for ancient backwards-compatibility reasons. This has been a constant source of confusion for people who (reasonably) expect it to mean CREATEROLE. It has been deprecated for ten years now, so fix the problem by removing it.","part":"migration","patch_ids":["00a6717bf5453e71c25406c6ff93027e"],"related_changes":[],"relations":[],"section":"Compatibility","section_path":["Compatibility"],"source_commits":["d371bebd3"],"source_entry_id":"9.6.0/migration/007","source_hash":"e0e4570969d76e990ac664d6b39afc297baea71691d3ae6e1a880695ca1644b0","source_url":"/docs/release/9.6.0/#AEN136178","statement_hash":"bc0dce25cbcef327da240e192cd838e7c6f3ba9fd1319f891f4cc1c423b96634","text":"Remove the long-deprecated CREATEUSER/NOCREATEUSER options from CREATE ROLE and allied commands (Tom Lane) CREATEUSER actually meant SUPERUSER, for ancient backwards-compatibility reasons. This has been a constant source of confusion for people who (reasonably) expect it to mean CREATEROLE. It has been deprecated for ten years now, so fix the problem by removing it.","title":"Remove the long-deprecated CREATEUSER/NOCREATEUSER options from CREATE ROLE and allied commands","variants":[],"version":"9.6.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["293007898","7df974ee0","a89505fd2"],"commit_groups":[["293007898"],["7df974ee0"],["a89505fd2"]],"commits":[],"cves":[],"db_id":"3972d610a1c387388e962e552b480a89","html":"\u003cp\u003eTreat role names beginning with pg_ as reserved (Stephen Frost)\u003c/p\u003e\n\u003cp\u003eUser creation of such role names is now disallowed. This prevents conflicts with built-in roles created by \u003cspan\u003einitdb\u003c/span\u003e.\u003c/p\u003e","id":"9.6.0-4669d84e40f5c1de","identity_text":"Treat role names beginning with pg_ as reserved (Stephen Frost) User creation of such role names is now disallowed. This prevents conflicts with built-in roles created by initdb.","part":"migration","patch_ids":["03ebea0db083d73366dbe6a7174ba0b8","08bb0085366a845af153d5fafe9b31b9","d2cc9157527b29931277bb8c40fb17e1"],"related_changes":[],"relations":[],"section":"Compatibility","section_path":["Compatibility"],"source_commits":["293007898","7df974ee0","a89505fd2"],"source_entry_id":"9.6.0/migration/008","source_hash":"9ff12fa1b2f139e5eb71f86ffbdb93f9e7350e7da92e6e36b402d99e32472451","source_url":"/docs/release/9.6.0/#AEN136178","statement_hash":"1a8f2c65da2eea6508c12b224c8353e7d09f9020fb2d4dd74d9ceef87d819dee","text":"Treat role names beginning with pg_ as reserved (Stephen Frost) User creation of such role names is now disallowed. This prevents conflicts with built-in roles created by initdb.","title":"Treat role names beginning with pg_ as reserved","variants":[],"version":"9.6.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["d8710f18f"],"commit_groups":[["d8710f18f"]],"commits":[],"cves":[],"db_id":"0a291ea22cac47a949457b287472320a","html":"\u003cp\u003eChange a column name in the information_schema.routines view from result_cast_character_set_name to result_cast_char_set_name (Clément Prévost)\u003c/p\u003e\n\u003cp\u003eThe SQL:2011 standard specifies the longer name, but that appears to be a mistake, because adjacent column names use the shorter style, as do other information_schema views.\u003c/p\u003e","id":"9.6.0-7be10c7c1e4c535f","identity_text":"Change a column name in the information_schema.routines view from result_cast_character_set_name to result_cast_char_set_name (Clément Prévost) The SQL:2011 standard specifies the longer name, but that appears to be a mistake, because adjacent column names use the shorter style, as do other information_schema views.","part":"migration","patch_ids":["328841cead83e561d0fd754e2aa711b9"],"related_changes":[],"relations":[],"section":"Compatibility","section_path":["Compatibility"],"source_commits":["d8710f18f"],"source_entry_id":"9.6.0/migration/009","source_hash":"2fc01c279df661840ddd2c4c96aad83d8bf225fe9e5eebd2b98256007ec479f7","source_url":"/docs/release/9.6.0/#AEN136178","statement_hash":"a1a68be950a734186cf7a52059642c4ab027bbea9741714968ae30db84ef38ec","text":"Change a column name in the information_schema.routines view from result_cast_character_set_name to result_cast_char_set_name (Clément Prévost) The SQL:2011 standard specifies the longer name, but that appears to be a mistake, because adjacent column names use the shorter style, as do other information_schema views.","title":"Change a column name in the information_schema.routines view from result_cast_character_set_name to result_cast_char_set_name","variants":[],"version":"9.6.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["d5563d7df"],"commit_groups":[["d5563d7df"]],"commits":[],"cves":[],"db_id":"fc511d32b5b42f2b7b4101c635c29f52","html":"\u003cp\u003e\u003cspan\u003epsql\u003c/span\u003e's -c option no longer implies --no-psqlrc (Pavel Stehule, Catalin Iacob)\u003c/p\u003e\n\u003cp\u003eWrite --no-psqlrc (or its abbreviation -X) explicitly to obtain the old behavior. Scripts so modified will still work with old versions of \u003cspan\u003epsql\u003c/span\u003e.\u003c/p\u003e","id":"9.6.0-e978351ed69c8ec5","identity_text":"psql's -c option no longer implies --no-psqlrc (Pavel Stehule, Catalin Iacob) Write --no-psqlrc (or its abbreviation -X) explicitly to obtain the old behavior. Scripts so modified will still work with old versions of psql.","part":"migration","patch_ids":["d44cc20a573665822f6c5b3fb2de7086"],"related_changes":[{"db_id":"a00cd5070d8809c80e20264fef692640","evidence":{"patch_ids":["d44cc20a573665822f6c5b3fb2de7086"],"same_day":true},"kind":"related","label":"9.6","source_url":"/docs/release/9.6.0/#AEN137081","title":"Support multiple -c and -f command-line options","url":"/docs/compare/?release=9.6.0#9.6.0-ba9ec58b94716045","version":"9.6.0"}],"relations":[{"evidence":{"patch_ids":["d44cc20a573665822f6c5b3fb2de7086"],"same_day":true},"rule":2,"target":"a00cd5070d8809c80e20264fef692640","type":"related"}],"section":"Compatibility","section_path":["Compatibility"],"source_commits":["d5563d7df"],"source_entry_id":"9.6.0/migration/010","source_hash":"f2b462f51d5ec42aace90d38071f96349407dbeac7b6358311eb13829c7e5f8b","source_url":"/docs/release/9.6.0/#AEN136178","statement_hash":"6ac863943fdc1e52ce098aa0f8ba426780904a6a82d2dcf21f72855c56892218","text":"psql's -c option no longer implies --no-psqlrc (Pavel Stehule, Catalin Iacob) Write --no-psqlrc (or its abbreviation -X) explicitly to obtain the old behavior. Scripts so modified will still work with old versions of psql.","title":"psql's -c option no longer implies --no-psqlrc","variants":[],"version":"9.6.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["5671aaca8"],"commit_groups":[["5671aaca8"]],"commits":[],"cves":[],"db_id":"eef97d98f9e3592d163f35c79e1e5528","html":"\u003cp\u003eImprove \u003cspan\u003epg_restore\u003c/span\u003e's -t option to match all types of relations, not only plain tables (Craig Ringer)\u003c/p\u003e","id":"9.6.0-9ca7c7f5cead5f9d","identity_text":"Improve pg_restore's -t option to match all types of relations, not only plain tables (Craig Ringer)","part":"migration","patch_ids":["69a4910ed89353b3f8b06d2e962c2963"],"related_changes":[],"relations":[],"section":"Compatibility","section_path":["Compatibility"],"source_commits":["5671aaca8"],"source_entry_id":"9.6.0/migration/011","source_hash":"1ef2e0598dd129446b52863714e5c8daac514b4645ffebfb55aeaee3ca90b1bd","source_url":"/docs/release/9.6.0/#AEN136178","statement_hash":"eda40665e7df662fe5860a3e10b364252e60b538909207ae68b95d0fd43e71ed","text":"Improve pg_restore's -t option to match all types of relations, not only plain tables (Craig Ringer)","title":"Improve pg_restore's -t option to match all types of relations, not only plain tables","variants":[],"version":"9.6.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["59a884e98"],"commit_groups":[["59a884e98"]],"commits":[],"cves":[],"db_id":"5afe4b041eedace38feff2840e7529c9","html":"\u003cp\u003eChange the display format used for NextXID in \u003cspan\u003epg_controldata\u003c/span\u003e and related places (Joe Conway, Bruce Momjian)\u003c/p\u003e\n\u003cp\u003eDisplay epoch-and-transaction-ID values in the format \u003ci\u003enumber\u003c/i\u003e:\u003ci\u003enumber\u003c/i\u003e. The previous format \u003ci\u003enumber\u003c/i\u003e/\u003ci\u003enumber\u003c/i\u003e was confusingly similar to that used for \u003cacronym\u003eLSN\u003c/acronym\u003es.\u003c/p\u003e","id":"9.6.0-becd76467771abaf","identity_text":"Change the display format used for NextXID in pg_controldata and related places (Joe Conway, Bruce Momjian) Display epoch-and-transaction-ID values in the format number:number. The previous format number/number was confusingly similar to that used for LSNs.","part":"migration","patch_ids":["e6017d08f712f6a8b11473e76c2a5a2f"],"related_changes":[],"relations":[],"section":"Compatibility","section_path":["Compatibility"],"source_commits":["59a884e98"],"source_entry_id":"9.6.0/migration/012","source_hash":"74b6bd1a318b16b707b1a1c7f36c7b5e22a066e2618ad3fb0e31a8adbf64873b","source_url":"/docs/release/9.6.0/#AEN136178","statement_hash":"1698fc2dc577bf8c808c47c68f428419c746a02bf0957b430600504cfa338029","text":"Change the display format used for NextXID in pg_controldata and related places (Joe Conway, Bruce Momjian) Display epoch-and-transaction-ID values in the format number:number. The previous format number/number was confusingly similar to that used for LSNs.","title":"Change the display format used for NextXID in pg_controldata and related places","variants":[],"version":"9.6.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["a89b4b1be"],"commit_groups":[["a89b4b1be"]],"commits":[],"cves":[],"db_id":"ab1d1ca160fae426ee12ffbb7759055d","html":"\u003cp\u003eUpdate extension functions to be marked parallel-safe where appropriate (Andreas Karlsson)\u003c/p\u003e\n\u003cp\u003eMany of the standard extensions have been updated to allow their functions to be executed within parallel query worker processes. These changes will not take effect in databases \u003cspan\u003epg_upgrade\u003c/span\u003e'd from prior versions unless you apply ALTER EXTENSION UPDATE to each such extension (in each database of a cluster).\u003c/p\u003e","id":"9.6.0-eb6bc6082304a351","identity_text":"Update extension functions to be marked parallel-safe where appropriate (Andreas Karlsson) Many of the standard extensions have been updated to allow their functions to be executed within parallel query worker processes. These changes will not take effect in databases pg_upgrade'd from prior versions unless you apply ALTER EXTENSION UPDATE to each such extension (in each database of a cluster).","part":"migration","patch_ids":["aaeac8e4bb0600da8eedf031229263af"],"related_changes":[],"relations":[],"section":"Compatibility","section_path":["Compatibility"],"source_commits":["a89b4b1be"],"source_entry_id":"9.6.0/migration/013","source_hash":"0f1735b2d333d989ab19ad7aa8164b054d0498bce855a80eb86c4e061fd887e6","source_url":"/docs/release/9.6.0/#AEN136178","statement_hash":"c9150d5604f50e26b9ebcd2f828290ff3645d3a31f8f88ad3c0b59d0dae9a5d0","text":"Update extension functions to be marked parallel-safe where appropriate (Andreas Karlsson) Many of the standard extensions have been updated to allow their functions to be executed within parallel query worker processes. These changes will not take effect in databases pg_upgrade'd from prior versions unless you apply ALTER EXTENSION UPDATE to each such extension (in each database of a cluster).","title":"Update extension functions to be marked parallel-safe where appropriate","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["11c8669c0","1efc7e538","25fe8b5f1","3bd909b22","45be99f8c","4a4e6893a","57a6a72b6","59eb55127","69d34408e","6e71dd7ce","72ce78162","75be66464","7bea19d0a","7c944bd90","80558c1f5","a0d9f6e43","a1c1af2a1","a53c06a13","b287df70e","bfc78d719","c9ce4a1c6","d1b7c1ffe","e06a38965","ee7ca559f","f0661c4e8","f85b1a841"],"commit_groups":[["11c8669c0"],["1efc7e538"],["25fe8b5f1"],["3bd909b22"],["45be99f8c"],["4a4e6893a"],["57a6a72b6"],["59eb55127"],["69d34408e"],["6e71dd7ce"],["72ce78162"],["75be66464"],["7bea19d0a"],["7c944bd90"],["80558c1f5"],["a0d9f6e43"],["a1c1af2a1"],["a53c06a13"],["b287df70e"],["bfc78d719"],["c9ce4a1c6"],["d1b7c1ffe"],["e06a38965"],["ee7ca559f"],["f0661c4e8"],["f85b1a841"]],"commits":[],"cves":[],"db_id":"22b2014145e35233da7ced351b18ef4d","html":"\u003cp\u003eParallel queries (Robert Haas, Amit Kapila, David Rowley, many others)\u003c/p\u003e\n\u003cp\u003eWith 9.6, \u003cspan\u003ePostgreSQL\u003c/span\u003e introduces initial support for parallel execution of large queries. Only strictly read-only queries where the driving table is accessed via a sequential scan can be parallelized. Hash joins and nested loops can be performed in parallel, as can aggregation (for supported aggregates). Much remains to be done, but this is already a useful set of features.\u003c/p\u003e\n\u003cp\u003eParallel query execution is not (yet) enabled by default. To allow it, set the new configuration parameter \u003ca href=\"/docs/9.6/runtime-config-resource.html#GUC-MAX-PARALLEL-WORKERS-PER-GATHER\"\u003emax_parallel_workers_per_gather\u003c/a\u003e to a value larger than zero. Additional control over use of parallelism is available through other new configuration parameters \u003ca href=\"/docs/9.6/runtime-config-query.html#GUC-FORCE-PARALLEL-MODE\"\u003eforce_parallel_mode\u003c/a\u003e, \u003ca href=\"/docs/9.6/runtime-config-query.html#GUC-PARALLEL-SETUP-COST\"\u003eparallel_setup_cost\u003c/a\u003e, \u003ca href=\"/docs/9.6/runtime-config-query.html#GUC-PARALLEL-TUPLE-COST\"\u003eparallel_tuple_cost\u003c/a\u003e, and \u003ca href=\"/docs/9.6/runtime-config-query.html#GUC-MIN-PARALLEL-RELATION-SIZE\"\u003emin_parallel_relation_size\u003c/a\u003e.\u003c/p\u003e","id":"9.6.0-fe433ff9e307124a","identity_text":"Parallel queries (Robert Haas, Amit Kapila, David Rowley, many others) With 9.6, PostgreSQL introduces initial support for parallel execution of large queries. Only strictly read-only queries where the driving table is accessed via a sequential scan can be parallelized. Hash joins and nested loops can be performed in parallel, as can aggregation (for supported aggregates). Much remains to be done, but this is already a useful set of features. Parallel query execution is not (yet) enabled by default. To allow it, set the new configuration parameter guc-max-parallel-workers-per-gather to a value larger than zero. Additional control over use of parallelism is available through other new configuration parameters guc-force-parallel-mode , guc-parallel-setup-cost , guc-parallel-tuple-cost , and guc-min-parallel-relation-size .","part":"changes","patch_ids":["001cca10c70acf6177ab1217eeca697a","0d3f74792898dc39bde7efe7eca975a2","17d991abd00a3c648ea5650546e09ca0","18e9f56e9c810deb596144284fb10f33","2283e740857d7dff852570a151eaec7b","2fff3db6bdec060c535b5e91c3fa594a","41f884cae78b316da0312bfebf8073c1","520b16c8e18008b2595a89f26a594e56","621719f002265d61193ca9754db04a74","6972d6aaef39874f38835bac272d10a3","6a70216c928118ab558fc741be67b05d","6f8bb21409ca075899b6aa07d3416004","781f23a81096db288d37a44a78a36796","7d027bc09def3e52c68dfa2f16e32092","879e529f084ad2b511a84123c4670753","95ca31bd9678aaf5d3b0a93842deb93f","98be47afd1deeb332ed6a79210df0545","a1fdce3220d2f3c58b2b478f379e6892","aca605db471104f5402a59ff6f9cce8c","c4db81f2216ccae956e896478d8eaf15","d2dd7d8f46472d97a8a3001e97cb69bf","d360915fafda6c11de193f0ab65fad37","de3489345f819ee847abce5473ab618e","f7d7b531f6d3a1c066f9562d0945c70a","f8ced9215273a75d487cbb38587ce4fe","fb081e5eb27a83f10b7388dae9ec235d"],"related_changes":[],"relations":[],"section":"Server / Parallel Queries","section_path":["Server","Parallel Queries"],"source_commits":["11c8669c0","1efc7e538","25fe8b5f1","3bd909b22","45be99f8c","4a4e6893a","57a6a72b6","59eb55127","69d34408e","6e71dd7ce","72ce78162","75be66464","7bea19d0a","7c944bd90","80558c1f5","a0d9f6e43","a1c1af2a1","a53c06a13","b287df70e","bfc78d719","c9ce4a1c6","d1b7c1ffe","e06a38965","ee7ca559f","f0661c4e8","f85b1a841"],"source_entry_id":"9.6.0/changes/001","source_hash":"55e634fa02154adadcbdb0702b8faeb98e5c11eecfcbec9621048480e77db24f","source_url":"/docs/release/9.6.0/#AEN136292","statement_hash":"652a42eb767e5391fe6d5a6f3506466e5314c4094638a9e496ecc70e0496f4f5","text":"Parallel queries (Robert Haas, Amit Kapila, David Rowley, many others) With 9.6, PostgreSQL introduces initial support for parallel execution of large queries. Only strictly read-only queries where the driving table is accessed via a sequential scan can be parallelized. Hash joins and nested loops can be performed in parallel, as can aggregation (for supported aggregates). Much remains to be done, but this is already a useful set of features. Parallel query execution is not (yet) enabled by default. To allow it, set the new configuration parameter max_parallel_workers_per_gather to a value larger than zero. Additional control over use of parallelism is available through other new configuration parameters force_parallel_mode, parallel_setup_cost, parallel_tuple_cost, and min_parallel_relation_size.","title":"Parallel queries","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["7aea8e4f2"],"commit_groups":[["7aea8e4f2"]],"commits":[],"cves":[],"db_id":"6a6b0a8c71f2467504be5f5d4179523a","html":"\u003cp\u003eProvide infrastructure for marking the parallel-safety status of functions (Robert Haas, Amit Kapila)\u003c/p\u003e","id":"9.6.0-08253246e828b2af","identity_text":"Provide infrastructure for marking the parallel-safety status of functions (Robert Haas, Amit Kapila)","part":"changes","patch_ids":["01343dd54039ebf13b9cceb510efa9b1"],"related_changes":[],"relations":[],"section":"Server / Parallel Queries","section_path":["Server","Parallel Queries"],"source_commits":["7aea8e4f2"],"source_entry_id":"9.6.0/changes/002","source_hash":"a5a4c45369f775a9a3fbde34c4a4a75bd21f5ec0050c0331df8ba3b6d5015aeb","source_url":"/docs/release/9.6.0/#AEN136292","statement_hash":"8c421de313c1db27697e30d6c94477f6b8967c8aaaf46046414b948ef69951cf","text":"Provide infrastructure for marking the parallel-safety status of functions (Robert Haas, Amit Kapila)","title":"Provide infrastructure for marking the parallel-safety status of functions","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["30bb26b5e"],"commit_groups":[["30bb26b5e"]],"commits":[],"cves":[],"db_id":"4ce29972d221a2fc17eb6004eeba007e","html":"\u003cp\u003eAllow \u003ca href=\"/docs/9.6/gin.html\"\u003e\u003cacronym\u003eGIN\u003c/acronym\u003e\u003c/a\u003e index builds to make effective use of \u003ca href=\"/docs/9.6/runtime-config-resource.html#GUC-MAINTENANCE-WORK-MEM\"\u003emaintenance_work_mem\u003c/a\u003e settings larger than 1 GB (Robert Abraham, Teodor Sigaev)\u003c/p\u003e","id":"9.6.0-2d2b3e89a81012a0","identity_text":"Allow GIN index builds to make effective use of guc-maintenance-work-mem settings larger than 1 GB (Robert Abraham, Teodor Sigaev)","part":"changes","patch_ids":["4ca858f33a0bdf40f3ccda9e8e69d6ba"],"related_changes":[],"relations":[],"section":"Server / Indexes","section_path":["Server","Indexes"],"source_commits":["30bb26b5e"],"source_entry_id":"9.6.0/changes/003","source_hash":"f60364880a957fc6988f88dd1e4515b8ab59368a2a8e4dcea04792f2996aba2c","source_url":"/docs/release/9.6.0/#AEN136307","statement_hash":"35971771b13fb98f802d2691bca58f62b89bf19715a50a5cf7fbf311493071ef","text":"Allow GIN index builds to make effective use of maintenance_work_mem settings larger than 1 GB (Robert Abraham, Teodor Sigaev)","title":"Allow GIN index builds to make effective use of maintenance_work_mem settings larger than 1 GB","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["dc943ad95","e95680832"],"commit_groups":[["dc943ad95"],["e95680832"]],"commits":[],"cves":[],"db_id":"7cc6c7bcaad396c7c5e880c1963c59c7","html":"\u003cp\u003eAdd pages deleted from a GIN index's pending list to the free space map immediately (Jeff Janes, Teodor Sigaev)\u003c/p\u003e\n\u003cp\u003eThis reduces bloat if the table is not vacuumed often.\u003c/p\u003e","id":"9.6.0-0ec2cdebbc750872","identity_text":"Add pages deleted from a GIN index's pending list to the free space map immediately (Jeff Janes, Teodor Sigaev) This reduces bloat if the table is not vacuumed often.","part":"changes","patch_ids":["10261b92ee30c9cf9e5f157477029a4e","f38cdd78b4755b72996cce4e8f1bb761"],"related_changes":[],"relations":[],"section":"Server / Indexes","section_path":["Server","Indexes"],"source_commits":["dc943ad95","e95680832"],"source_entry_id":"9.6.0/changes/004","source_hash":"eafb290fe540de1f4663261e927934cd67bcd207a6a56a7ca81b3310c380a22f","source_url":"/docs/release/9.6.0/#AEN136307","statement_hash":"410daf0bb70805397c5304921174e09d8d1dd6dd6396e5e62e23f54190b4893c","text":"Add pages deleted from a GIN index's pending list to the free space map immediately (Jeff Janes, Teodor Sigaev) This reduces bloat if the table is not vacuumed often.","title":"Add pages deleted from a GIN index's pending list to the free space map immediately","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["7f46eaf03"],"commit_groups":[["7f46eaf03"]],"commits":[],"cves":[],"db_id":"cc9b4f36b81b8f1228fe91ad2d4ada4c","html":"\u003cp\u003eAdd \u003ca href=\"/docs/9.6/functions-admin.html#FUNCTIONS-ADMIN-INDEX\"\u003e\u003ccode\u003egin_clean_pending_list()\u003c/code\u003e\u003c/a\u003e function to allow manual invocation of pending-list cleanup for a GIN index (Jeff Janes)\u003c/p\u003e\n\u003cp\u003eFormerly, such cleanup happened only as a byproduct of vacuuming or analyzing the parent table.\u003c/p\u003e","id":"9.6.0-eb80997e370e322b","identity_text":"Add gin_clean_pending_list() function to allow manual invocation of pending-list cleanup for a GIN index (Jeff Janes) Formerly, such cleanup happened only as a byproduct of vacuuming or analyzing the parent table.","part":"changes","patch_ids":["8e11c602027357db7c16f738cd62ec76"],"related_changes":[],"relations":[],"section":"Server / Indexes","section_path":["Server","Indexes"],"source_commits":["7f46eaf03"],"source_entry_id":"9.6.0/changes/005","source_hash":"7d106a0569ed48a62f23267658939a246b82472f44c8af31f983a6b551e4eaac","source_url":"/docs/release/9.6.0/#AEN136307","statement_hash":"c475a1156b69272cc6b02727cae9495ea09bc2dd5f745df1c6f70f6f5dfcf482","text":"Add gin_clean_pending_list() function to allow manual invocation of pending-list cleanup for a GIN index (Jeff Janes) Formerly, such cleanup happened only as a byproduct of vacuuming or analyzing the parent table.","title":"Add gin_clean_pending_list() function to allow manual invocation of pending-list cleanup for a GIN index","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["013ebc0a7","22f519c92"],"commit_groups":[["013ebc0a7"],["22f519c92"]],"commits":[],"cves":[],"db_id":"66e2a9b5ebfdbb5ce043724ccd8e3568","html":"\u003cp\u003eImprove handling of dead index tuples in \u003ca href=\"/docs/9.6/gist.html\"\u003eGiST\u003c/a\u003e indexes (Anastasia Lubennikova)\u003c/p\u003e\n\u003cp\u003eDead index tuples are now marked as such when an index scan notices that the corresponding heap tuple is dead. When inserting tuples, marked-dead tuples will be removed if needed to make space on the page.\u003c/p\u003e","id":"9.6.0-8152684679d80003","identity_text":"Improve handling of dead index tuples in GiST indexes (Anastasia Lubennikova) Dead index tuples are now marked as such when an index scan notices that the corresponding heap tuple is dead. When inserting tuples, marked-dead tuples will be removed if needed to make space on the page.","part":"changes","patch_ids":["66da618d9659de6fd39a70cc2bfe2a26","6ba8061fa9230605f7a6154173258801"],"related_changes":[],"relations":[],"section":"Server / Indexes","section_path":["Server","Indexes"],"source_commits":["013ebc0a7","22f519c92"],"source_entry_id":"9.6.0/changes/006","source_hash":"0ce368e5a50fc34a166d6896a7bccc61e0bcd655ec7daf93bcc54d3f81d01ead","source_url":"/docs/release/9.6.0/#AEN136307","statement_hash":"df31c6cfa41bab1ebe5108924eb9c5b710b31c60d5b24d42021a9247dec6b953","text":"Improve handling of dead index tuples in GiST indexes (Anastasia Lubennikova) Dead index tuples are now marked as such when an index scan notices that the corresponding heap tuple is dead. When inserting tuples, marked-dead tuples will be removed if needed to make space on the page.","title":"Improve handling of dead index tuples in GiST indexes","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["acdf2a8b3"],"commit_groups":[["acdf2a8b3"]],"commits":[],"cves":[],"db_id":"3c2849a46fd2303223d7ce30ccab4cf0","html":"\u003cp\u003eAdd an \u003ca href=\"/docs/9.6/spgist.html\"\u003eSP-GiST\u003c/a\u003e operator class for type box (Alexander Lebedev)\u003c/p\u003e","id":"9.6.0-acc49ef391905a6b","identity_text":"Add an SP-GiST operator class for type box (Alexander Lebedev)","part":"changes","patch_ids":["b28ef3cb630b33433ee457a8e40e09af"],"related_changes":[],"relations":[],"section":"Server / Indexes","section_path":["Server","Indexes"],"source_commits":["acdf2a8b3"],"source_entry_id":"9.6.0/changes/007","source_hash":"ddec185ba133b413543f06f77ab74df397c068ba8307689d1aefac9082917cf1","source_url":"/docs/release/9.6.0/#AEN136307","statement_hash":"0cb6eb84545f6f2d371db0d960fa176f034c89817b394201d97a8c27e25b7c07","text":"Add an SP-GiST operator class for type box (Alexander Lebedev)","title":"Add an SP-GiST operator class for type box","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["0011c0091","071180377","96ba40c0f"],"commit_groups":[["0011c0091"],["071180377"],["96ba40c0f"]],"commits":[],"cves":[],"db_id":"89f607a2f70352ab1f4ec4b3d1c6c8ed","html":"\u003cp\u003eImprove sorting performance by using quicksort, not replacement selection sort, when performing external sort steps (Peter Geoghegan)\u003c/p\u003e\n\u003cp\u003eThe new approach makes better use of the \u003cacronym\u003eCPU\u003c/acronym\u003e cache for typical cache sizes and data volumes. Where necessary, the behavior can be adjusted via the new configuration parameter \u003ca href=\"/docs/9.6/runtime-config-resource.html#GUC-REPLACEMENT-SORT-TUPLES\"\u003ereplacement_sort_tuples\u003c/a\u003e.\u003c/p\u003e","id":"9.6.0-3f33b6d1157d17cd","identity_text":"Improve sorting performance by using quicksort, not replacement selection sort, when performing external sort steps (Peter Geoghegan) The new approach makes better use of the CPU cache for typical cache sizes and data volumes. Where necessary, the behavior can be adjusted via the new configuration parameter guc-replacement-sort-tuples .","part":"changes","patch_ids":["1d67c30b3ab9e0e4e76c20b8ce75e8a8","3b4005a2784f490d6718be156a4ce7e9","61ea6a9b76ec618b35a63dc3405a3441"],"related_changes":[],"relations":[],"section":"Server / Sorting","section_path":["Server","Sorting"],"source_commits":["0011c0091","071180377","96ba40c0f"],"source_entry_id":"9.6.0/changes/008","source_hash":"e2edf68efa7ac0dfccec3849e773c8f72f65190e12de2a7a4f07198571f9cf4d","source_url":"/docs/release/9.6.0/#AEN136331","statement_hash":"22d88b29a61f697efbf7316fe5336f0db6bb4b3a43fb0687ea7e99d154675206","text":"Improve sorting performance by using quicksort, not replacement selection sort, when performing external sort steps (Peter Geoghegan) The new approach makes better use of the CPU cache for typical cache sizes and data volumes. Where necessary, the behavior can be adjusted via the new configuration parameter replacement_sort_tuples.","title":"Improve sorting performance by using quicksort, not replacement selection sort, when performing external sort steps","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["0e57b4d8b","5be94a9eb"],"commit_groups":[["0e57b4d8b"],["5be94a9eb"]],"commits":[],"cves":[],"db_id":"43ab90e69700b0c832859e3fe79bb1b9","html":"\u003cp\u003eSpeed up text sorts where the same string occurs multiple times (Peter Geoghegan)\u003c/p\u003e","id":"9.6.0-ce1c11f11fa3fe7d","identity_text":"Speed up text sorts where the same string occurs multiple times (Peter Geoghegan)","part":"changes","patch_ids":["30f408ab95f1d3581cb193feb274852f","584065102f06d557ea356dc113358601"],"related_changes":[],"relations":[],"section":"Server / Sorting","section_path":["Server","Sorting"],"source_commits":["0e57b4d8b","5be94a9eb"],"source_entry_id":"9.6.0/changes/009","source_hash":"c8af6c34fffad748e6d99e9914d2fd5011de2341b95e06d6238965f30c99ed7f","source_url":"/docs/release/9.6.0/#AEN136331","statement_hash":"58ebb9ad07b68ee30a4c0d26c5c5d95050958bc133823c19b8eee51285ecadf3","text":"Speed up text sorts where the same string occurs multiple times (Peter Geoghegan)","title":"Speed up text sorts where the same string occurs multiple times","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["a76ef15d9","b47b4dbf6","f1f5ec1ef"],"commit_groups":[["a76ef15d9"],["b47b4dbf6"],["f1f5ec1ef"]],"commits":[],"cves":[],"db_id":"5496090e79dc2420a800bbf1a219ae33","html":"\u003cp\u003eSpeed up sorting of uuid, bytea, and char(n) fields by using \u003cspan\u003e\"abbreviated\"\u003c/span\u003e keys (Peter Geoghegan)\u003c/p\u003e\n\u003cp\u003eSupport for abbreviated keys has also been added to the non-default operator classes \u003ca href=\"/docs/9.6/indexes-opclass.html\"\u003etext_pattern_ops\u003c/a\u003e, varchar_pattern_ops, and bpchar_pattern_ops. Processing of ordered-set aggregates can also now exploit abbreviated keys.\u003c/p\u003e","id":"9.6.0-35832f1c4072d4e4","identity_text":"Speed up sorting of uuid, bytea, and char(n) fields by using abbreviated keys (Peter Geoghegan) Support for abbreviated keys has also been added to the non-default operator classes text_pattern_ops, varchar_pattern_ops, and bpchar_pattern_ops. Processing of ordered-set aggregates can also now exploit abbreviated keys.","part":"changes","patch_ids":["09adea115dbeca4d15216d8d10cb3923","73f5c221e4c28ae5bfca36995402f01f","a6010cb4597af4647a1f2e193709e20d"],"related_changes":[],"relations":[],"section":"Server / Sorting","section_path":["Server","Sorting"],"source_commits":["a76ef15d9","b47b4dbf6","f1f5ec1ef"],"source_entry_id":"9.6.0/changes/010","source_hash":"54d3d5453b0b6269e7e909d7ce56e71750b5c2227d4fe12c5dabdfdf5955c49d","source_url":"/docs/release/9.6.0/#AEN136331","statement_hash":"a832061263c6c1925ad3ee1394ad63d1bf65a4dfe868222ed7aa65cac4b5c43f","text":"Speed up sorting of uuid, bytea, and char(n) fields by using \"abbreviated\" keys (Peter Geoghegan) Support for abbreviated keys has also been added to the non-default operator classes text_pattern_ops, varchar_pattern_ops, and bpchar_pattern_ops. Processing of ordered-set aggregates can also now exploit abbreviated keys.","title":"Speed up sorting of uuid, bytea, and char(n) fields by using \"abbreviated\" keys","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["b648b7034"],"commit_groups":[["b648b7034"]],"commits":[],"cves":[],"db_id":"87625ef8a2c4ed0a64be355a66b888fe","html":"\u003cp\u003eSpeed up CREATE INDEX CONCURRENTLY by treating \u003cacronym\u003eTID\u003c/acronym\u003es as 64-bit integers during sorting (Peter Geoghegan)\u003c/p\u003e","id":"9.6.0-5e4d936e24cd2d2f","identity_text":"Speed up CREATE INDEX CONCURRENTLY by treating TIDs as 64-bit integers during sorting (Peter Geoghegan)","part":"changes","patch_ids":["724e01b95c2b479fab8d073239e992e4"],"related_changes":[],"relations":[],"section":"Server / Sorting","section_path":["Server","Sorting"],"source_commits":["b648b7034"],"source_entry_id":"9.6.0/changes/011","source_hash":"7d86d7188f5b2885cb9f44468d66d8caad378f4f672e9bc5768ff5ff4d2f9b44","source_url":"/docs/release/9.6.0/#AEN136331","statement_hash":"2639e4347a0cd082c50802403801d85037498d84d5dfd15fd3d54d1426584b54","text":"Speed up CREATE INDEX CONCURRENTLY by treating TIDs as 64-bit integers during sorting (Peter Geoghegan)","title":"Speed up CREATE INDEX CONCURRENTLY by treating TIDs as 64-bit integers during sorting","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["0e141c0fb","4aec49899"],"commit_groups":[["0e141c0fb"],["4aec49899"]],"commits":[],"cves":[],"db_id":"5beef537d00340ddc362c29a43c6b141","html":"\u003cp\u003eReduce contention for the ProcArrayLock (Amit Kapila, Robert Haas)\u003c/p\u003e","id":"9.6.0-7af8c558062ee59e","identity_text":"Reduce contention for the ProcArrayLock (Amit Kapila, Robert Haas)","part":"changes","patch_ids":["703c7b427759194c0907b6bd3fa3a011","9c6497cefe2f8be4f23aeb88c413fa0a"],"related_changes":[],"relations":[],"section":"Server / Locking","section_path":["Server","Locking"],"source_commits":["0e141c0fb","4aec49899"],"source_entry_id":"9.6.0/changes/012","source_hash":"23f6c0bd2b76e2540b6f8d1fd54ff19344727e4ac0ed9ceac4c2f93fc3e95ee9","source_url":"/docs/release/9.6.0/#AEN136356","statement_hash":"1e0a9b23a779a64a676b22cc0e0aeab1433580b7628c5030ccc05b3e6ebd8202","text":"Reduce contention for the ProcArrayLock (Amit Kapila, Robert Haas)","title":"Reduce contention for the ProcArrayLock","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["6150a1b08"],"commit_groups":[["6150a1b08"]],"commits":[],"cves":[],"db_id":"2a8c0bf4123012399ff3825a19c9f23f","html":"\u003cp\u003eImprove performance by moving buffer content locks into the buffer descriptors (Andres Freund, Simon Riggs)\u003c/p\u003e","id":"9.6.0-81c26cbdc3d7bbdd","identity_text":"Improve performance by moving buffer content locks into the buffer descriptors (Andres Freund, Simon Riggs)","part":"changes","patch_ids":["0715445a72e691951db91c8b8320c978"],"related_changes":[],"relations":[],"section":"Server / Locking","section_path":["Server","Locking"],"source_commits":["6150a1b08"],"source_entry_id":"9.6.0/changes/013","source_hash":"b9f7d081c338ebd8254d0c787ffbdc0068bbb4b9cd5de6677271fb9ff9f29e72","source_url":"/docs/release/9.6.0/#AEN136356","statement_hash":"fd3cf081c54f9ddfff91b7f5c0198d10138e451c05943b0311fc9e764bb5123b","text":"Improve performance by moving buffer content locks into the buffer descriptors (Andres Freund, Simon Riggs)","title":"Improve performance by moving buffer content locks into the buffer descriptors","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["48354581a"],"commit_groups":[["48354581a"]],"commits":[],"cves":[],"db_id":"853a98e108d16d9ebce23900c2258fdf","html":"\u003cp\u003eReplace shared-buffer header spinlocks with atomic operations to improve scalability (Alexander Korotkov, Andres Freund)\u003c/p\u003e","id":"9.6.0-c118893e0616c8cc","identity_text":"Replace shared-buffer header spinlocks with atomic operations to improve scalability (Alexander Korotkov, Andres Freund)","part":"changes","patch_ids":["ad76e7d55d2739f6979af664af3b0ec5"],"related_changes":[],"relations":[],"section":"Server / Locking","section_path":["Server","Locking"],"source_commits":["48354581a"],"source_entry_id":"9.6.0/changes/014","source_hash":"b0db1115ecd211ba95f46383a21aed25f952667424b9c8e64cb9dcba884a55e4","source_url":"/docs/release/9.6.0/#AEN136356","statement_hash":"a26bb0411114c7bf718653d668127378670bc2faba1487b4fbed99eaadf8c1a0","text":"Replace shared-buffer header spinlocks with atomic operations to improve scalability (Alexander Korotkov, Andres Freund)","title":"Replace shared-buffer header spinlocks with atomic operations to improve scalability","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["008608b9d"],"commit_groups":[["008608b9d"]],"commits":[],"cves":[],"db_id":"e478df8e82eecb62f0cbcf8293a7c129","html":"\u003cp\u003eUse atomic operations, rather than a spinlock, to protect an LWLock's wait queue (Andres Freund)\u003c/p\u003e","id":"9.6.0-5d2a6fa1758f79ee","identity_text":"Use atomic operations, rather than a spinlock, to protect an LWLock's wait queue (Andres Freund)","part":"changes","patch_ids":["f905a273abc22e03c4f227bcade14753"],"related_changes":[],"relations":[],"section":"Server / Locking","section_path":["Server","Locking"],"source_commits":["008608b9d"],"source_entry_id":"9.6.0/changes/015","source_hash":"c7236ca5692b2010e572fd20c5006d7339112276a2de57e3d82d2a0f933372e2","source_url":"/docs/release/9.6.0/#AEN136356","statement_hash":"f2072757e70786233965b31c28bae6482ed0d704ffbed399efcf25877d2ea364","text":"Use atomic operations, rather than a spinlock, to protect an LWLock's wait queue (Andres Freund)","title":"Use atomic operations, rather than a spinlock, to protect an LWLock's wait queue","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["44ca4022f"],"commit_groups":[["44ca4022f"]],"commits":[],"cves":[],"db_id":"628e3ed0a19b8fb2651c9c9768180621","html":"\u003cp\u003ePartition the shared hash table freelist to reduce contention on multi-\u003cacronym\u003eCPU\u003c/acronym\u003e-socket servers (Aleksander Alekseev)\u003c/p\u003e","id":"9.6.0-f4eb615d815c3b56","identity_text":"Partition the shared hash table freelist to reduce contention on multi-CPU-socket servers (Aleksander Alekseev)","part":"changes","patch_ids":["533b89668d0219b15c67700234c75829"],"related_changes":[],"relations":[],"section":"Server / Locking","section_path":["Server","Locking"],"source_commits":["44ca4022f"],"source_entry_id":"9.6.0/changes/016","source_hash":"6e61dea0ac580ae9828d0f63b6ce3118a61dd8713f92beb8eaafa5b322b3282e","source_url":"/docs/release/9.6.0/#AEN136356","statement_hash":"be12dffe344123e81c19a9f1ec3d8a2d25a3d9b49b50b3cd98601618160d43b6","text":"Partition the shared hash table freelist to reduce contention on multi-CPU-socket servers (Aleksander Alekseev)","title":"Partition the shared hash table freelist to reduce contention on multi-CPU-socket servers","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["3e4b7d879","687f2cd7a"],"commit_groups":[["3e4b7d879"],["687f2cd7a"]],"commits":[],"cves":[],"db_id":"1e687def3ff3806f736271ab00c2a6b2","html":"\u003cp\u003eReduce interlocking on standby servers during the replay of btree index vacuuming operations (Simon Riggs)\u003c/p\u003e\n\u003cp\u003eThis change avoids substantial replication delays that sometimes occurred while replaying such operations.\u003c/p\u003e","id":"9.6.0-0ad3571d269d329d","identity_text":"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.","part":"changes","patch_ids":["15a49227310ab6acfdd0b797d16ea019","821d6dbbd4f4106b03b3aa706575182a"],"related_changes":[],"relations":[],"section":"Server / Locking","section_path":["Server","Locking"],"source_commits":["3e4b7d879","687f2cd7a"],"source_entry_id":"9.6.0/changes/017","source_hash":"be7da5bd2f80dfb039a1c694aeb3f62aa80ef5de76b67e73b6d6b5023255cb50","source_url":"/docs/release/9.6.0/#AEN136356","statement_hash":"dc84418d32241fe11b81bb0644e895a5be4e0249e5a2cca2410ac63939e2303e","text":"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.","title":"Reduce interlocking on standby servers during the replay of btree index vacuuming operations","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["391159e03","3d3bf62f3","be4b4dc75"],"commit_groups":[["391159e03"],["3d3bf62f3"],["be4b4dc75"]],"commits":[],"cves":[],"db_id":"8c87736e436b84b5bcae3207c37c1533","html":"\u003cp\u003eImprove ANALYZE's estimates for columns with many nulls (Tomas Vondra, Alex Shulgin)\u003c/p\u003e\n\u003cp\u003ePreviously ANALYZE tended to underestimate the number of non-NULL distinct values in a column with many NULLs, and was also inaccurate in computing the most-common values.\u003c/p\u003e","id":"9.6.0-da52031bf3dcef3b","identity_text":"Improve ANALYZE's estimates for columns with many nulls (Tomas Vondra, Alex Shulgin) Previously ANALYZE tended to underestimate the number of non-NULL distinct values in a column with many NULLs, and was also inaccurate in computing the most-common values.","part":"changes","patch_ids":["2d2dada1086542a313c8cd802a97ab52","b9bc9c2c8df01d6b518c8e7180412f7e","cd4b48faed68340af5cc5eee08bf036f"],"related_changes":[],"relations":[],"section":"Server / Optimizer Statistics","section_path":["Server","Optimizer Statistics"],"source_commits":["391159e03","3d3bf62f3","be4b4dc75"],"source_entry_id":"9.6.0/changes/018","source_hash":"a95db36cb318cfb85cd1fb669ee505b0f260a1107ab18a397b8a85cdd7adfb69","source_url":"/docs/release/9.6.0/#AEN136375","statement_hash":"0979a61cf9ca1d91957e6853645a5763285192c815bd5e875ad8b20cfad6d3cd","text":"Improve ANALYZE's estimates for columns with many nulls (Tomas Vondra, Alex Shulgin) Previously ANALYZE tended to underestimate the number of non-NULL distinct values in a column with many NULLs, and was also inaccurate in computing the most-common values.","title":"Improve ANALYZE's estimates for columns with many nulls","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["84f9a35e3"],"commit_groups":[["84f9a35e3"]],"commits":[],"cves":[],"db_id":"a943b77d28ef57c29c4bd80738438103","html":"\u003cp\u003eImprove planner's estimate of the number of distinct values in a query result (Tomas Vondra)\u003c/p\u003e","id":"9.6.0-e7f63dcbd01a311c","identity_text":"Improve planner's estimate of the number of distinct values in a query result (Tomas Vondra)","part":"changes","patch_ids":["cabc0d5ff1e55cf86558d8994183318d"],"related_changes":[],"relations":[],"section":"Server / Optimizer Statistics","section_path":["Server","Optimizer Statistics"],"source_commits":["84f9a35e3"],"source_entry_id":"9.6.0/changes/019","source_hash":"46360575f2fc8461d43823245a6217e0d6b5542d807bd83651b1e2bf9280c13f","source_url":"/docs/release/9.6.0/#AEN136375","statement_hash":"ae2ee0645ff342d7fb07801c939610cdf731e858d2a3f90909a62b41e0a479e6","text":"Improve planner's estimate of the number of distinct values in a query result (Tomas Vondra)","title":"Improve planner's estimate of the number of distinct values in a query result","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["100340e2d","137805f89","77ba61080"],"commit_groups":[["100340e2d"],["137805f89"],["77ba61080"]],"commits":[],"cves":[],"db_id":"9559012b1bfc32eb348ea56b2797ba40","html":"\u003cp\u003eUse foreign key relationships to infer selectivity for join predicates (Tomas Vondra, David Rowley)\u003c/p\u003e\n\u003cp\u003eIf a table t has a foreign key restriction, say (a,b) REFERENCES r (x,y), then a WHERE condition such as t.a = r.x AND t.b = r.y cannot select more than one r row per t row. The planner formerly considered these AND conditions to be independent and would often drastically misestimate selectivity as a result. Now it compares the WHERE conditions to applicable foreign key constraints and produces better estimates.\u003c/p\u003e","id":"9.6.0-64eeb1b4d15e3e41","identity_text":"Use foreign key relationships to infer selectivity for join predicates (Tomas Vondra, David Rowley) If a table t has a foreign key restriction, say (a,b) REFERENCES r (x,y), then a WHERE condition such as t.a = r.x AND t.b = r.y cannot select more than one r row per t row. The planner formerly considered these AND conditions to be independent and would often drastically misestimate selectivity as a result. Now it compares the WHERE conditions to applicable foreign key constraints and produces better estimates.","part":"changes","patch_ids":["2701ddbf4dc868e7f4bc2a2c595a3fbe","54b53341a3d02c52e549ea2434a9e474","a47e842ff02cc9940a333d7fb474a3ef"],"related_changes":[],"relations":[],"section":"Server / Optimizer Statistics","section_path":["Server","Optimizer Statistics"],"source_commits":["100340e2d","137805f89","77ba61080"],"source_entry_id":"9.6.0/changes/020","source_hash":"43de8bbac3d5862e6b6af3399da80b001a981c131d7f65b0386df5f85e52ffbe","source_url":"/docs/release/9.6.0/#AEN136375","statement_hash":"4f1fe7a02041e7597130a9fe9e93334a866e9d686c7f2dff75278e1fc43470bf","text":"Use foreign key relationships to infer selectivity for join predicates (Tomas Vondra, David Rowley) If a table t has a foreign key restriction, say (a,b) REFERENCES r (x,y), then a WHERE condition such as t.a = r.x AND t.b = r.y cannot select more than one r row per t row. The planner formerly considered these AND conditions to be independent and would often drastically misestimate selectivity as a result. Now it compares the WHERE conditions to applicable foreign key constraints and produces better estimates.","title":"Use foreign key relationships to infer selectivity for join predicates","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["7087166a8","77a1d1e79","a892234f8","e7caacf73","eca0f1db1","ede62e56f","fd31cd265"],"commit_groups":[["7087166a8"],["77a1d1e79"],["a892234f8"],["e7caacf73"],["eca0f1db1"],["ede62e56f"],["fd31cd265"]],"commits":[],"cves":[],"db_id":"4fff634fe4c65021820b4bd34fc8f211","html":"\u003cp\u003eAvoid re-vacuuming pages containing only frozen tuples (Masahiko Sawada, Robert Haas, Andres Freund)\u003c/p\u003e\n\u003cp\u003eFormerly, anti-wraparound vacuum had to visit every page of a table, even pages where there was nothing to do. Now, pages containing only already-frozen tuples are identified in the table's visibility map, and can be skipped by vacuum even when doing transaction wraparound prevention. This should greatly reduce the cost of maintaining large tables containing mostly-unchanging data.\u003c/p\u003e\n\u003cp\u003eIf necessary, vacuum can be forced to process all-frozen pages using the new DISABLE_PAGE_SKIPPING option. Normally this should never be needed, but it might help in recovering from visibility-map corruption.\u003c/p\u003e","id":"9.6.0-2674a4f5a280d87f","identity_text":"Avoid re-vacuuming pages containing only frozen tuples (Masahiko Sawada, Robert Haas, Andres Freund) Formerly, anti-wraparound vacuum had to visit every page of a table, even pages where there was nothing to do. Now, pages containing only already-frozen tuples are identified in the table's visibility map, and can be skipped by vacuum even when doing transaction wraparound prevention. This should greatly reduce the cost of maintaining large tables containing mostly-unchanging data. If necessary, vacuum can be forced to process all-frozen pages using the new DISABLE_PAGE_SKIPPING option. Normally this should never be needed, but it might help in recovering from visibility-map corruption.","part":"changes","patch_ids":["21ffba8dbb99be578423d9caeeb4b596","46b5239444d2206e8d737f14aecb7c5f","7004db6bcc17020cac1d71f274921098","92806e19fade111e9115f486514fe609","97ef2bb9ec2cc404576b05e68bce1bee","cf90194faf3e57137865c657653cf710","fe487206466a53c35b498a9cd3ccf8ed"],"related_changes":[],"relations":[],"section":"Server / VACUUM","section_path":["Server","VACUUM"],"source_commits":["7087166a8","77a1d1e79","a892234f8","e7caacf73","eca0f1db1","ede62e56f","fd31cd265"],"source_entry_id":"9.6.0/changes/021","source_hash":"791dd74a9e701ebc3a1c7096d9a0545ae3758e09140d9831343e36f98dc40eed","source_url":"/docs/release/9.6.0/#AEN136398","statement_hash":"9e874c3f9e475f9067323387496e6109b1db3bbe8aa383f2fdd55a6ec6f81d97","text":"Avoid re-vacuuming pages containing only frozen tuples (Masahiko Sawada, Robert Haas, Andres Freund) Formerly, anti-wraparound vacuum had to visit every page of a table, even pages where there was nothing to do. Now, pages containing only already-frozen tuples are identified in the table's visibility map, and can be skipped by vacuum even when doing transaction wraparound prevention. This should greatly reduce the cost of maintaining large tables containing mostly-unchanging data. If necessary, vacuum can be forced to process all-frozen pages using the new DISABLE_PAGE_SKIPPING option. Normally this should never be needed, but it might help in recovering from visibility-map corruption.","title":"Avoid re-vacuuming pages containing only frozen tuples","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["e84290823"],"commit_groups":[["e84290823"]],"commits":[],"cves":[],"db_id":"45b7f2bf818d4a1361495de54844eebc","html":"\u003cp\u003eAvoid useless heap-truncation attempts during VACUUM (Jeff Janes, Tom Lane)\u003c/p\u003e\n\u003cp\u003eThis change avoids taking an exclusive table lock in some cases where no truncation is possible. The main benefit comes from avoiding unnecessary query cancellations on standby servers.\u003c/p\u003e","id":"9.6.0-e8e5083f67800b1c","identity_text":"Avoid useless heap-truncation attempts during VACUUM (Jeff Janes, Tom Lane) This change avoids taking an exclusive table lock in some cases where no truncation is possible. The main benefit comes from avoiding unnecessary query cancellations on standby servers.","part":"changes","patch_ids":["e4778db577972045fdd29448b88eef25"],"related_changes":[],"relations":[],"section":"Server / VACUUM","section_path":["Server","VACUUM"],"source_commits":["e84290823"],"source_entry_id":"9.6.0/changes/022","source_hash":"cb19d95cd0932a5405ec68ff26d164fb6e92782d5cb0fbe5ff2a63cb7076e5f1","source_url":"/docs/release/9.6.0/#AEN136398","statement_hash":"5550b274ddf97f0e0b8c4dc1dd7839cb509e95ab375281877bd6fd39a98dbaa1","text":"Avoid useless heap-truncation attempts during VACUUM (Jeff Janes, Tom Lane) This change avoids taking an exclusive table lock in some cases where no truncation is possible. The main benefit comes from avoiding unnecessary query cancellations on standby servers.","title":"Avoid useless heap-truncation attempts during VACUUM","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["2cc41acd8","3e2f3c2e4","7e3da1c47","848ef42bb","9ee1cf04a"],"commit_groups":[["2cc41acd8"],["3e2f3c2e4"],["7e3da1c47"],["848ef42bb"],["9ee1cf04a"]],"commits":[],"cves":[],"db_id":"8dc7583034097fdde5e06c9247ba9975","html":"\u003cp\u003eAllow old \u003cacronym\u003eMVCC\u003c/acronym\u003e snapshots to be invalidated after a configurable timeout (Kevin Grittner)\u003c/p\u003e\n\u003cp\u003eNormally, deleted tuples cannot be physically removed by vacuuming until the last transaction that could \u003cspan\u003e\"see\"\u003c/span\u003e them is gone. A transaction that stays open for a long time can thus cause considerable table bloat because space cannot be recycled. This feature allows setting a time-based limit, via the new configuration parameter \u003ca href=\"/docs/9.6/runtime-config-resource.html#GUC-OLD-SNAPSHOT-THRESHOLD\"\u003eold_snapshot_threshold\u003c/a\u003e, on how long an \u003cacronym\u003eMVCC\u003c/acronym\u003e snapshot is guaranteed to be valid. After that, dead tuples are candidates for removal. A transaction using an outdated snapshot will get an error if it attempts to read a page that potentially could have contained such data.\u003c/p\u003e","id":"9.6.0-4a18b929832c99fa","identity_text":"Allow old MVCC snapshots to be invalidated after a configurable timeout (Kevin Grittner) Normally, deleted tuples cannot be physically removed by vacuuming until the last transaction that could see them is gone. A transaction that stays open for a long time can thus cause considerable table bloat because space cannot be recycled. This feature allows setting a time-based limit, via the new configuration parameter guc-old-snapshot-threshold , on how long an MVCC snapshot is guaranteed to be valid. After that, dead tuples are candidates for removal. A transaction using an outdated snapshot will get an error if it attempts to read a page that potentially could have contained such data.","part":"changes","patch_ids":["0eb023861354c58f42d3c89d729234cb","6857d4022c275e5ec2aa6863a72f8514","6d11f00e76adc261071a3e2a0b072968","bdace6f6a2935faa2f443646e422fee0","eb9881a24b93006ad76cd2d7e7446047"],"related_changes":[],"relations":[],"section":"Server / General Performance","section_path":["Server","General Performance"],"source_commits":["2cc41acd8","3e2f3c2e4","7e3da1c47","848ef42bb","9ee1cf04a"],"source_entry_id":"9.6.0/changes/023","source_hash":"69332bc0fb59e4a23800d8dc0369de9eb65da2054b2a69818a91ea00e5cbd904","source_url":"/docs/release/9.6.0/#AEN136411","statement_hash":"c6af328a6049869cb8e62207f827d6f73a69edc93c44d60af306ef4a53ee84dc","text":"Allow old MVCC snapshots to be invalidated after a configurable timeout (Kevin Grittner) Normally, deleted tuples cannot be physically removed by vacuuming until the last transaction that could \"see\" them is gone. A transaction that stays open for a long time can thus cause considerable table bloat because space cannot be recycled. This feature allows setting a time-based limit, via the new configuration parameter old_snapshot_threshold, on how long an MVCC snapshot is guaranteed to be valid. After that, dead tuples are candidates for removal. A transaction using an outdated snapshot will get an error if it attempts to read a page that potentially could have contained such data.","title":"Allow old MVCC snapshots to be invalidated after a configurable timeout","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["d4c3a156c"],"commit_groups":[["d4c3a156c"]],"commits":[],"cves":[],"db_id":"5e7cbc86606cafafffa15497c84be1ef","html":"\u003cp\u003eIgnore GROUP BY columns that are functionally dependent on other columns (David Rowley)\u003c/p\u003e\n\u003cp\u003eIf a GROUP BY clause includes all columns of a non-deferred primary key, as well as other columns of the same table, those other columns are redundant and can be dropped from the grouping. This saves computation in many common cases.\u003c/p\u003e","id":"9.6.0-ff1db4d44d0f68b2","identity_text":"Ignore GROUP BY columns that are functionally dependent on other columns (David Rowley) If a GROUP BY clause includes all columns of a non-deferred primary key, as well as other columns of the same table, those other columns are redundant and can be dropped from the grouping. This saves computation in many common cases.","part":"changes","patch_ids":["b6ee2fa10df0c6e8a0f39054ed05315c"],"related_changes":[],"relations":[],"section":"Server / General Performance","section_path":["Server","General Performance"],"source_commits":["d4c3a156c"],"source_entry_id":"9.6.0/changes/024","source_hash":"3b8bacb30f4c9c8047e6485457738431189ac2e50b06bd82ce47d40acf325a67","source_url":"/docs/release/9.6.0/#AEN136411","statement_hash":"3d6b1fab112b9205540911c252eaa8b0aa6b90fbe7ae5057cc01e0860674ee5d","text":"Ignore GROUP BY columns that are functionally dependent on other columns (David Rowley) If a GROUP BY clause includes all columns of a non-deferred primary key, as well as other columns of the same table, those other columns are redundant and can be dropped from the grouping. This saves computation in many common cases.","title":"Ignore GROUP BY columns that are functionally dependent on other columns","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["f9aefcb91"],"commit_groups":[["f9aefcb91"]],"commits":[],"cves":[],"db_id":"461cd50f77ba5110ad5fc304495c8d28","html":"\u003cp\u003eAllow use of an \u003ca href=\"/docs/9.6/indexes-index-only-scans.html\"\u003eindex-only scan\u003c/a\u003e on a partial index when the index's WHERE clause references columns that are not indexed (Tomas Vondra, Kyotaro Horiguchi)\u003c/p\u003e\n\u003cp\u003eFor example, an index defined by CREATE INDEX tidx_partial ON t(b) WHERE a \u0026gt; 0 can now be used for an index-only scan by a query that specifies WHERE a \u0026gt; 0 and does not otherwise use a. Previously this was disallowed because a is not listed as an index column.\u003c/p\u003e","id":"9.6.0-0057cc2328838e07","identity_text":"Allow use of an index-only scan on a partial index when the index's WHERE clause references columns that are not indexed (Tomas Vondra, Kyotaro Horiguchi) For example, an index defined by CREATE INDEX tidx_partial ON t(b) WHERE a \u003e 0 can now be used for an index-only scan by a query that specifies WHERE a \u003e 0 and does not otherwise use a. Previously this was disallowed because a is not listed as an index column.","part":"changes","patch_ids":["279a399cf2efa25a5b5b4fce280a7d11"],"related_changes":[],"relations":[],"section":"Server / General Performance","section_path":["Server","General Performance"],"source_commits":["f9aefcb91"],"source_entry_id":"9.6.0/changes/025","source_hash":"d382a828fa7d8d1ffedebc36fbe3d12279ed32640acc13c76b407e6319c29a90","source_url":"/docs/release/9.6.0/#AEN136411","statement_hash":"0c05826880065e01d4c7527663ae519210c964bc18b399bb25c0afee416538f9","text":"Allow use of an index-only scan on a partial index when the index's WHERE clause references columns that are not indexed (Tomas Vondra, Kyotaro Horiguchi) For example, an index defined by CREATE INDEX tidx_partial ON t(b) WHERE a \u003e 0 can now be used for an index-only scan by a query that specifies WHERE a \u003e 0 and does not otherwise use a. Previously this was disallowed because a is not listed as an index column.","title":"Allow use of an index-only scan on a partial index when the index's WHERE clause references columns that are not indexed","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["9cd00c457"],"commit_groups":[["9cd00c457"]],"commits":[],"cves":[],"db_id":"68bd27b010217fe2e83e36e70ca9471b","html":"\u003cp\u003ePerform checkpoint writes in sorted order (Fabien Coelho, Andres Freund)\u003c/p\u003e\n\u003cp\u003ePreviously, checkpoints wrote out dirty pages in whatever order they happen to appear in shared buffers, which usually is nearly random. That performs poorly, especially on rotating media. This change causes checkpoint-driven writes to be done in order by file and block number, and to be balanced across tablespaces.\u003c/p\u003e","id":"9.6.0-532a52f27001d62f","identity_text":"Perform checkpoint writes in sorted order (Fabien Coelho, Andres Freund) Previously, checkpoints wrote out dirty pages in whatever order they happen to appear in shared buffers, which usually is nearly random. That performs poorly, especially on rotating media. This change causes checkpoint-driven writes to be done in order by file and block number, and to be balanced across tablespaces.","part":"changes","patch_ids":["24e3f6d78c048c0c7d020762218a318f"],"related_changes":[],"relations":[],"section":"Server / General Performance","section_path":["Server","General Performance"],"source_commits":["9cd00c457"],"source_entry_id":"9.6.0/changes/026","source_hash":"1bb6a5f0702dac7b8b44663c858f147778cfa5ae6c29e5ba6c26e9d5611501d8","source_url":"/docs/release/9.6.0/#AEN136411","statement_hash":"97f3fb4a95b032423deee21b15ed8bc40c8c82f8df69a466d5fe7b90b8d417a4","text":"Perform checkpoint writes in sorted order (Fabien Coelho, Andres Freund) Previously, checkpoints wrote out dirty pages in whatever order they happen to appear in shared buffers, which usually is nearly random. That performs poorly, especially on rotating media. This change causes checkpoint-driven writes to be done in order by file and block number, and to be balanced across tablespaces.","title":"Perform checkpoint writes in sorted order","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["428b1d6b2","4bc0f165c","72a98a639","7975c5e0a","8f91d87d4","a71248708","fa11a09fe"],"commit_groups":[["428b1d6b2"],["4bc0f165c"],["72a98a639"],["7975c5e0a"],["8f91d87d4"],["a71248708"],["fa11a09fe"]],"commits":[],"cves":[],"db_id":"7694688677b4bae3f35eca40cfdd36b8","html":"\u003cp\u003eWhere feasible, trigger kernel writeback after a configurable number of writes, to prevent accumulation of dirty data in kernel disk buffers (Fabien Coelho, Andres Freund)\u003c/p\u003e\n\u003cp\u003e\u003cspan\u003ePostgreSQL\u003c/span\u003e writes data to the kernel's disk cache, from where it will be flushed to physical storage in due time. Many operating systems are not smart about managing this and allow large amounts of dirty data to accumulate before deciding to flush it all at once, causing long delays for new I/O requests until the flushing finishes. This change attempts to alleviate this problem by explicitly requesting data flushes after a configurable interval.\u003c/p\u003e\n\u003cp\u003eOn Linux, \u003ccode\u003esync_file_range()\u003c/code\u003e is used for this purpose, and the feature is on by default on Linux because that function has few downsides. This flushing capability is also available on other platforms if they have \u003ccode\u003emsync()\u003c/code\u003e or \u003ccode\u003eposix_fadvise()\u003c/code\u003e, but those interfaces have some undesirable side-effects so the feature is disabled by default on non-Linux platforms.\u003c/p\u003e\n\u003cp\u003eThe new configuration parameters \u003ca href=\"/docs/9.6/runtime-config-resource.html#GUC-BACKEND-FLUSH-AFTER\"\u003ebackend_flush_after\u003c/a\u003e, \u003ca href=\"/docs/9.6/runtime-config-resource.html#GUC-BGWRITER-FLUSH-AFTER\"\u003ebgwriter_flush_after\u003c/a\u003e, \u003ca href=\"/docs/9.6/runtime-config-wal.html#GUC-CHECKPOINT-FLUSH-AFTER\"\u003echeckpoint_flush_after\u003c/a\u003e, and \u003ca href=\"/docs/9.6/runtime-config-wal.html#GUC-WAL-WRITER-FLUSH-AFTER\"\u003ewal_writer_flush_after\u003c/a\u003e control this behavior.\u003c/p\u003e","id":"9.6.0-b6aadcd3e24c7d57","identity_text":"Where feasible, trigger kernel writeback after a configurable number of writes, to prevent accumulation of dirty data in kernel disk buffers (Fabien Coelho, Andres Freund) PostgreSQL writes data to the kernel's disk cache, from where it will be flushed to physical storage in due time. Many operating systems are not smart about managing this and allow large amounts of dirty data to accumulate before deciding to flush it all at once, causing long delays for new I/O requests until the flushing finishes. This change attempts to alleviate this problem by explicitly requesting data flushes after a configurable interval. On Linux, sync_file_range() is used for this purpose, and the feature is on by default on Linux because that function has few downsides. This flushing capability is also available on other platforms if they have msync() or posix_fadvise(), but those interfaces have some undesirable side-effects so the feature is disabled by default on non-Linux platforms. The new configuration parameters guc-backend-flush-after , guc-bgwriter-flush-after , guc-checkpoint-flush-after , and guc-wal-writer-flush-after control this behavior.","part":"changes","patch_ids":["1f8b632f4794dd40089f690da7a39da9","3e1fd2d585d4850c696d17cabe1dc1e5","512ba841e5f89272c96aa467b614803f","597e8ad77c91d7823cbb00fdb0bf9864","7e45f40be5b000c96b39c21c7fe1cab1","8d7cf2345f83d4d16ac7e515899f5a1d","bd891e9e15b76822e9477d04ab0913ef"],"related_changes":[],"relations":[],"section":"Server / General Performance","section_path":["Server","General Performance"],"source_commits":["428b1d6b2","4bc0f165c","72a98a639","7975c5e0a","8f91d87d4","a71248708","fa11a09fe"],"source_entry_id":"9.6.0/changes/027","source_hash":"deb4ed9039a7c14ccc489a468957a514079e2d3264a816f1af7026e409f1fc02","source_url":"/docs/release/9.6.0/#AEN136411","statement_hash":"9e8848333a27b7337b27a78c2def53c7d73667a3355a7e5126ee19817ae98256","text":"Where feasible, trigger kernel writeback after a configurable number of writes, to prevent accumulation of dirty data in kernel disk buffers (Fabien Coelho, Andres Freund) PostgreSQL writes data to the kernel's disk cache, from where it will be flushed to physical storage in due time. Many operating systems are not smart about managing this and allow large amounts of dirty data to accumulate before deciding to flush it all at once, causing long delays for new I/O requests until the flushing finishes. This change attempts to alleviate this problem by explicitly requesting data flushes after a configurable interval. On Linux, sync_file_range() is used for this purpose, and the feature is on by default on Linux because that function has few downsides. This flushing capability is also available on other platforms if they have msync() or posix_fadvise(), but those interfaces have some undesirable side-effects so the feature is disabled by default on non-Linux platforms. The new configuration parameters backend_flush_after, bgwriter_flush_after, checkpoint_flush_after, and wal_writer_flush_after control this behavior.","title":"Where feasible, trigger kernel writeback after a configurable number of writes, to prevent accumulation of dirty data in kernel disk buffers","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["804163bc2"],"commit_groups":[["804163bc2"]],"commits":[],"cves":[],"db_id":"622905e5480bb2cc8845c2cb036c0302","html":"\u003cp\u003eImprove aggregate-function performance by sharing calculations across multiple aggregates if they have the same arguments and transition functions (David Rowley)\u003c/p\u003e\n\u003cp\u003eFor example, SELECT AVG(x), VARIANCE(x) FROM tab can use a single per-row computation for both aggregates.\u003c/p\u003e","id":"9.6.0-a456626df49613ad","identity_text":"Improve aggregate-function performance by sharing calculations across multiple aggregates if they have the same arguments and transition functions (David Rowley) For example, SELECT AVG(x), VARIANCE(x) FROM tab can use a single per-row computation for both aggregates.","part":"changes","patch_ids":["61e6fee5fc97bc1fd8d21d86c39e33b0"],"related_changes":[],"relations":[],"section":"Server / General Performance","section_path":["Server","General Performance"],"source_commits":["804163bc2"],"source_entry_id":"9.6.0/changes/028","source_hash":"982fef438f3f3469aa7c765d870ea5ea811d5b8f63cae1b78e1a1bbadacf101d","source_url":"/docs/release/9.6.0/#AEN136411","statement_hash":"23c7475581a010fdd283125b372a2ec12b40bd5ef5df132181cb559de5c1f671","text":"Improve aggregate-function performance by sharing calculations across multiple aggregates if they have the same arguments and transition functions (David Rowley) For example, SELECT AVG(x), VARIANCE(x) FROM tab can use a single per-row computation for both aggregates.","title":"Improve aggregate-function performance by sharing calculations across multiple aggregates if they have the same arguments and transition functions","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["8a7d07018"],"commit_groups":[["8a7d07018"]],"commits":[],"cves":[],"db_id":"785765515a6bdbe21dc5344791a562d1","html":"\u003cp\u003eSpeed up visibility tests for recently-created tuples by checking the current transaction's snapshot, not pg_clog, to decide if the source transaction should be considered committed (Jeff Janes, Tom Lane)\u003c/p\u003e","id":"9.6.0-903cfbf8cebd8dcb","identity_text":"Speed up visibility tests for recently-created tuples by checking the current transaction's snapshot, not pg_clog, to decide if the source transaction should be considered committed (Jeff Janes, Tom Lane)","part":"changes","patch_ids":["8daf975da7eb03cae0c3a7dcafd3d34e"],"related_changes":[],"relations":[],"section":"Server / General Performance","section_path":["Server","General Performance"],"source_commits":["8a7d07018"],"source_entry_id":"9.6.0/changes/029","source_hash":"b840d4b79ea3bfc85a26e71b2fdae65d009e3ac6125293347204e6fd581e8982","source_url":"/docs/release/9.6.0/#AEN136411","statement_hash":"8f74e749a57e119bb569628aba444580a14f837eb61bd502d881a17ffb51c5db","text":"Speed up visibility tests for recently-created tuples by checking the current transaction's snapshot, not pg_clog, to decide if the source transaction should be considered committed (Jeff Janes, Tom Lane)","title":"Speed up visibility tests for recently-created tuples by checking the current transaction's snapshot, not pg_clog, to decide if the source transaction should be considered committed","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["db76b1efb"],"commit_groups":[["db76b1efb"]],"commits":[],"cves":[],"db_id":"657478a5ceed6871c18e22ba4515719b","html":"\u003cp\u003eAllow tuple hint bits to be set sooner than before (Andres Freund)\u003c/p\u003e","id":"9.6.0-7caacd605f1f9233","identity_text":"Allow tuple hint bits to be set sooner than before (Andres Freund)","part":"changes","patch_ids":["0e457f7e922afbd510f5506fefc1b16d"],"related_changes":[],"relations":[],"section":"Server / General Performance","section_path":["Server","General Performance"],"source_commits":["db76b1efb"],"source_entry_id":"9.6.0/changes/030","source_hash":"c0529d3d02905f405d60b9ccb061712998f1dbb642a424c9cedfa39134f392cb","source_url":"/docs/release/9.6.0/#AEN136411","statement_hash":"eaf35b1af181ea963be837c7397692a73e8d999617bd3a70fc257e3abbf633db","text":"Allow tuple hint bits to be set sooner than before (Andres Freund)","title":"Allow tuple hint bits to be set sooner than before","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["978b2f65a","e0694cf9c"],"commit_groups":[["978b2f65a"],["e0694cf9c"]],"commits":[],"cves":[],"db_id":"9eb2bafbcd1d1bc873580c679e8d62f5","html":"\u003cp\u003eImprove performance of short-lived prepared transactions (Stas Kelvich, Simon Riggs, Pavan Deolasee)\u003c/p\u003e\n\u003cp\u003eTwo-phase commit information is now written only to \u003cacronym\u003eWAL\u003c/acronym\u003e during PREPARE TRANSACTION, and will be read back from \u003cacronym\u003eWAL\u003c/acronym\u003e during COMMIT PREPARED if that happens soon thereafter. A separate state file is created only if the pending transaction does not get committed or aborted by the time of the next checkpoint.\u003c/p\u003e","id":"9.6.0-dbe809684fa1a572","identity_text":"Improve performance of short-lived prepared transactions (Stas Kelvich, Simon Riggs, Pavan Deolasee) Two-phase commit information is now written only to WAL during PREPARE TRANSACTION, and will be read back from WAL during COMMIT PREPARED if that happens soon thereafter. A separate state file is created only if the pending transaction does not get committed or aborted by the time of the next checkpoint.","part":"changes","patch_ids":["5e98e7dcbc70c3363c5dfd1b4668a939","97a72e27e26d8d63552c89c4fa22c717"],"related_changes":[],"relations":[],"section":"Server / General Performance","section_path":["Server","General Performance"],"source_commits":["978b2f65a","e0694cf9c"],"source_entry_id":"9.6.0/changes/031","source_hash":"615b10c06648c8a9695ec5a72370f471f77fec76c10276c8fc758a84e8fdbb7f","source_url":"/docs/release/9.6.0/#AEN136411","statement_hash":"cea87338338d211589795868a3dbd7eaafdeef0a39d06e0adc001019d970c5c3","text":"Improve performance of short-lived prepared transactions (Stas Kelvich, Simon Riggs, Pavan Deolasee) Two-phase commit information is now written only to WAL during PREPARE TRANSACTION, and will be read back from WAL during COMMIT PREPARED if that happens soon thereafter. A separate state file is created only if the pending transaction does not get committed or aborted by the time of the next checkpoint.","title":"Improve performance of short-lived prepared transactions","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["25c539233"],"commit_groups":[["25c539233"]],"commits":[],"cves":[],"db_id":"f1941d7b48b85d5c2cb69ed8c1bfb601","html":"\u003cp\u003eImprove performance of memory context destruction (Jan Wieck)\u003c/p\u003e","id":"9.6.0-06336fc045e4900b","identity_text":"Improve performance of memory context destruction (Jan Wieck)","part":"changes","patch_ids":["95c4bbde3cf3709dc7d986fb4c197589"],"related_changes":[],"relations":[],"section":"Server / General Performance","section_path":["Server","General Performance"],"source_commits":["25c539233"],"source_entry_id":"9.6.0/changes/032","source_hash":"ab8794635246954e847744c57df122c91f069accc0e27b93bb8ebcd2bb4c9fdb","source_url":"/docs/release/9.6.0/#AEN136411","statement_hash":"4028b9dbd5ac64cbdce57d4cba6e125aefb5361aa744f2d36f0df2d407ace4a7","text":"Improve performance of memory context destruction (Jan Wieck)","title":"Improve performance of memory context destruction","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["cc988fbb0"],"commit_groups":[["cc988fbb0"]],"commits":[],"cves":[],"db_id":"40df862c5d936ece169537aac10eca8b","html":"\u003cp\u003eImprove performance of resource owners with many tracked objects (Aleksander Alekseev)\u003c/p\u003e","id":"9.6.0-1f8037df28f651b0","identity_text":"Improve performance of resource owners with many tracked objects (Aleksander Alekseev)","part":"changes","patch_ids":["f93a6e9e28f1679f0d3ebeec46057398"],"related_changes":[],"relations":[],"section":"Server / General Performance","section_path":["Server","General Performance"],"source_commits":["cc988fbb0"],"source_entry_id":"9.6.0/changes/033","source_hash":"1f85e559b3139d231e72c20b6be5809448cdee8832ff902b4ac9040fa2794bef","source_url":"/docs/release/9.6.0/#AEN136411","statement_hash":"a16c9823c6f02032dfcc7ea7f72ef25bf296814756945371fb308fbebdd939e4","text":"Improve performance of resource owners with many tracked objects (Aleksander Alekseev)","title":"Improve performance of resource owners with many tracked objects","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["aa2387e2f"],"commit_groups":[["aa2387e2f"]],"commits":[],"cves":[],"db_id":"a3885ca2234bb50aca660e138de70b08","html":"\u003cp\u003eImprove speed of the output functions for timestamp, time, and date data types (David Rowley, Andres Freund)\u003c/p\u003e","id":"9.6.0-477349697ec042a3","identity_text":"Improve speed of the output functions for timestamp, time, and date data types (David Rowley, Andres Freund)","part":"changes","patch_ids":["9eae9d159a22bb8a12595324698e8005"],"related_changes":[],"relations":[],"section":"Server / General Performance","section_path":["Server","General Performance"],"source_commits":["aa2387e2f"],"source_entry_id":"9.6.0/changes/034","source_hash":"74ad86bbc8bf773c44adfc195c8d040e7cfcd78bdb124ce86919acf38a8534d2","source_url":"/docs/release/9.6.0/#AEN136411","statement_hash":"52dfd160358c7b9071ac754323f3ae5d788083ae51781f0363f2d74ab7b61cf1","text":"Improve speed of the output functions for timestamp, time, and date data types (David Rowley, Andres Freund)","title":"Improve speed of the output functions for timestamp, time, and date data types","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["37c54863c"],"commit_groups":[["37c54863c"]],"commits":[],"cves":[],"db_id":"2dd04f800ffcd41915e68d30d2de6002","html":"\u003cp\u003eAvoid some unnecessary cancellations of hot-standby queries during replay of actions that take AccessExclusive locks (Jeff Janes)\u003c/p\u003e","id":"9.6.0-4ccc15083c3f9f03","identity_text":"Avoid some unnecessary cancellations of hot-standby queries during replay of actions that take AccessExclusive locks (Jeff Janes)","part":"changes","patch_ids":["fb8c5bcb660d162450279061a72a30d7"],"related_changes":[],"relations":[],"section":"Server / General Performance","section_path":["Server","General Performance"],"source_commits":["37c54863c"],"source_entry_id":"9.6.0/changes/035","source_hash":"b9378c14889d8b38cf28013bb6d2d44297188d814e5562242878d02bf5f915be","source_url":"/docs/release/9.6.0/#AEN136411","statement_hash":"a6bfa3966753e2c66bf03c5c3457a0fb029d864138ada773e5682f5cae899cfb","text":"Avoid some unnecessary cancellations of hot-standby queries during replay of actions that take AccessExclusive locks (Jeff Janes)","title":"Avoid some unnecessary cancellations of hot-standby queries during replay of actions that take AccessExclusive locks","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["719c84c1b"],"commit_groups":[["719c84c1b"]],"commits":[],"cves":[],"db_id":"70c53fef60c5bcd5f1866b2f8fd238f6","html":"\u003cp\u003eExtend relations multiple blocks at a time when there is contention for the relation's extension lock (Dilip Kumar)\u003c/p\u003e\n\u003cp\u003eThis improves scalability by decreasing contention.\u003c/p\u003e","id":"9.6.0-616be7a4674cbfad","identity_text":"Extend relations multiple blocks at a time when there is contention for the relation's extension lock (Dilip Kumar) This improves scalability by decreasing contention.","part":"changes","patch_ids":["7d4205961cab78e208ab81442d748aba"],"related_changes":[],"relations":[],"section":"Server / General Performance","section_path":["Server","General Performance"],"source_commits":["719c84c1b"],"source_entry_id":"9.6.0/changes/036","source_hash":"47b93b8d5830a5a5d38ba774e21afadb53912b471aa009a961f52eceafdfa3d6","source_url":"/docs/release/9.6.0/#AEN136411","statement_hash":"91e6798371f96768e136cfd1bace64324361b087d715504ae0e46010032e2eb6","text":"Extend relations multiple blocks at a time when there is contention for the relation's extension lock (Dilip Kumar) This improves scalability by decreasing contention.","title":"Extend relations multiple blocks at a time when there is contention for the relation's extension lock","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["5364b357f"],"commit_groups":[["5364b357f"]],"commits":[],"cves":[],"db_id":"622ab56eb0f4562094613bdeac58db6d","html":"\u003cp\u003eIncrease the number of clog buffers for better scalability (Amit Kapila, Andres Freund)\u003c/p\u003e","id":"9.6.0-daa0f0c49ded2f02","identity_text":"Increase the number of clog buffers for better scalability (Amit Kapila, Andres Freund)","part":"changes","patch_ids":["3cbfc100fe6e2b2a202c5e9221076058"],"related_changes":[],"relations":[],"section":"Server / General Performance","section_path":["Server","General Performance"],"source_commits":["5364b357f"],"source_entry_id":"9.6.0/changes/037","source_hash":"8d025d5d255eb90f5bd5fbcce121874d6f87abfd095619b73e37e8976de28141","source_url":"/docs/release/9.6.0/#AEN136411","statement_hash":"9e17db276a57a171646718681680b3eb843caea96d4f43eb5dc25cb5c1cb2436","text":"Increase the number of clog buffers for better scalability (Amit Kapila, Andres Freund)","title":"Increase the number of clog buffers for better scalability","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["6c82d8d1f"],"commit_groups":[["6c82d8d1f"]],"commits":[],"cves":[],"db_id":"a6fb1d44e712fa4b96c9242f20ac9d05","html":"\u003cp\u003eSpeed up expression evaluation in \u003cspan\u003ePL/pgSQL\u003c/span\u003e by keeping ParamListInfo entries for simple variables valid at all times (Tom Lane)\u003c/p\u003e","id":"9.6.0-1df6c0e1bd52f85c","identity_text":"Speed up expression evaluation in PL/pgSQL by keeping ParamListInfo entries for simple variables valid at all times (Tom Lane)","part":"changes","patch_ids":["d2cc52fcbf9d15192a92d19fd796cbee"],"related_changes":[],"relations":[],"section":"Server / General Performance","section_path":["Server","General Performance"],"source_commits":["6c82d8d1f"],"source_entry_id":"9.6.0/changes/038","source_hash":"ed678b6460e5d012b1b610ba5e527b3e50186e0dd40d2addc8e795f449ee95bd","source_url":"/docs/release/9.6.0/#AEN136411","statement_hash":"b14cdd4ef0fae8085a169ec56531dfe74725375965258ec63f5201889dfdadf0","text":"Speed up expression evaluation in PL/pgSQL by keeping ParamListInfo entries for simple variables valid at all times (Tom Lane)","title":"Speed up expression evaluation in PL/pgSQL by keeping ParamListInfo entries for simple variables valid at all times","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["4f33621f3"],"commit_groups":[["4f33621f3"]],"commits":[],"cves":[],"db_id":"293c895bd304caa9c8edc77886455a87","html":"\u003cp\u003eAvoid reducing the SO_SNDBUF setting below its default on recent Windows versions (Chen Huajun)\u003c/p\u003e","id":"9.6.0-6f70cafd3aac2e61","identity_text":"Avoid reducing the SO_SNDBUF setting below its default on recent Windows versions (Chen Huajun)","part":"changes","patch_ids":["fc1c2e638fc4d8cc6528278549f47d79"],"related_changes":[],"relations":[],"section":"Server / General Performance","section_path":["Server","General Performance"],"source_commits":["4f33621f3"],"source_entry_id":"9.6.0/changes/039","source_hash":"d456adf8021ab09794db1edfb364501de8174de833fd01e3af3e22fdcbedd0be","source_url":"/docs/release/9.6.0/#AEN136411","statement_hash":"ec27ae76b72a0f6a93e56178d0e5d81a2bb0d799ff4e9dc423023706e7e00f10","text":"Avoid reducing the SO_SNDBUF setting below its default on recent Windows versions (Chen Huajun)","title":"Avoid reducing the SO_SNDBUF setting below its default on recent Windows versions","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["9b33c7e80"],"commit_groups":[["9b33c7e80"]],"commits":[],"cves":[],"db_id":"df4f31b0f31dfa068e087ab943313b0f","html":"\u003cp\u003eDisable \u003ca href=\"/docs/9.6/runtime-config-logging.html#GUC-UPDATE-PROCESS-TITLE\"\u003eupdate_process_title\u003c/a\u003e by default on Windows (Takayuki Tsunakawa)\u003c/p\u003e\n\u003cp\u003eThe overhead of updating the process title is much larger on Windows than most other platforms, and it is also less useful to do it since most Windows users do not have tools that can display process titles.\u003c/p\u003e","id":"9.6.0-a6720eca16588958","identity_text":"Disable guc-update-process-title by default on Windows (Takayuki Tsunakawa) The overhead of updating the process title is much larger on Windows than most other platforms, and it is also less useful to do it since most Windows users do not have tools that can display process titles.","part":"changes","patch_ids":["5e78daa5cdf6850599fe610a0cf7e752"],"related_changes":[],"relations":[],"section":"Server / General Performance","section_path":["Server","General Performance"],"source_commits":["9b33c7e80"],"source_entry_id":"9.6.0/changes/040","source_hash":"fe0e6f83da4034470bcda699e30b432c77f1bb2e65139243c68e597b82d35133","source_url":"/docs/release/9.6.0/#AEN136411","statement_hash":"8756b4d1e7c3981d1a07f6b74ba6483c27af2dbf1d257302a41980950fa74623","text":"Disable update_process_title by default on Windows (Takayuki Tsunakawa) The overhead of updating the process title is much larger on Windows than most other platforms, and it is also less useful to do it since most Windows users do not have tools that can display process titles.","title":"Disable update_process_title by default on Windows","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["c16dc1aca"],"commit_groups":[["c16dc1aca"]],"commits":[],"cves":[],"db_id":"67271ee2575cdb9e666289644c2551a9","html":"\u003cp\u003eAdd \u003ca href=\"/docs/9.6/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW\"\u003epg_stat_progress_vacuum\u003c/a\u003e system view to provide progress reporting for VACUUM operations (Amit Langote, Robert Haas, Vinayak Pokale, Rahila Syed)\u003c/p\u003e","id":"9.6.0-4e96b09d5ca767f6","identity_text":"Add pg_stat_progress_vacuum system view to provide progress reporting for VACUUM operations (Amit Langote, Robert Haas, Vinayak Pokale, Rahila Syed)","part":"changes","patch_ids":["3b4e6ccd1b40dfb36d2244e1887a4ed3"],"related_changes":[],"relations":[],"section":"Server / Monitoring","section_path":["Server","Monitoring"],"source_commits":["c16dc1aca"],"source_entry_id":"9.6.0/changes/041","source_hash":"3a49d5d2a529ca71a3b52f4c189d77079be705ca368b2fc3a4ed28112218f48b","source_url":"/docs/release/9.6.0/#AEN136495","statement_hash":"5a1dcc5de3f0f50e7f41375132acb2ed10456478530ad3d38b5cd1917e7dd071","text":"Add pg_stat_progress_vacuum system view to provide progress reporting for VACUUM operations (Amit Langote, Robert Haas, Vinayak Pokale, Rahila Syed)","title":"Add pg_stat_progress_vacuum system view to provide progress reporting for VACUUM operations","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["dc7d70ea0"],"commit_groups":[["dc7d70ea0"]],"commits":[],"cves":[],"db_id":"02c1cbb66ea43d942090c1757ac13fcb","html":"\u003cp\u003eAdd \u003ca href=\"/docs/9.6/functions-info.html#FUNCTIONS-CONTROLDATA\"\u003e\u003ccode\u003epg_control_system()\u003c/code\u003e\u003c/a\u003e, \u003ccode\u003epg_control_checkpoint()\u003c/code\u003e, \u003ccode\u003epg_control_recovery()\u003c/code\u003e, and \u003ccode\u003epg_control_init()\u003c/code\u003e functions to expose fields of pg_control to \u003cacronym\u003eSQL\u003c/acronym\u003e (Joe Conway, Michael Paquier)\u003c/p\u003e","id":"9.6.0-14735f14e25a0ab9","identity_text":"Add pg_control_system(), pg_control_checkpoint(), pg_control_recovery(), and pg_control_init() functions to expose fields of pg_control to SQL (Joe Conway, Michael Paquier)","part":"changes","patch_ids":["94aa84a3f1b31d251919a28a0d5d89e9"],"related_changes":[],"relations":[],"section":"Server / Monitoring","section_path":["Server","Monitoring"],"source_commits":["dc7d70ea0"],"source_entry_id":"9.6.0/changes/042","source_hash":"1b2fbe4ae7c272c78ced3b4c49e0eb7c99612ce80bdacb150c5b509d0193bbfd","source_url":"/docs/release/9.6.0/#AEN136495","statement_hash":"911b4d1698921e57202ac3e23b93f0067536d96d765a0d3d11704aac1cf8cd1b","text":"Add pg_control_system(), pg_control_checkpoint(), pg_control_recovery(), and pg_control_init() functions to expose fields of pg_control to SQL (Joe Conway, Michael Paquier)","title":"Add pg_control_system(), pg_control_checkpoint(), pg_control_recovery(), and pg_control_init() functions to expose fields of pg_control to SQL","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["a5c43b886"],"commit_groups":[["a5c43b886"]],"commits":[],"cves":[],"db_id":"ae9ab2be5919c79a1bb402c9a3fb26c4","html":"\u003cp\u003eAdd \u003ca href=\"/docs/9.6/view-pg-config.html\"\u003epg_config\u003c/a\u003e system view (Joe Conway)\u003c/p\u003e\n\u003cp\u003eThis view exposes the same information available from the \u003cspan\u003epg_config\u003c/span\u003e command-line utility, namely assorted compile-time configuration information for \u003cspan\u003ePostgreSQL\u003c/span\u003e.\u003c/p\u003e","id":"9.6.0-e19b22df9b7e5416","identity_text":"Add pg_config system view (Joe Conway) This view exposes the same information available from the pg_config command-line utility, namely assorted compile-time configuration information for PostgreSQL.","part":"changes","patch_ids":["e91dae91629c4b58f8edb3f4755e7315"],"related_changes":[],"relations":[],"section":"Server / Monitoring","section_path":["Server","Monitoring"],"source_commits":["a5c43b886"],"source_entry_id":"9.6.0/changes/043","source_hash":"be937cdc335ed2a4177cf7a5b2a4edb9f4a28ce0de4092f8f0b6034b3655a3a1","source_url":"/docs/release/9.6.0/#AEN136495","statement_hash":"a8581cae3f63f54d063192bd50d2c426a9966986bc113daed330d71b802b6491","text":"Add pg_config system view (Joe Conway) This view exposes the same information available from the pg_config command-line utility, namely assorted compile-time configuration information for PostgreSQL.","title":"Add pg_config system view","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["3f811c2d6"],"commit_groups":[["3f811c2d6"]],"commits":[],"cves":[],"db_id":"aa53e3330a56bf231bac78df2b963010","html":"\u003cp\u003eAdd a confirmed_flush_lsn column to the \u003ca href=\"/docs/9.6/view-pg-replication-slots.html\"\u003epg_replication_slots\u003c/a\u003e system view (Marko Tiikkaja)\u003c/p\u003e","id":"9.6.0-2a0f0ca947498b0b","identity_text":"Add a confirmed_flush_lsn column to the pg_replication_slots system view (Marko Tiikkaja)","part":"changes","patch_ids":["96f99dffb1613eb3959d5f596c29b14e"],"related_changes":[],"relations":[],"section":"Server / Monitoring","section_path":["Server","Monitoring"],"source_commits":["3f811c2d6"],"source_entry_id":"9.6.0/changes/044","source_hash":"849bfa41fd667f17dcb368747540d88feeff48550813eafbb731cb6bff0e7d5a","source_url":"/docs/release/9.6.0/#AEN136495","statement_hash":"51e90204fe72f40e132026e56611061b4ea4b4a89adcbb8f5593a7491dd7d580","text":"Add a confirmed_flush_lsn column to the pg_replication_slots system view (Marko Tiikkaja)","title":"Add a confirmed_flush_lsn column to the pg_replication_slots system view","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["60d50769b","9ed551e0a","b1a9bad9e"],"commit_groups":[["60d50769b"],["9ed551e0a"],["b1a9bad9e"]],"commits":[],"cves":[],"db_id":"45f1a2187481437d3b26a21ad3a1ffb8","html":"\u003cp\u003eAdd \u003ca href=\"/docs/9.6/monitoring-stats.html#PG-STAT-WAL-RECEIVER-VIEW\"\u003epg_stat_wal_receiver\u003c/a\u003e system view to provide information about the state of a hot-standby server's \u003cacronym\u003eWAL\u003c/acronym\u003e receiver process (Michael Paquier)\u003c/p\u003e","id":"9.6.0-2efd7c6c561691aa","identity_text":"Add pg_stat_wal_receiver system view to provide information about the state of a hot-standby server's WAL receiver process (Michael Paquier)","part":"changes","patch_ids":["00baacbd249d3bb13ffc622143fb75a4","41072e0c33c8156ec5ff38280fb88fc8","f4b0ab0497d5a7fb3b8ca3c7241908e0"],"related_changes":[],"relations":[],"section":"Server / Monitoring","section_path":["Server","Monitoring"],"source_commits":["60d50769b","9ed551e0a","b1a9bad9e"],"source_entry_id":"9.6.0/changes/045","source_hash":"8c2fe822ceb7298a0ee78f14b1c063a011f2273d28ef9ee2d52c4f60a9485568","source_url":"/docs/release/9.6.0/#AEN136495","statement_hash":"54d8b1ee813c988c766f2223ae5c2247bfe7b06dfa6d78985c0c927a1b87cb5c","text":"Add pg_stat_wal_receiver system view to provide information about the state of a hot-standby server's WAL receiver process (Michael Paquier)","title":"Add pg_stat_wal_receiver system view to provide information about the state of a hot-standby server's WAL receiver process","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["52f5d578d"],"commit_groups":[["52f5d578d"]],"commits":[],"cves":[],"db_id":"11822242737768560b7e67adf8391ddb","html":"\u003cp\u003eAdd \u003ca href=\"/docs/9.6/functions-info.html#FUNCTIONS-INFO-SESSION-TABLE\"\u003e\u003ccode\u003epg_blocking_pids()\u003c/code\u003e\u003c/a\u003e function to reliably identify which sessions block which others (Tom Lane)\u003c/p\u003e\n\u003cp\u003eThis function returns an array of the process IDs of any sessions that are blocking the session with the given process ID. Historically users have obtained such information using a self-join on the pg_locks view. However, it is unreasonably tedious to do it that way with any modicum of correctness, and the addition of parallel queries has made the old approach entirely impractical, since locks might be held or awaited by child worker processes rather than the session's main process.\u003c/p\u003e","id":"9.6.0-2537d1b595f69798","identity_text":"Add pg_blocking_pids() function to reliably identify which sessions block which others (Tom Lane) This function returns an array of the process IDs of any sessions that are blocking the session with the given process ID. Historically users have obtained such information using a self-join on the pg_locks view. However, it is unreasonably tedious to do it that way with any modicum of correctness, and the addition of parallel queries has made the old approach entirely impractical, since locks might be held or awaited by child worker processes rather than the session's main process.","part":"changes","patch_ids":["c27a18c7d30e32a5a27629c932e07d1a"],"related_changes":[],"relations":[],"section":"Server / Monitoring","section_path":["Server","Monitoring"],"source_commits":["52f5d578d"],"source_entry_id":"9.6.0/changes/046","source_hash":"f345fe783133294c4c4059bc9a648e60c09ac6c19ce6f52fca649168bd8cc757","source_url":"/docs/release/9.6.0/#AEN136495","statement_hash":"087747da95cddecebfb2bea80b90a2e7d54d73e3bc9aba645e45427b7b0c0943","text":"Add pg_blocking_pids() function to reliably identify which sessions block which others (Tom Lane) This function returns an array of the process IDs of any sessions that are blocking the session with the given process ID. Historically users have obtained such information using a self-join on the pg_locks view. However, it is unreasonably tedious to do it that way with any modicum of correctness, and the addition of parallel queries has made the old approach entirely impractical, since locks might be held or awaited by child worker processes rather than the session's main process.","title":"Add pg_blocking_pids() function to reliably identify which sessions block which others","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["e63bb4549"],"commit_groups":[["e63bb4549"]],"commits":[],"cves":[],"db_id":"2fb3146e29caa0ad757cbdd086534346","html":"\u003cp\u003eAdd function \u003ca href=\"/docs/9.6/functions-admin.html#FUNCTIONS-ADMIN-BACKUP-TABLE\"\u003e\u003ccode\u003epg_current_xlog_flush_location()\u003c/code\u003e\u003c/a\u003e to expose the current transaction log flush location (Tomas Vondra)\u003c/p\u003e","id":"9.6.0-05f42c77c515570a","identity_text":"Add function pg_current_xlog_flush_location() to expose the current transaction log flush location (Tomas Vondra)","part":"changes","patch_ids":["0167d80b5f81fc4d76c1ab9098f66b24"],"related_changes":[],"relations":[],"section":"Server / Monitoring","section_path":["Server","Monitoring"],"source_commits":["e63bb4549"],"source_entry_id":"9.6.0/changes/047","source_hash":"743f9274043be5205b1f36c518ab287c0286a87b7b19b49213bbfc1181c60006","source_url":"/docs/release/9.6.0/#AEN136495","statement_hash":"aff288767a25f126f0245cceeb9d3975605877431430c576faab221e91a160ac","text":"Add function pg_current_xlog_flush_location() to expose the current transaction log flush location (Tomas Vondra)","title":"Add function pg_current_xlog_flush_location() to expose the current transaction log flush location","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["a04bb65f7"],"commit_groups":[["a04bb65f7"]],"commits":[],"cves":[],"db_id":"a2f81c4d5a7ae0b7c1bfbe17f8145017","html":"\u003cp\u003eAdd function \u003ca href=\"/docs/9.6/functions-info.html#FUNCTIONS-INFO-SESSION-TABLE\"\u003e\u003ccode\u003epg_notification_queue_usage()\u003c/code\u003e\u003c/a\u003e to report how full the NOTIFY queue is (Brendan Jurd)\u003c/p\u003e","id":"9.6.0-13e75e0440e52571","identity_text":"Add function pg_notification_queue_usage() to report how full the NOTIFY queue is (Brendan Jurd)","part":"changes","patch_ids":["283c40dc0cc7a4644b461d35292064a2"],"related_changes":[],"relations":[],"section":"Server / Monitoring","section_path":["Server","Monitoring"],"source_commits":["a04bb65f7"],"source_entry_id":"9.6.0/changes/048","source_hash":"37c0df11749459b9e33806d85327871f540e45ef0b9c5634fb621ecfab87d1b2","source_url":"/docs/release/9.6.0/#AEN136495","statement_hash":"64c8a5b703fa6ac3a195ca06870544c16b3019fd9331cdc02919cbab3739f24e","text":"Add function pg_notification_queue_usage() to report how full the NOTIFY queue is (Brendan Jurd)","title":"Add function pg_notification_queue_usage() to report how full the NOTIFY queue is","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["7b5ef8f2d"],"commit_groups":[["7b5ef8f2d"]],"commits":[],"cves":[],"db_id":"7617eb2e2119b274e272c3f2ad78de6b","html":"\u003cp\u003eLimit the verbosity of memory context statistics dumps (Tom Lane)\u003c/p\u003e\n\u003cp\u003eThe memory usage dump that is output to the postmaster log during an out-of-memory failure now summarizes statistics when there are a large number of memory contexts, rather than possibly generating a very large report. There is also a \u003cspan\u003e\"grand total\"\u003c/span\u003e summary line now.\u003c/p\u003e","id":"9.6.0-db0449eb4aa1821c","identity_text":"Limit the verbosity of memory context statistics dumps (Tom Lane) The memory usage dump that is output to the postmaster log during an out-of-memory failure now summarizes statistics when there are a large number of memory contexts, rather than possibly generating a very large report. There is also a grand total summary line now.","part":"changes","patch_ids":["6dd0bb90886b50988771ccc207c60295"],"related_changes":[],"relations":[],"section":"Server / Monitoring","section_path":["Server","Monitoring"],"source_commits":["7b5ef8f2d"],"source_entry_id":"9.6.0/changes/049","source_hash":"a34a2a5df9243bb646d569a54a221ec626ba3dd6e8f11c14f33e6ce8612d3a77","source_url":"/docs/release/9.6.0/#AEN136495","statement_hash":"792267748a147d83a372e22063051cd9ce72766120ce1dcd7b5333a2bff17afa","text":"Limit the verbosity of memory context statistics dumps (Tom Lane) The memory usage dump that is output to the postmaster log during an out-of-memory failure now summarizes statistics when there are a large number of memory contexts, rather than possibly generating a very large report. There is also a \"grand total\" summary line now.","title":"Limit the verbosity of memory context statistics dumps","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["34c33a1f0"],"commit_groups":[["34c33a1f0"]],"commits":[],"cves":[],"db_id":"0b63007f97b286461dcc426e12f03a67","html":"\u003cp\u003eAdd a \u003ca href=\"/docs/9.6/auth-methods.html#AUTH-BSD\"\u003e\u003cacronym\u003eBSD\u003c/acronym\u003e authentication method\u003c/a\u003e to allow use of the \u003cspan\u003eBSD\u003c/span\u003e Authentication service for \u003cspan\u003ePostgreSQL\u003c/span\u003e client authentication (Marisa Emerson)\u003c/p\u003e\n\u003cp\u003eBSD Authentication is currently only available on \u003cspan\u003eOpenBSD\u003c/span\u003e.\u003c/p\u003e","id":"9.6.0-4570ebbdfbd0b8b9","identity_text":"Add a BSD authentication method to allow use of the BSD Authentication service for PostgreSQL client authentication (Marisa Emerson) BSD Authentication is currently only available on OpenBSD.","part":"changes","patch_ids":["26fb8d192042169f98784be7d5301d83"],"related_changes":[],"relations":[],"section":"Server / Authentication","section_path":["Server","Authentication"],"source_commits":["34c33a1f0"],"source_entry_id":"9.6.0/changes/050","source_hash":"a55737d23f802ccd55f0b93c9879a93f877af3a9235af70ae29e6e1fc40fc8b2","source_url":"/docs/release/9.6.0/#AEN136548","statement_hash":"23a7feba4ecfaefb9791cfab1ffdedb9e2b40869e9780d5e91b036c0207e963c","text":"Add a BSD authentication method to allow use of the BSD Authentication service for PostgreSQL client authentication (Marisa Emerson) BSD Authentication is currently only available on OpenBSD.","title":"Add a BSD authentication method to allow use of the BSD Authentication service for PostgreSQL client authentication","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["2f1d2b7a7"],"commit_groups":[["2f1d2b7a7"]],"commits":[],"cves":[],"db_id":"4c31b48873626d64b8278ad9dff418f6","html":"\u003cp\u003eWhen using \u003ca href=\"/docs/9.6/auth-methods.html#AUTH-PAM\"\u003e\u003cacronym\u003ePAM\u003c/acronym\u003e authentication\u003c/a\u003e, provide the client IP address or host name to \u003cacronym\u003ePAM\u003c/acronym\u003e modules via the PAM_RHOST item (Grzegorz Sampolski)\u003c/p\u003e","id":"9.6.0-b7448abb51389393","identity_text":"When using PAM authentication, provide the client IP address or host name to PAM modules via the PAM_RHOST item (Grzegorz Sampolski)","part":"changes","patch_ids":["f74b2332dbb33ebe7bf105c9e5608dea"],"related_changes":[],"relations":[],"section":"Server / Authentication","section_path":["Server","Authentication"],"source_commits":["2f1d2b7a7"],"source_entry_id":"9.6.0/changes/051","source_hash":"3d7349b329f60ec5cd465a8a353fb43a14136d50f67bd82226de752402d03fd3","source_url":"/docs/release/9.6.0/#AEN136548","statement_hash":"f5cf87102ec1efecc4cc618216bb88d0a5a96af73349a36ae73369ae39aa7059","text":"When using PAM authentication, provide the client IP address or host name to PAM modules via the PAM_RHOST item (Grzegorz Sampolski)","title":"When using PAM authentication, provide the client IP address or host name to PAM modules via the PAM_RHOST item","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["5e0b5dcab"],"commit_groups":[["5e0b5dcab"]],"commits":[],"cves":[],"db_id":"a94c8434754b00c8735fd6df2a6c073b","html":"\u003cp\u003eProvide detail in the postmaster log for more types of password authentication failure (Tom Lane)\u003c/p\u003e\n\u003cp\u003eAll ordinarily-reachable password authentication failure cases should now provide specific DETAIL fields in the log.\u003c/p\u003e","id":"9.6.0-8330a2483d17320e","identity_text":"Provide detail in the postmaster log for more types of password authentication failure (Tom Lane) All ordinarily-reachable password authentication failure cases should now provide specific DETAIL fields in the log.","part":"changes","patch_ids":["59fcf024a1964fc5074baf7d8893ddd7"],"related_changes":[],"relations":[],"section":"Server / Authentication","section_path":["Server","Authentication"],"source_commits":["5e0b5dcab"],"source_entry_id":"9.6.0/changes/052","source_hash":"15cad581ede8c7ceb893c7cbb1cf58c1fc1ae3746583e649209c5ef776ee6f70","source_url":"/docs/release/9.6.0/#AEN136548","statement_hash":"2b42066f72d8e17bcc0a4b43fd99753d9f2216d1527214b1da924b7d9c8fb11f","text":"Provide detail in the postmaster log for more types of password authentication failure (Tom Lane) All ordinarily-reachable password authentication failure cases should now provide specific DETAIL fields in the log.","title":"Provide detail in the postmaster log for more types of password authentication failure","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["643beffe8"],"commit_groups":[["643beffe8"]],"commits":[],"cves":[],"db_id":"3ef06562fedfc6508c88a604b8304071","html":"\u003cp\u003eSupport \u003ca href=\"/docs/9.6/auth-methods.html#AUTH-RADIUS\"\u003e\u003cacronym\u003eRADIUS\u003c/acronym\u003e passwords\u003c/a\u003e up to 128 characters long (Marko Tiikkaja)\u003c/p\u003e","id":"9.6.0-bcbde46c23962671","identity_text":"Support RADIUS passwords up to 128 characters long (Marko Tiikkaja)","part":"changes","patch_ids":["88e6c866389b86e81484a4af9d6576e6"],"related_changes":[],"relations":[],"section":"Server / Authentication","section_path":["Server","Authentication"],"source_commits":["643beffe8"],"source_entry_id":"9.6.0/changes/053","source_hash":"4be0aef0b5ac3ac9f7e41a9cec89514b4d0d6775bdc359dc85061cca2ce4b325","source_url":"/docs/release/9.6.0/#AEN136548","statement_hash":"9569e14bf538a603af49df26d7f72185c85189dd440efc9ad404a245dc7dafbe","text":"Support RADIUS passwords up to 128 characters long (Marko Tiikkaja)","title":"Support RADIUS passwords up to 128 characters long","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["35e2e357c"],"commit_groups":[["35e2e357c"]],"commits":[],"cves":[],"db_id":"4a80bb85137ec1de82254013adf0d7b8","html":"\u003cp\u003eAdd new \u003ca href=\"/docs/9.6/auth-methods.html#SSPI-AUTH\"\u003e\u003cacronym\u003eSSPI\u003c/acronym\u003e authentication\u003c/a\u003e parameters compat_realm and upn_username to control whether \u003cspan\u003eNetBIOS\u003c/span\u003e or \u003cspan\u003eKerberos\u003c/span\u003e realm names and user names are used during \u003cacronym\u003eSSPI\u003c/acronym\u003e authentication (Christian Ullrich)\u003c/p\u003e","id":"9.6.0-fcc06f4c57a9e5af","identity_text":"Add new SSPI authentication parameters compat_realm and upn_username to control whether NetBIOS or Kerberos realm names and user names are used during SSPI authentication (Christian Ullrich)","part":"changes","patch_ids":["c90e05046954cd62911d3ee69374fad7"],"related_changes":[],"relations":[],"section":"Server / Authentication","section_path":["Server","Authentication"],"source_commits":["35e2e357c"],"source_entry_id":"9.6.0/changes/054","source_hash":"9714d901eb7326b6004f58c87c0a5cf0fed08e4a5881ca3653d13d4188763863","source_url":"/docs/release/9.6.0/#AEN136548","statement_hash":"60ec223d8836f4fc354b8873defe9eca16bd4068d511eec7375b5cd04ecac234","text":"Add new SSPI authentication parameters compat_realm and upn_username to control whether NetBIOS or Kerberos realm names and user names are used during SSPI authentication (Christian Ullrich)","title":"Add new SSPI authentication parameters compat_realm and upn_username to control whether NetBIOS or Kerberos realm names and user names are used during SSPI authentication","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["c6dda1f48"],"commit_groups":[["c6dda1f48"]],"commits":[],"cves":[],"db_id":"44c7933813084b12f61449a19ee3d56a","html":"\u003cp\u003eAllow sessions to be terminated automatically if they are in idle-in-transaction state for too long (Vik Fearing)\u003c/p\u003e\n\u003cp\u003eThis behavior is controlled by the new configuration parameter \u003ca href=\"/docs/9.6/runtime-config-client.html#GUC-IDLE-IN-TRANSACTION-SESSION-TIMEOUT\"\u003eidle_in_transaction_session_timeout\u003c/a\u003e. It can be useful to prevent forgotten transactions from holding locks or preventing vacuum cleanup for too long.\u003c/p\u003e","id":"9.6.0-838d74153a683339","identity_text":"Allow sessions to be terminated automatically if they are in idle-in-transaction state for too long (Vik Fearing) This behavior is controlled by the new configuration parameter guc-idle-in-transaction-session-timeout . It can be useful to prevent forgotten transactions from holding locks or preventing vacuum cleanup for too long.","part":"changes","patch_ids":["b9b20290f4c152cdc503b59c243cda27"],"related_changes":[],"relations":[],"section":"Server / Server Configuration","section_path":["Server","Server Configuration"],"source_commits":["c6dda1f48"],"source_entry_id":"9.6.0/changes/055","source_hash":"3a154257c8b4294f70351da1999543a83b635537f5ff33bdb3591bc9a0aaa08f","source_url":"/docs/release/9.6.0/#AEN136583","statement_hash":"e6ac16b2519338f49250b6e3e9daac17a3a0a52a88132e16204a859dfeecb793","text":"Allow sessions to be terminated automatically if they are in idle-in-transaction state for too long (Vik Fearing) This behavior is controlled by the new configuration parameter idle_in_transaction_session_timeout. It can be useful to prevent forgotten transactions from holding locks or preventing vacuum cleanup for too long.","title":"Allow sessions to be terminated automatically if they are in idle-in-transaction state for too long","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["f2dba881a"],"commit_groups":[["f2dba881a"]],"commits":[],"cves":[],"db_id":"799c2f01e14ddbce17aa12a695c9525b","html":"\u003cp\u003eRaise the maximum allowed value of \u003ca href=\"/docs/9.6/runtime-config-wal.html#GUC-CHECKPOINT-TIMEOUT\"\u003echeckpoint_timeout\u003c/a\u003e to 24 hours (Simon Riggs)\u003c/p\u003e","id":"9.6.0-e6c2d67817933c7f","identity_text":"Raise the maximum allowed value of guc-checkpoint-timeout to 24 hours (Simon Riggs)","part":"changes","patch_ids":["d783fc32a66aa04b4e63797add01e871"],"related_changes":[],"relations":[],"section":"Server / Server Configuration","section_path":["Server","Server Configuration"],"source_commits":["f2dba881a"],"source_entry_id":"9.6.0/changes/056","source_hash":"a33622b17d7238824457b91d528933dda7aa61ef7ca51387bf02735579907dbc","source_url":"/docs/release/9.6.0/#AEN136583","statement_hash":"da45674d703eee67fcf721cee6a7c261487b16dbfcbf3c87b49d2da491d0154d","text":"Raise the maximum allowed value of checkpoint_timeout to 24 hours (Simon Riggs)","title":"Raise the maximum allowed value of checkpoint_timeout to 24 hours","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["1aba62ec6"],"commit_groups":[["1aba62ec6"]],"commits":[],"cves":[],"db_id":"2a3002dfe793853c104a7073ec5a892f","html":"\u003cp\u003eAllow effective_io_concurrency to be set per-tablespace to support cases where different tablespaces have different I/O characteristics (Julien Rouhaud)\u003c/p\u003e","id":"9.6.0-1be67b2c8f43f1b8","identity_text":"Allow effective_io_concurrency to be set per-tablespace to support cases where different tablespaces have different I/O characteristics (Julien Rouhaud)","part":"changes","patch_ids":["030f7844d46b8b83527f827061a95477"],"related_changes":[],"relations":[],"section":"Server / Server Configuration","section_path":["Server","Server Configuration"],"source_commits":["1aba62ec6"],"source_entry_id":"9.6.0/changes/057","source_hash":"3d89dfa470725065064c8335a2976bfe9308b0b0a7fffa16182ecfcc22e07769","source_url":"/docs/release/9.6.0/#AEN136583","statement_hash":"176ac7b6be58ce7c60629af1b6c41ba33f30f8db8c2dc90d35a9129806ef5ba1","text":"Allow effective_io_concurrency to be set per-tablespace to support cases where different tablespaces have different I/O characteristics (Julien Rouhaud)","title":"Allow effective_io_concurrency to be set per-tablespace to support cases where different tablespaces have different I/O characteristics","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["b1e1862a1","f828654e1"],"commit_groups":[["b1e1862a1"],["f828654e1"]],"commits":[],"cves":[],"db_id":"7a744cc72d85b7c8fa720bb2d9fda2ce","html":"\u003cp\u003eAdd \u003ca href=\"/docs/9.6/runtime-config-logging.html#GUC-LOG-LINE-PREFIX\"\u003elog_line_prefix\u003c/a\u003e option %n to print the current time in Unix epoch form, with milliseconds (Tomas Vondra, Jeff Davis)\u003c/p\u003e","id":"9.6.0-08f68ebe36226207","identity_text":"Add guc-log-line-prefix option %n to print the current time in Unix epoch form, with milliseconds (Tomas Vondra, Jeff Davis)","part":"changes","patch_ids":["1ddea7dd8d6cf63e27eeaeda9f668044","57863f69591424fdb9f5dd6d77fd064b"],"related_changes":[],"relations":[],"section":"Server / Server Configuration","section_path":["Server","Server Configuration"],"source_commits":["b1e1862a1","f828654e1"],"source_entry_id":"9.6.0/changes/058","source_hash":"ee942d464d4747920098e0abd2fe0d03590e26bac37d5cab9a9658fa1b2f1b9b","source_url":"/docs/release/9.6.0/#AEN136583","statement_hash":"85d81366ac3a601bc7f7505fac632766029b5c79b4c65e443ec62f01aeedf0bf","text":"Add log_line_prefix option %n to print the current time in Unix epoch form, with milliseconds (Tomas Vondra, Jeff Davis)","title":"Add log_line_prefix option %n to print the current time in Unix epoch form, with milliseconds","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["f4c454e9b","fc201dfd9"],"commit_groups":[["f4c454e9b"],["fc201dfd9"]],"commits":[],"cves":[],"db_id":"d9f3e4aa945b7ea6f89c0a3c9c4894b3","html":"\u003cp\u003eAdd \u003ca href=\"/docs/9.6/runtime-config-logging.html#GUC-SYSLOG-SEQUENCE-NUMBERS\"\u003esyslog_sequence_numbers\u003c/a\u003e and \u003ca href=\"/docs/9.6/runtime-config-logging.html#GUC-SYSLOG-SPLIT-MESSAGES\"\u003esyslog_split_messages\u003c/a\u003e configuration parameters to provide more control over the message format when logging to \u003cspan\u003esyslog\u003c/span\u003e (Peter Eisentraut)\u003c/p\u003e","id":"9.6.0-11beb18290e7acd3","identity_text":"Add guc-syslog-sequence-numbers and guc-syslog-split-messages configuration parameters to provide more control over the message format when logging to syslog (Peter Eisentraut)","part":"changes","patch_ids":["7ecfee74cc26744b6340b9eb347a10ca","ea69b6530224f929c4e0489d825d0b1c"],"related_changes":[],"relations":[],"section":"Server / Server Configuration","section_path":["Server","Server Configuration"],"source_commits":["f4c454e9b","fc201dfd9"],"source_entry_id":"9.6.0/changes/059","source_hash":"882f824d831b467c67fb45ad973dee6e709998a18f35689372d200a9b7aac752","source_url":"/docs/release/9.6.0/#AEN136583","statement_hash":"3844b4d6da4cd0b689dd7d411904b1802d7d29dc6ece4cbc5339eb8c8b649dfb","text":"Add syslog_sequence_numbers and syslog_split_messages configuration parameters to provide more control over the message format when logging to syslog (Peter Eisentraut)","title":"Add syslog_sequence_numbers and syslog_split_messages configuration parameters to provide more control over the message format when logging to syslog","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["b555ed810"],"commit_groups":[["b555ed810"]],"commits":[],"cves":[],"db_id":"88c0398481386a5325f619bf6c749d80","html":"\u003cp\u003eMerge the archive and hot_standby values of the \u003ca href=\"/docs/9.6/runtime-config-wal.html#GUC-WAL-LEVEL\"\u003ewal_level\u003c/a\u003e configuration parameter into a single new value replica (Peter Eisentraut)\u003c/p\u003e\n\u003cp\u003eMaking a distinction between these settings is no longer useful, and merging them is a step towards a planned future simplification of replication setup. The old names are still accepted but are converted to replica internally.\u003c/p\u003e","id":"9.6.0-3168b9e3a9774b05","identity_text":"Merge the archive and hot_standby values of the guc-wal-level configuration parameter into a single new value replica (Peter Eisentraut) Making a distinction between these settings is no longer useful, and merging them is a step towards a planned future simplification of replication setup. The old names are still accepted but are converted to replica internally.","part":"changes","patch_ids":["32baf1e20424893caa44d3225843da1a"],"related_changes":[],"relations":[],"section":"Server / Server Configuration","section_path":["Server","Server Configuration"],"source_commits":["b555ed810"],"source_entry_id":"9.6.0/changes/060","source_hash":"8d4cbd128c4482f8ae90bd162f238d5cd6a9518235dc037afc2271765fdc73e1","source_url":"/docs/release/9.6.0/#AEN136583","statement_hash":"3f949c15924983eb2725ca62199a241b7e3cd0f36f7e2c1505309ccd3e89aedd","text":"Merge the archive and hot_standby values of the wal_level configuration parameter into a single new value replica (Peter Eisentraut) Making a distinction between these settings is no longer useful, and merging them is a step towards a planned future simplification of replication setup. The old names are still accepted but are converted to replica internally.","title":"Merge the archive and hot_standby values of the wal_level configuration parameter into a single new value replica","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["7d17e683f"],"commit_groups":[["7d17e683f"]],"commits":[],"cves":[],"db_id":"6994826f1d4179d20292fa5f5c0e0799","html":"\u003cp\u003eAdd configure option --with-systemd to enable calling \u003ccode\u003esd_notify()\u003c/code\u003e at server start and stop (Peter Eisentraut)\u003c/p\u003e\n\u003cp\u003eThis allows the use of \u003cspan\u003esystemd\u003c/span\u003e service units of type notify, which greatly simplifies the management of \u003cspan\u003ePostgreSQL\u003c/span\u003e under \u003cspan\u003esystemd\u003c/span\u003e.\u003c/p\u003e","id":"9.6.0-9cfd35218bab10ef","identity_text":"Add configure option --with-systemd to enable calling sd_notify() at server start and stop (Peter Eisentraut) This allows the use of systemd service units of type notify, which greatly simplifies the management of PostgreSQL under systemd.","part":"changes","patch_ids":["266f8c7f14c1f59b25070620eecb4b3b"],"related_changes":[],"relations":[],"section":"Server / Server Configuration","section_path":["Server","Server Configuration"],"source_commits":["7d17e683f"],"source_entry_id":"9.6.0/changes/061","source_hash":"e8cbcf57e94280f2c4db950b7e876d1e9726271a5bc4478344492a44c76c1d37","source_url":"/docs/release/9.6.0/#AEN136583","statement_hash":"28802777523dc1d82ec27bd534ca0a03ccab743441948191dbfb50ebad316c41","text":"Add configure option --with-systemd to enable calling sd_notify() at server start and stop (Peter Eisentraut) This allows the use of systemd service units of type notify, which greatly simplifies the management of PostgreSQL under systemd.","title":"Add configure option --with-systemd to enable calling sd_notify() at server start and stop","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["9a83564c5"],"commit_groups":[["9a83564c5"]],"commits":[],"cves":[],"db_id":"c63f0fd58ee2130e8e7669deb9c37034","html":"\u003cp\u003eAllow the server's \u003cacronym\u003eSSL\u003c/acronym\u003e key file to have group read access if it is owned by root (Christoph Berg)\u003c/p\u003e\n\u003cp\u003eFormerly, we insisted the key file be owned by the user running the \u003cspan\u003ePostgreSQL\u003c/span\u003e server, but that is inconvenient on some systems (such as \u003cspan\u003eDebian\u003c/span\u003e) that are configured to manage certificates centrally. Therefore, allow the case where the key file is owned by root and has group read access. It is up to the operating system administrator to ensure that the group does not include any untrusted users.\u003c/p\u003e","id":"9.6.0-1a79a5cf26dd1cf2","identity_text":"Allow the server's SSL key file to have group read access if it is owned by root (Christoph Berg) Formerly, we insisted the key file be owned by the user running the PostgreSQL server, but that is inconvenient on some systems (such as Debian) that are configured to manage certificates centrally. Therefore, allow the case where the key file is owned by root and has group read access. It is up to the operating system administrator to ensure that the group does not include any untrusted users.","part":"changes","patch_ids":["e6e194bc85d717a23c426a771389679b"],"related_changes":[],"relations":[],"section":"Server / Server Configuration","section_path":["Server","Server Configuration"],"source_commits":["9a83564c5"],"source_entry_id":"9.6.0/changes/062","source_hash":"936c6250c38d68e120e15ad76688fdf81b545aacc66bc33e33a59e4713c5dc32","source_url":"/docs/release/9.6.0/#AEN136583","statement_hash":"3fb7af8175fd5e7ac2c8ec2a15315b0f1b32aea455b68b384bca015e4b18bc41","text":"Allow the server's SSL key file to have group read access if it is owned by root (Christoph Berg) Formerly, we insisted the key file be owned by the user running the PostgreSQL server, but that is inconvenient on some systems (such as Debian) that are configured to manage certificates centrally. Therefore, allow the case where the key file is owned by root and has group read access. It is up to the operating system administrator to ensure that the group does not include any untrusted users.","title":"Allow the server's SSL key file to have group read access if it is owned by root","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["ac1d7945f"],"commit_groups":[["ac1d7945f"]],"commits":[],"cves":[],"db_id":"b5b0e9f5c11d557d0e6782d925cf63a9","html":"\u003cp\u003eForce backends to exit if the postmaster dies (Rajeev Rastogi, Robert Haas)\u003c/p\u003e\n\u003cp\u003eUnder normal circumstances the postmaster should always outlive its child processes. If for some reason the postmaster dies, force backend sessions to exit with an error. Formerly, existing backends would continue to run until their clients disconnect, but that is unsafe and inefficient. It also prevents a new postmaster from being started until the last old backend has exited. Backends will detect postmaster death when waiting for client I/O, so the exit will not be instantaneous, but it should happen no later than the end of the current query.\u003c/p\u003e","id":"9.6.0-46d368c331cff675","identity_text":"Force backends to exit if the postmaster dies (Rajeev Rastogi, Robert Haas) Under normal circumstances the postmaster should always outlive its child processes. If for some reason the postmaster dies, force backend sessions to exit with an error. Formerly, existing backends would continue to run until their clients disconnect, but that is unsafe and inefficient. It also prevents a new postmaster from being started until the last old backend has exited. Backends will detect postmaster death when waiting for client I/O, so the exit will not be instantaneous, but it should happen no later than the end of the current query.","part":"changes","patch_ids":["21f5176f8d220ba8a041d87947a7718e"],"related_changes":[],"relations":[],"section":"Server / Reliability","section_path":["Server","Reliability"],"source_commits":["ac1d7945f"],"source_entry_id":"9.6.0/changes/063","source_hash":"dc4919e6a6d9620d1640905410ec93ddd83caa79fa984d30064ce410900a0489","source_url":"/docs/release/9.6.0/#AEN136630","statement_hash":"32d6be6c4f63ffa509aaaa696c0a9904086b1c59cba702ff1c80046d618e615b","text":"Force backends to exit if the postmaster dies (Rajeev Rastogi, Robert Haas) Under normal circumstances the postmaster should always outlive its child processes. If for some reason the postmaster dies, force backend sessions to exit with an error. Formerly, existing backends would continue to run until their clients disconnect, but that is unsafe and inefficient. It also prevents a new postmaster from being started until the last old backend has exited. Backends will detect postmaster death when waiting for client I/O, so the exit will not be instantaneous, but it should happen no later than the end of the current query.","title":"Force backends to exit if the postmaster dies","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["fcff8a575"],"commit_groups":[["fcff8a575"]],"commits":[],"cves":[],"db_id":"b8cc53380765d846354e52618f192ffa","html":"\u003cp\u003eCheck for serializability conflicts before reporting constraint-violation failures (Thomas Munro)\u003c/p\u003e\n\u003cp\u003eWhen 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.\u003c/p\u003e","id":"9.6.0-d82382b35d45f9a8","identity_text":"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.","part":"changes","patch_ids":["4d15bb238596ea3d41244d0bb519bd52"],"related_changes":[],"relations":[],"section":"Server / Reliability","section_path":["Server","Reliability"],"source_commits":["fcff8a575"],"source_entry_id":"9.6.0/changes/064","source_hash":"ac276961f23e98ce6bef38287ddbea7e02c6121081afd8fc695cffa92ed780af","source_url":"/docs/release/9.6.0/#AEN136630","statement_hash":"7b9b2c500fbdea8d99ce0b203d2a1adb8acb559963c6f180422d3b31173803ba","text":"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.","title":"Check for serializability conflicts before reporting constraint-violation failures","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["c6ff84b06"],"commit_groups":[["c6ff84b06"]],"commits":[],"cves":[],"db_id":"7e9c2dd1f47115145052e4d9c19bfd99","html":"\u003cp\u003eEnsure that invalidation messages are recorded in \u003cacronym\u003eWAL\u003c/acronym\u003e even when issued by a transaction that has no \u003cacronym\u003eXID\u003c/acronym\u003e assigned (Andres Freund)\u003c/p\u003e\n\u003cp\u003eThis fixes some corner cases in which transactions on standby servers failed to notice changes, such as new indexes.\u003c/p\u003e","id":"9.6.0-8c6d3a709b8d832e","identity_text":"Ensure that invalidation messages are recorded in WAL even when issued by a transaction that has no XID assigned (Andres Freund) This fixes some corner cases in which transactions on standby servers failed to notice changes, such as new indexes.","part":"changes","patch_ids":["56cb443fb625c151a4e0e61a330698e5"],"related_changes":[],"relations":[],"section":"Server / Reliability","section_path":["Server","Reliability"],"source_commits":["c6ff84b06"],"source_entry_id":"9.6.0/changes/065","source_hash":"4ffa1504804c4ade9cdc1dcfb0f1d44e465b3a4bbd2a03b381c7a8bf54cd296d","source_url":"/docs/release/9.6.0/#AEN136630","statement_hash":"e18907fae37afaf5a2c02a42e90f770ace68651966019e020fd75667408ae376","text":"Ensure that invalidation messages are recorded in WAL even when issued by a transaction that has no XID assigned (Andres Freund) This fixes some corner cases in which transactions on standby servers failed to notice changes, such as new indexes.","title":"Ensure that invalidation messages are recorded in WAL even when issued by a transaction that has no XID assigned","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["e2c79e14d"],"commit_groups":[["e2c79e14d"]],"commits":[],"cves":[],"db_id":"e0deaf013e38d26391a2a0f5b1f7062e","html":"\u003cp\u003ePrevent multiple processes from trying to clean a \u003cacronym\u003eGIN\u003c/acronym\u003e index's pending list concurrently (Teodor Sigaev, Jeff Janes)\u003c/p\u003e\n\u003cp\u003eThis had been intentionally allowed, but it causes race conditions that can result in vacuum missing index entries it needs to delete.\u003c/p\u003e","id":"9.6.0-4c2e550e3db8d705","identity_text":"Prevent multiple processes from trying to clean a GIN index's pending list concurrently (Teodor Sigaev, Jeff Janes) This had been intentionally allowed, but it causes race conditions that can result in vacuum missing index entries it needs to delete.","part":"changes","patch_ids":["8d53db94de3745ab52f624e87d7f4e6d"],"related_changes":[],"relations":[],"section":"Server / Reliability","section_path":["Server","Reliability"],"source_commits":["e2c79e14d"],"source_entry_id":"9.6.0/changes/066","source_hash":"6b410808196e1c2442f1dc0726b6ee8410caf35ff06bf3330dc0c20c8859a8dd","source_url":"/docs/release/9.6.0/#AEN136630","statement_hash":"66c3cc329e95d86cf9ef8ed9286f01c97c51620ae0ced22b00886c1c8e549c64","text":"Prevent multiple processes from trying to clean a GIN index's pending list concurrently (Teodor Sigaev, Jeff Janes) This had been intentionally allowed, but it causes race conditions that can result in vacuum missing index entries it needs to delete.","title":"Prevent multiple processes from trying to clean a GIN index's pending list concurrently","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["17d5db352","4c804fbdf","989be0810"],"commit_groups":[["17d5db352"],["4c804fbdf"],["989be0810"]],"commits":[],"cves":[],"db_id":"4032316fdcd8e8813f441c70fceb7222","html":"\u003cp\u003eAllow synchronous replication to support multiple simultaneous synchronous standby servers, not just one (Masahiko Sawada, Beena Emerson, Michael Paquier, Fujii Masao, Kyotaro Horiguchi)\u003c/p\u003e\n\u003cp\u003eThe number of standby servers that must acknowledge a commit before it is considered complete is now configurable as part of the \u003ca href=\"/docs/9.6/runtime-config-replication.html#GUC-SYNCHRONOUS-STANDBY-NAMES\"\u003esynchronous_standby_names\u003c/a\u003e parameter.\u003c/p\u003e","id":"9.6.0-027a1753276df698","identity_text":"Allow synchronous replication to support multiple simultaneous synchronous standby servers, not just one (Masahiko Sawada, Beena Emerson, Michael Paquier, Fujii Masao, Kyotaro Horiguchi) The number of standby servers that must acknowledge a commit before it is considered complete is now configurable as part of the guc-synchronous-standby-names parameter.","part":"changes","patch_ids":["215923ec184ec901c660a20ad7c2cc38","edcfbd6b7be38b266a853a4edd9b8d7f","f3db3e9cc894b5b4c27cc1d1f26a106c"],"related_changes":[],"relations":[],"section":"Replication and Recovery","section_path":["Replication and Recovery"],"source_commits":["17d5db352","4c804fbdf","989be0810"],"source_entry_id":"9.6.0/changes/067","source_hash":"0615a6b2ce96f9f3b45b65add789d462d9b44e5c89ec8450e612048257251859","source_url":"/docs/release/9.6.0/#AEN136648","statement_hash":"153eab7a55f5e59dceebe3c01314b71154cebb795ab70945d8154a8cda920e67","text":"Allow synchronous replication to support multiple simultaneous synchronous standby servers, not just one (Masahiko Sawada, Beena Emerson, Michael Paquier, Fujii Masao, Kyotaro Horiguchi) The number of standby servers that must acknowledge a commit before it is considered complete is now configurable as part of the synchronous_standby_names parameter.","title":"Allow synchronous replication to support multiple simultaneous synchronous standby servers, not just one","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["314cbfc5d"],"commit_groups":[["314cbfc5d"]],"commits":[],"cves":[],"db_id":"fccb22a56c56feec4e10ce394b033999","html":"\u003cp\u003eAdd new setting remote_apply for configuration parameter \u003ca href=\"/docs/9.6/runtime-config-wal.html#GUC-SYNCHRONOUS-COMMIT\"\u003esynchronous_commit\u003c/a\u003e (Thomas Munro)\u003c/p\u003e\n\u003cp\u003eIn this mode, the master waits for the transaction to be \u003cspan\u003e\u003ci\u003eapplied\u003c/i\u003e\u003c/span\u003e on the standby server, not just written to disk. That means that you can count on a transaction started on the standby to see all commits previously acknowledged by the master.\u003c/p\u003e","id":"9.6.0-6c2a151f041d654b","identity_text":"Add new setting remote_apply for configuration parameter guc-synchronous-commit (Thomas Munro) In this mode, the master waits for the transaction to be applied on the standby server, not just written to disk. That means that you can count on a transaction started on the standby to see all commits previously acknowledged by the master.","part":"changes","patch_ids":["4a0a9cdcae2c5ce04aaa01778a918ff1"],"related_changes":[],"relations":[],"section":"Replication and Recovery","section_path":["Replication and Recovery"],"source_commits":["314cbfc5d"],"source_entry_id":"9.6.0/changes/068","source_hash":"220b6c06430e48f117ca28c9d9c9382fd3aaa8580f4ba3ff995b7731acb1603d","source_url":"/docs/release/9.6.0/#AEN136648","statement_hash":"0696ddc2133bf8965ded75d87ca58f366d42f27277bd66d4f3833e798104d850","text":"Add new setting remote_apply for configuration parameter synchronous_commit (Thomas Munro) In this mode, the master waits for the transaction to be applied on the standby server, not just written to disk. That means that you can count on a transaction started on the standby to see all commits previously acknowledged by the master.","title":"Add new setting remote_apply for configuration parameter synchronous_commit","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["6fcd88511","c314ead5b"],"commit_groups":[["6fcd88511"],["c314ead5b"]],"commits":[],"cves":[],"db_id":"319fe44d1edf098a2346b2c7849b47a4","html":"\u003cp\u003eAdd a feature to the replication protocol, and a corresponding option to \u003ca href=\"/docs/9.6/functions-admin.html#FUNCTIONS-REPLICATION-TABLE\"\u003e\u003ccode\u003epg_create_physical_replication_slot()\u003c/code\u003e\u003c/a\u003e, to allow reserving \u003cacronym\u003eWAL\u003c/acronym\u003e immediately when creating a replication slot (Gurjeet Singh, Michael Paquier)\u003c/p\u003e\n\u003cp\u003eThis allows the creation of a replication slot to guarantee that all the \u003cacronym\u003eWAL\u003c/acronym\u003e needed for a base backup will be available.\u003c/p\u003e","id":"9.6.0-aae7427ee781d765","identity_text":"Add a feature to the replication protocol, and a corresponding option to pg_create_physical_replication_slot(), to allow reserving WAL immediately when creating a replication slot (Gurjeet Singh, Michael Paquier) This allows the creation of a replication slot to guarantee that all the WAL needed for a base backup will be available.","part":"changes","patch_ids":["257f8f2afef937882e67ab1368cc8141","8e3192ddea07d1b7c6c51293ded33844"],"related_changes":[],"relations":[],"section":"Replication and Recovery","section_path":["Replication and Recovery"],"source_commits":["6fcd88511","c314ead5b"],"source_entry_id":"9.6.0/changes/069","source_hash":"c222377b6bce013e24abd8fb2522511054053db3246c51e69f4b247f391c3c3d","source_url":"/docs/release/9.6.0/#AEN136648","statement_hash":"e3ecf7db0fc4fae13dc43e23e0be962dde77aff4f0e72ae0c587f8d00ef49d49","text":"Add a feature to the replication protocol, and a corresponding option to pg_create_physical_replication_slot(), to allow reserving WAL immediately when creating a replication slot (Gurjeet Singh, Michael Paquier) This allows the creation of a replication slot to guarantee that all the WAL needed for a base backup will be available.","title":"Add a feature to the replication protocol, and a corresponding option to pg_create_physical_replication_slot(), to allow reserving WAL immediately when creating a replication slot","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["0dc848b03"],"commit_groups":[["0dc848b03"]],"commits":[],"cves":[],"db_id":"5f8e05a3fa7ac1e6f31313c5f302c3bf","html":"\u003cp\u003eAdd a --slot option to \u003ca href=\"/docs/9.6/app-pgbasebackup.html\"\u003e\u003cspan\u003epg_basebackup\u003c/span\u003e\u003c/a\u003e (Peter Eisentraut)\u003c/p\u003e\n\u003cp\u003eThis lets \u003cspan\u003epg_basebackup\u003c/span\u003e use a replication slot defined for \u003cacronym\u003eWAL\u003c/acronym\u003e streaming. After the base backup completes, selecting the same slot for regular streaming replication allows seamless startup of the new standby server.\u003c/p\u003e","id":"9.6.0-e726b5268a473bcf","identity_text":"Add a --slot option to pg_basebackup (Peter Eisentraut) This lets pg_basebackup use a replication slot defined for WAL streaming. After the base backup completes, selecting the same slot for regular streaming replication allows seamless startup of the new standby server.","part":"changes","patch_ids":["3c834d40e67eeb6360412b1cdbc49380"],"related_changes":[],"relations":[],"section":"Replication and Recovery","section_path":["Replication and Recovery"],"source_commits":["0dc848b03"],"source_entry_id":"9.6.0/changes/070","source_hash":"eb157f0576be9bc9779196ca50c01d4167998067d8041d9c17ab53ba60e383f6","source_url":"/docs/release/9.6.0/#AEN136648","statement_hash":"779d2f757749b04c8506ee05fd6d91cf98ef086bdccd656d3ffe5b49c71bd097","text":"Add a --slot option to pg_basebackup (Peter Eisentraut) This lets pg_basebackup use a replication slot defined for WAL streaming. After the base backup completes, selecting the same slot for regular streaming replication allows seamless startup of the new standby server.","title":"Add a --slot option to pg_basebackup","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["711768546","87d84d67b"],"commit_groups":[["711768546"],["87d84d67b"]],"commits":[],"cves":[],"db_id":"dca55d936a92b8690a471c2311fcd45e","html":"\u003cp\u003eExtend \u003ca href=\"/docs/9.6/functions-admin.html#FUNCTIONS-ADMIN-BACKUP-TABLE\"\u003e\u003ccode\u003epg_start_backup()\u003c/code\u003e\u003c/a\u003e and \u003ccode\u003epg_stop_backup()\u003c/code\u003e to support non-exclusive backups (Magnus Hagander)\u003c/p\u003e","id":"9.6.0-e31c31f93e6c2ed6","identity_text":"Extend pg_start_backup() and pg_stop_backup() to support non-exclusive backups (Magnus Hagander)","part":"changes","patch_ids":["0e418466db412e3335af734c3a39751c","cff46614ffac5cd0b2080bc2dbaabd92"],"related_changes":[],"relations":[],"section":"Replication and Recovery","section_path":["Replication and Recovery"],"source_commits":["711768546","87d84d67b"],"source_entry_id":"9.6.0/changes/071","source_hash":"d71e83a0ab980db56cd8abc8174d01813a997297cc0ae31411c02ad0f0edf5f2","source_url":"/docs/release/9.6.0/#AEN136648","statement_hash":"ff8742009cd2a98231ef5022062c6a2ad2ac7cffeae481e34df61a7c0feab2c7","text":"Extend pg_start_backup() and pg_stop_backup() to support non-exclusive backups (Magnus Hagander)","title":"Extend pg_start_backup() and pg_stop_backup() to support non-exclusive backups","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["d8411a6c8"],"commit_groups":[["d8411a6c8"]],"commits":[],"cves":[],"db_id":"eaef868188f5ff4c98a2cb1b671c019a","html":"\u003cp\u003eAllow functions that return sets of tuples to return simple NULLs (Andrew Gierth, Tom Lane)\u003c/p\u003e\n\u003cp\u003eIn the context of SELECT FROM function(...), a function that returned a set of composite values was previously not allowed to return a plain NULL value as part of the set. Now that is allowed and interpreted as a row of NULLs. This avoids corner-case errors with, for example, unnesting an array of composite values.\u003c/p\u003e","id":"9.6.0-726321ebf1313ba0","identity_text":"Allow functions that return sets of tuples to return simple NULLs (Andrew Gierth, Tom Lane) In the context of SELECT FROM function(...), a function that returned a set of composite values was previously not allowed to return a plain NULL value as part of the set. Now that is allowed and interpreted as a row of NULLs. This avoids corner-case errors with, for example, unnesting an array of composite values.","part":"changes","patch_ids":["d9278e7d43e9bfbe00bc0242e9455583"],"related_changes":[],"relations":[],"section":"Queries","section_path":["Queries"],"source_commits":["d8411a6c8"],"source_entry_id":"9.6.0/changes/072","source_hash":"f00fa9ec49db65bc155309afdc2cb00989ee73cbad44b3da6b281525614b2f83","source_url":"/docs/release/9.6.0/#AEN136681","statement_hash":"221183a942c7638472a304b4224c716107cfca7324d02febc0c75d778a615d5a","text":"Allow functions that return sets of tuples to return simple NULLs (Andrew Gierth, Tom Lane) In the context of SELECT FROM function(...), a function that returned a set of composite values was previously not allowed to return a plain NULL value as part of the set. Now that is allowed and interpreted as a row of NULLs. This avoids corner-case errors with, for example, unnesting an array of composite values.","title":"Allow functions that return sets of tuples to return simple NULLs","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["a3c7a993d"],"commit_groups":[["a3c7a993d"]],"commits":[],"cves":[],"db_id":"17976aaf7f2da10841d9a74141a63cf0","html":"\u003cp\u003eFully support array subscripts and field selections in the target column list of an INSERT with multiple VALUES rows (Tom Lane)\u003c/p\u003e\n\u003cp\u003ePreviously, such cases failed if the same target column was mentioned more than once, e.g., INSERT INTO tab (x[1], x[2]) VALUES (...).\u003c/p\u003e","id":"9.6.0-8d43de3432dab33d","identity_text":"Fully support array subscripts and field selections in the target column list of an INSERT with multiple VALUES rows (Tom Lane) Previously, such cases failed if the same target column was mentioned more than once, e.g., INSERT INTO tab (x[1], x[2]) VALUES (...).","part":"changes","patch_ids":["43d7f6276dfff63b5a77acced89bad92"],"related_changes":[],"relations":[],"section":"Queries","section_path":["Queries"],"source_commits":["a3c7a993d"],"source_entry_id":"9.6.0/changes/073","source_hash":"949ba79021765ddbf6e6528fe66de8f7ea0a2a0fcc58250df59cc508e6679654","source_url":"/docs/release/9.6.0/#AEN136681","statement_hash":"f20f3f4114af45cfc993b735bdb3a51273ede6da3245a712bb43de5c4112f9a6","text":"Fully support array subscripts and field selections in the target column list of an INSERT with multiple VALUES rows (Tom Lane) Previously, such cases failed if the same target column was mentioned more than once, e.g., INSERT INTO tab (x[1], x[2]) VALUES (...).","title":"Fully support array subscripts and field selections in the target column list of an INSERT with multiple VALUES rows","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["9118d03a8","d543170f2"],"commit_groups":[["9118d03a8"],["d543170f2"]],"commits":[],"cves":[],"db_id":"3ef0781024b8b527e8fb3697c0b0e93a","html":"\u003cp\u003eWhen appropriate, postpone evaluation of SELECT output expressions until after an ORDER BY sort (Konstantin Knizhnik)\u003c/p\u003e\n\u003cp\u003eThis change ensures that volatile or expensive functions in the output list are executed in the order suggested by ORDER BY, and that they are not evaluated more times than required when there is a LIMIT clause. Previously, these properties held if the ordering was performed by an index scan or pre-merge-join sort, but not if it was performed by a top-level sort.\u003c/p\u003e","id":"9.6.0-be42eb74dfb32c01","identity_text":"When appropriate, postpone evaluation of SELECT output expressions until after an ORDER BY sort (Konstantin Knizhnik) This change ensures that volatile or expensive functions in the output list are executed in the order suggested by ORDER BY, and that they are not evaluated more times than required when there is a LIMIT clause. Previously, these properties held if the ordering was performed by an index scan or pre-merge-join sort, but not if it was performed by a top-level sort.","part":"changes","patch_ids":["60726c3f69689950e0487ceeb0b10b9e","7603786614cb76cc5b04c0defe848501"],"related_changes":[],"relations":[],"section":"Queries","section_path":["Queries"],"source_commits":["9118d03a8","d543170f2"],"source_entry_id":"9.6.0/changes/074","source_hash":"ad277dd9646b41db021ddf3f65d744806eb6e285f683508382bfdf06782adccb","source_url":"/docs/release/9.6.0/#AEN136681","statement_hash":"9ce59327b6d579a61f8bdec14f234688b370d636acf0972ace4616e94fb1dcc7","text":"When appropriate, postpone evaluation of SELECT output expressions until after an ORDER BY sort (Konstantin Knizhnik) This change ensures that volatile or expensive functions in the output list are executed in the order suggested by ORDER BY, and that they are not evaluated more times than required when there is a LIMIT clause. Previously, these properties held if the ordering was performed by an index scan or pre-merge-join sort, but not if it was performed by a top-level sort.","title":"When appropriate, postpone evaluation of SELECT output expressions until after an ORDER BY sort","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["23a27b039","74a379b98"],"commit_groups":[["23a27b039"],["74a379b98"]],"commits":[],"cves":[],"db_id":"05a0711d78944806983c9260f1d1da71","html":"\u003cp\u003eWiden counters recording the number of tuples processed to 64 bits (Andreas Scherbaum)\u003c/p\u003e\n\u003cp\u003eThis change allows command tags, e.g., SELECT, to correctly report tuple counts larger than 4 billion. This also applies to PL/pgSQL's GET DIAGNOSTICS ... ROW_COUNT command.\u003c/p\u003e","id":"9.6.0-dae8b8c91369769f","identity_text":"Widen counters recording the number of tuples processed to 64 bits (Andreas Scherbaum) This change allows command tags, e.g., SELECT, to correctly report tuple counts larger than 4 billion. This also applies to PL/pgSQL's GET DIAGNOSTICS ... ROW_COUNT command.","part":"changes","patch_ids":["47605db42bd814c07c3cd374a26820a6","ad9946d8edcec200f17545acf4053c48"],"related_changes":[],"relations":[],"section":"Queries","section_path":["Queries"],"source_commits":["23a27b039","74a379b98"],"source_entry_id":"9.6.0/changes/075","source_hash":"dc1bbb9af5da105ac532733a1eb1a0142edd5e21e8a3e7843341d5fa8bdf428a","source_url":"/docs/release/9.6.0/#AEN136681","statement_hash":"e2dfbcd474014ed1974c9a851e78f5a68ad1733fc657f6b02dcf731778af60ce","text":"Widen counters recording the number of tuples processed to 64 bits (Andreas Scherbaum) This change allows command tags, e.g., SELECT, to correctly report tuple counts larger than 4 billion. This also applies to PL/pgSQL's GET DIAGNOSTICS ... ROW_COUNT command.","title":"Widen counters recording the number of tuples processed to 64 bits","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["8d32717b6"],"commit_groups":[["8d32717b6"]],"commits":[],"cves":[],"db_id":"19668e113722ba9a46438667f860abdd","html":"\u003cp\u003eAvoid doing encoding conversions by converting through the MULE_INTERNAL encoding (Tom Lane)\u003c/p\u003e\n\u003cp\u003ePreviously, many conversions for Cyrillic and Central European single-byte encodings were done by converting to a related MULE_INTERNAL coding scheme and then to the destination encoding. Aside from being inefficient, this meant that when the conversion encountered an untranslatable character, the error message would confusingly complain about failure to convert to or from MULE_INTERNAL, rather than the user-visible encoding.\u003c/p\u003e","id":"9.6.0-423b0cd558d91fdf","identity_text":"Avoid doing encoding conversions by converting through the MULE_INTERNAL encoding (Tom Lane) Previously, many conversions for Cyrillic and Central European single-byte encodings were done by converting to a related MULE_INTERNAL coding scheme and then to the destination encoding. Aside from being inefficient, this meant that when the conversion encountered an untranslatable character, the error message would confusingly complain about failure to convert to or from MULE_INTERNAL, rather than the user-visible encoding.","part":"changes","patch_ids":["f416fc390626497a5afe4caee011d944"],"related_changes":[],"relations":[],"section":"Queries","section_path":["Queries"],"source_commits":["8d32717b6"],"source_entry_id":"9.6.0/changes/076","source_hash":"a3f5b889ead5c8b5c6e769fd39186525bbb5f8c72f7ada01cfc1ed9201b3f935","source_url":"/docs/release/9.6.0/#AEN136681","statement_hash":"64a56f5a7138a6f01d754c600bab6637e236f240a69e192c0a56bf9e5d95b9ea","text":"Avoid doing encoding conversions by converting through the MULE_INTERNAL encoding (Tom Lane) Previously, many conversions for Cyrillic and Central European single-byte encodings were done by converting to a related MULE_INTERNAL coding scheme and then to the destination encoding. Aside from being inefficient, this meant that when the conversion encountered an untranslatable character, the error message would confusingly complain about failure to convert to or from MULE_INTERNAL, rather than the user-visible encoding.","title":"Avoid doing encoding conversions by converting through the MULE_INTERNAL encoding","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["45639a052","fbe5a3fb7"],"commit_groups":[["45639a052"],["fbe5a3fb7"]],"commits":[],"cves":[],"db_id":"78a65fda3f2b9460cd3560a18d56051a","html":"\u003cp\u003eConsider performing joins of foreign tables remotely only when the tables will be accessed under the same role ID (Shigeru Hanada, Ashutosh Bapat, Etsuro Fujita)\u003c/p\u003e\n\u003cp\u003ePreviously, the foreign join pushdown infrastructure left the question of security entirely up to individual foreign data wrappers, but that made it too easy for an \u003cacronym\u003eFDW\u003c/acronym\u003e to inadvertently create subtle security holes. So, make it the core code's job to determine which role ID will access each table, and do not attempt join pushdown unless the role is the same for all relevant relations.\u003c/p\u003e","id":"9.6.0-71ea36432b3662c5","identity_text":"Consider performing joins of foreign tables remotely only when the tables will be accessed under the same role ID (Shigeru Hanada, Ashutosh Bapat, Etsuro Fujita) Previously, the foreign join pushdown infrastructure left the question of security entirely up to individual foreign data wrappers, but that made it too easy for an FDW to inadvertently create subtle security holes. So, make it the core code's job to determine which role ID will access each table, and do not attempt join pushdown unless the role is the same for all relevant relations.","part":"changes","patch_ids":["079083e00e1329165e46a57d681d6bbd","2cf53aaabedb900e0d3bb404d29f5954"],"related_changes":[],"relations":[],"section":"Queries","section_path":["Queries"],"source_commits":["45639a052","fbe5a3fb7"],"source_entry_id":"9.6.0/changes/077","source_hash":"cf878875c1ad9d9258e47e26461ff861b1aa633fe975a7d3936df4fc8de12eb1","source_url":"/docs/release/9.6.0/#AEN136681","statement_hash":"40d335d922fae9e308cec4ca037964364d73ceb3061c5386258292a59ba29389","text":"Consider performing joins of foreign tables remotely only when the tables will be accessed under the same role ID (Shigeru Hanada, Ashutosh Bapat, Etsuro Fujita) Previously, the foreign join pushdown infrastructure left the question of security entirely up to individual foreign data wrappers, but that made it too easy for an FDW to inadvertently create subtle security holes. So, make it the core code's job to determine which role ID will access each table, and do not attempt join pushdown unless the role is the same for all relevant relations.","title":"Consider performing joins of foreign tables remotely only when the tables will be accessed under the same role ID","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["92e38182d"],"commit_groups":[["92e38182d"]],"commits":[],"cves":[],"db_id":"2467cb6225d24dc1463f9c028e4a4b70","html":"\u003cp\u003eAllow COPY to copy the output of an INSERT/UPDATE/DELETE ... RETURNING query (Marko Tiikkaja)\u003c/p\u003e\n\u003cp\u003ePreviously, an intermediate \u003cacronym\u003eCTE\u003c/acronym\u003e had to be written to get this result.\u003c/p\u003e","id":"9.6.0-d5154ad3611b7f4f","identity_text":"Allow COPY to copy the output of an INSERT/UPDATE/DELETE ... RETURNING query (Marko Tiikkaja) Previously, an intermediate CTE had to be written to get this result.","part":"changes","patch_ids":["1b161fa8179097d8009f5986bc59daba"],"related_changes":[],"relations":[],"section":"Utility Commands","section_path":["Utility Commands"],"source_commits":["92e38182d"],"source_entry_id":"9.6.0/changes/078","source_hash":"4479a53cb5e8a62815dfda56c70cc1a30b31e90171b270256474e3ca6c0a6b1c","source_url":"/docs/release/9.6.0/#AEN136719","statement_hash":"2a04e6d8dd0d85dae1105ee82c395d944d2731d0e95c9b5f6f1cd9c4297281f5","text":"Allow COPY to copy the output of an INSERT/UPDATE/DELETE ... RETURNING query (Marko Tiikkaja) Previously, an intermediate CTE had to be written to get this result.","title":"Allow COPY to copy the output of an INSERT/UPDATE/DELETE ... RETURNING query","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["f2fcad27d"],"commit_groups":[["f2fcad27d"]],"commits":[],"cves":[],"db_id":"8a1ed64612f2b6cc732de2dd111dcbbc","html":"\u003cp\u003eIntroduce ALTER \u003ci\u003eobject\u003c/i\u003e DEPENDS ON EXTENSION (Abhijit Menon-Sen)\u003c/p\u003e\n\u003cp\u003eThis command allows a database object to be marked as depending on an extension, so that it will be dropped automatically if the extension is dropped (without needing CASCADE). However, the object is not part of the extension, and thus will be dumped separately by \u003cspan\u003epg_dump\u003c/span\u003e.\u003c/p\u003e","id":"9.6.0-6050655570280d1e","identity_text":"Introduce ALTER object DEPENDS ON EXTENSION (Abhijit Menon-Sen) This command allows a database object to be marked as depending on an extension, so that it will be dropped automatically if the extension is dropped (without needing CASCADE). However, the object is not part of the extension, and thus will be dumped separately by pg_dump.","part":"changes","patch_ids":["497d171ce12000455e940c862bda97b4"],"related_changes":[],"relations":[],"section":"Utility Commands","section_path":["Utility Commands"],"source_commits":["f2fcad27d"],"source_entry_id":"9.6.0/changes/079","source_hash":"60422c6726d2857482c86119617a2dce86af8b6581ac466452f1174548b9af10","source_url":"/docs/release/9.6.0/#AEN136719","statement_hash":"c0c32a4bf64ee28064c1d03b6552fd256702fe814075d9eb42bc3613a1efd6e4","text":"Introduce ALTER object DEPENDS ON EXTENSION (Abhijit Menon-Sen) This command allows a database object to be marked as depending on an extension, so that it will be dropped automatically if the extension is dropped (without needing CASCADE). However, the object is not part of the extension, and thus will be dumped separately by pg_dump.","title":"Introduce ALTER object DEPENDS ON EXTENSION","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["bc4996e61"],"commit_groups":[["bc4996e61"]],"commits":[],"cves":[],"db_id":"f269e38fb279400ecd637f57e580c1d8","html":"\u003cp\u003eMake ALTER \u003ci\u003eobject\u003c/i\u003e SET SCHEMA do nothing when the object is already in the requested schema, rather than throwing an error as it historically has for most object types (Marti Raudsepp)\u003c/p\u003e","id":"9.6.0-3df427aa949dda85","identity_text":"Make ALTER object SET SCHEMA do nothing when the object is already in the requested schema, rather than throwing an error as it historically has for most object types (Marti Raudsepp)","part":"changes","patch_ids":["9dcc868403453c63ab13f132cd92d52c"],"related_changes":[],"relations":[],"section":"Utility Commands","section_path":["Utility Commands"],"source_commits":["bc4996e61"],"source_entry_id":"9.6.0/changes/080","source_hash":"360d7954023a8e537edf2d4b1fa76a15e0ad69ca514d73c10c8a2b32f56f1b24","source_url":"/docs/release/9.6.0/#AEN136719","statement_hash":"005d6aa5b309a475ba4a6e6e80097eb925845033f94986c40b153abf32489eb3","text":"Make ALTER object SET SCHEMA do nothing when the object is already in the requested schema, rather than throwing an error as it historically has for most object types (Marti Raudsepp)","title":"Make ALTER object SET SCHEMA do nothing when the object is already in the requested schema, rather than throwing an error as it historically has for most object types","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["0dab5ef39","321eed5f0"],"commit_groups":[["0dab5ef39"],["321eed5f0"]],"commits":[],"cves":[],"db_id":"2a88d585127ac85bf518c01636d17599","html":"\u003cp\u003eAdd options to ALTER OPERATOR to allow changing the selectivity functions associated with an existing operator (Yury Zhuravlev)\u003c/p\u003e","id":"9.6.0-2165b48a4b83f024","identity_text":"Add options to ALTER OPERATOR to allow changing the selectivity functions associated with an existing operator (Yury Zhuravlev)","part":"changes","patch_ids":["3bb7091e8ecaadbcfa06ced2103cbcf0","f01be0c1cf40c506cd10e7332d5f0f67"],"related_changes":[],"relations":[],"section":"Utility Commands","section_path":["Utility Commands"],"source_commits":["0dab5ef39","321eed5f0"],"source_entry_id":"9.6.0/changes/081","source_hash":"3fc3fa36d927b33c10440d93e5be11e4e34ae1763c83428438e3faf5e8cf73d4","source_url":"/docs/release/9.6.0/#AEN136719","statement_hash":"ad9493c9a6536e5911ddfd3fd65321bf81a290d2cede5b94f0c3f9575b83bc8f","text":"Add options to ALTER OPERATOR to allow changing the selectivity functions associated with an existing operator (Yury Zhuravlev)","title":"Add options to ALTER OPERATOR to allow changing the selectivity functions associated with an existing operator","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["2cd40adb8"],"commit_groups":[["2cd40adb8"]],"commits":[],"cves":[],"db_id":"4edec80867ea1923fe30aefeeb515b30","html":"\u003cp\u003eAdd an IF NOT EXISTS option to ALTER TABLE ADD COLUMN (Fabrízio de Royes Mello)\u003c/p\u003e","id":"9.6.0-b0d304a3c651b4a6","identity_text":"Add an IF NOT EXISTS option to ALTER TABLE ADD COLUMN (Fabrízio de Royes Mello)","part":"changes","patch_ids":["81b743b942679a8874fec4ea8c40b4da"],"related_changes":[],"relations":[],"section":"Utility Commands","section_path":["Utility Commands"],"source_commits":["2cd40adb8"],"source_entry_id":"9.6.0/changes/082","source_hash":"567e32620905d00e36d4999a98e070202c979956c2ce4dc6eb99bd01f3503698","source_url":"/docs/release/9.6.0/#AEN136719","statement_hash":"ecba9e7e32678c3ff029cfcd509c128d2f8d7c78c52c56b84bb79bde6b6133f6","text":"Add an IF NOT EXISTS option to ALTER TABLE ADD COLUMN (Fabrízio de Royes Mello)","title":"Add an IF NOT EXISTS option to ALTER TABLE ADD COLUMN","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["47167b790","fcb4bfddb"],"commit_groups":[["47167b790"],["fcb4bfddb"]],"commits":[],"cves":[],"db_id":"f143c44391689e2df86af7c45bb1c669","html":"\u003cp\u003eReduce the lock strength needed by ALTER TABLE when setting fillfactor and autovacuum-related relation options (Fabrízio de Royes Mello, Simon Riggs)\u003c/p\u003e","id":"9.6.0-a7edbee2be0da556","identity_text":"Reduce the lock strength needed by ALTER TABLE when setting fillfactor and autovacuum-related relation options (Fabrízio de Royes Mello, Simon Riggs)","part":"changes","patch_ids":["af28725b605733e5cc7f975d10afb213","ee743db2afcc3012b2e8b86443b61d43"],"related_changes":[],"relations":[],"section":"Utility Commands","section_path":["Utility Commands"],"source_commits":["47167b790","fcb4bfddb"],"source_entry_id":"9.6.0/changes/083","source_hash":"03cb1b6b7ccf1790d2842005637fa7df68816009c304754c5b8636a94d339baf","source_url":"/docs/release/9.6.0/#AEN136719","statement_hash":"b571deb72b264d6f50e2444ec008aaba8027e636cf7afc38c6bdd58f31582b1d","text":"Reduce the lock strength needed by ALTER TABLE when setting fillfactor and autovacuum-related relation options (Fabrízio de Royes Mello, Simon Riggs)","title":"Reduce the lock strength needed by ALTER TABLE when setting fillfactor and autovacuum-related relation options","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["473b93287"],"commit_groups":[["473b93287"]],"commits":[],"cves":[],"db_id":"94f1e93bee5cfa5225aa181ca3509b73","html":"\u003cp\u003eIntroduce \u003ca href=\"/docs/9.6/sql-create-access-method.html\"\u003eCREATE ACCESS METHOD\u003c/a\u003e to allow extensions to create index access methods (Alexander Korotkov, Petr Jelínek)\u003c/p\u003e","id":"9.6.0-5e457f3ba1f46b4f","identity_text":"Introduce CREATE ACCESS METHOD to allow extensions to create index access methods (Alexander Korotkov, Petr Jelínek)","part":"changes","patch_ids":["5ba934e7d9c6fc07ef6c3ba71c7bd38b"],"related_changes":[],"relations":[],"section":"Utility Commands","section_path":["Utility Commands"],"source_commits":["473b93287"],"source_entry_id":"9.6.0/changes/084","source_hash":"d9ad3e57061ae6c908b37ed08649d551d68560b895e55d047b746020cc62b7fe","source_url":"/docs/release/9.6.0/#AEN136719","statement_hash":"85b0d105f9f5303220974aa2e7e608e92aeabfffe14d7561546386e2c0610ef0","text":"Introduce CREATE ACCESS METHOD to allow extensions to create index access methods (Alexander Korotkov, Petr Jelínek)","title":"Introduce CREATE ACCESS METHOD to allow extensions to create index access methods","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["b67aaf21e"],"commit_groups":[["b67aaf21e"]],"commits":[],"cves":[],"db_id":"bd9ddc104c72c9de7d6e2b9eae38a940","html":"\u003cp\u003eAdd a CASCADE option to CREATE EXTENSION to automatically create any extensions the requested one depends on (Petr Jelínek)\u003c/p\u003e","id":"9.6.0-046e65c30823ced6","identity_text":"Add a CASCADE option to CREATE EXTENSION to automatically create any extensions the requested one depends on (Petr Jelínek)","part":"changes","patch_ids":["6a9914cb4872d9ef2700d5947b4c7b70"],"related_changes":[],"relations":[],"section":"Utility Commands","section_path":["Utility Commands"],"source_commits":["b67aaf21e"],"source_entry_id":"9.6.0/changes/085","source_hash":"1d906e7a671af3b362df5556f6a7cf56a76cab4c874aa18e22f0a783522b4dbe","source_url":"/docs/release/9.6.0/#AEN136719","statement_hash":"09faa16fc30aa454ac84ca55fdd2f821e61fa3f64965e009cebdacb0c97dfeff","text":"Add a CASCADE option to CREATE EXTENSION to automatically create any extensions the requested one depends on (Petr Jelínek)","title":"Add a CASCADE option to CREATE EXTENSION to automatically create any extensions the requested one depends on","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["b943f502b"],"commit_groups":[["b943f502b"]],"commits":[],"cves":[],"db_id":"2ec17ca3c61d492f26fa3658cae85a88","html":"\u003cp\u003eMake CREATE TABLE ... LIKE include an OID column if any source table has one (Bruce Momjian)\u003c/p\u003e","id":"9.6.0-88546ee527074609","identity_text":"Make CREATE TABLE ... LIKE include an OID column if any source table has one (Bruce Momjian)","part":"changes","patch_ids":["c5f57b70bbe2867373e7475fe82bd6b8"],"related_changes":[],"relations":[],"section":"Utility Commands","section_path":["Utility Commands"],"source_commits":["b943f502b"],"source_entry_id":"9.6.0/changes/086","source_hash":"c56b247b17aea9e7d52915ae349898de9f3f8e1cdd7d43d9ea4abb9551e29482","source_url":"/docs/release/9.6.0/#AEN136719","statement_hash":"9a0d6228c6d5e0bedd3e6cde93849967ecf7aaaec69ce94aa39734f068de910f","text":"Make CREATE TABLE ... LIKE include an OID column if any source table has one (Bruce Momjian)","title":"Make CREATE TABLE ... LIKE include an OID column if any source table has one","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["f27a6b15e"],"commit_groups":[["f27a6b15e"]],"commits":[],"cves":[],"db_id":"07abb13c76b6726d017351127274bc45","html":"\u003cp\u003eIf a CHECK constraint is declared NOT VALID in a table creation command, automatically mark it as valid (Amit Langote, Amul Sul)\u003c/p\u003e\n\u003cp\u003eThis is safe because the table has no existing rows. This matches the longstanding behavior of FOREIGN KEY constraints.\u003c/p\u003e","id":"9.6.0-37d5db722cb821cf","identity_text":"If a CHECK constraint is declared NOT VALID in a table creation command, automatically mark it as valid (Amit Langote, Amul Sul) This is safe because the table has no existing rows. This matches the longstanding behavior of FOREIGN KEY constraints.","part":"changes","patch_ids":["6444ea0e0c5eb115e78f63b754a4cc37"],"related_changes":[],"relations":[],"section":"Utility Commands","section_path":["Utility Commands"],"source_commits":["f27a6b15e"],"source_entry_id":"9.6.0/changes/087","source_hash":"3329373217749ab87420c942d4222ce9639805aa03849ce8d7f1bcfa3b2803d7","source_url":"/docs/release/9.6.0/#AEN136719","statement_hash":"c54a6546b85aaab62bf55ec5a11b4d0d474e1178f872ed7de9de2106480ca51d","text":"If a CHECK constraint is declared NOT VALID in a table creation command, automatically mark it as valid (Amit Langote, Amul Sul) This is safe because the table has no existing rows. This matches the longstanding behavior of FOREIGN KEY constraints.","title":"If a CHECK constraint is declared NOT VALID in a table creation command, automatically mark it as valid","variants":[],"version":"9.6.0"},{"also_in":[],"category":"bugfix","category_label":"Bug fixes","commit_aliases":["c94959d41"],"commit_groups":[["c94959d41"]],"commits":[],"cves":[],"db_id":"005c6ea8eae2eec4da6968038a0edade","html":"\u003cp\u003eFix DROP OPERATOR to clear pg_operator.oprcom and pg_operator.oprnegate links to the dropped operator (Roma Sokolov)\u003c/p\u003e\n\u003cp\u003eFormerly such links were left as-is, which could pose a problem in the somewhat unlikely event that the dropped operator's OID was reused for another operator.\u003c/p\u003e","id":"9.6.0-24174f165557ab78","identity_text":"Fix DROP OPERATOR to clear pg_operator.oprcom and pg_operator.oprnegate links to the dropped operator (Roma Sokolov) Formerly such links were left as-is, which could pose a problem in the somewhat unlikely event that the dropped operator's OID was reused for another operator.","part":"changes","patch_ids":["a8d14c20d8795de5010524bdef2c93e5"],"related_changes":[],"relations":[],"section":"Utility Commands","section_path":["Utility Commands"],"source_commits":["c94959d41"],"source_entry_id":"9.6.0/changes/088","source_hash":"037c29b9b6bad2c41e4cc92426f98be1f3ab74d0ef6c99fb1afcf951afc5a4fa","source_url":"/docs/release/9.6.0/#AEN136719","statement_hash":"94c08fd36a98e98711267f4961adf2fc78e326eb1775fb4d8141acc3a3aed6e6","text":"Fix DROP OPERATOR to clear pg_operator.oprcom and pg_operator.oprnegate links to the dropped operator (Roma Sokolov) Formerly such links were left as-is, which could pose a problem in the somewhat unlikely event that the dropped operator's OID was reused for another operator.","title":"Fix DROP OPERATOR to clear pg_operator.oprcom and pg_operator.oprnegate links to the dropped operator","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["4d042999f"],"commit_groups":[["4d042999f"]],"commits":[],"cves":[],"db_id":"10d9b65e130e3e9f10669a5cfe087417","html":"\u003cp\u003eDo not show the same subplan twice in EXPLAIN output (Tom Lane)\u003c/p\u003e\n\u003cp\u003eIn certain cases, typically involving SubPlan nodes in index conditions, EXPLAIN would print data for the same subplan twice.\u003c/p\u003e","id":"9.6.0-cf8a1b43220b5327","identity_text":"Do not show the same subplan twice in EXPLAIN output (Tom Lane) In certain cases, typically involving SubPlan nodes in index conditions, EXPLAIN would print data for the same subplan twice.","part":"changes","patch_ids":["500eaa6181c489fccc9f580f9683118f"],"related_changes":[],"relations":[],"section":"Utility Commands","section_path":["Utility Commands"],"source_commits":["4d042999f"],"source_entry_id":"9.6.0/changes/089","source_hash":"34904b902d34abd16124b454ac528391206a0f183eafff974dc131a45d5e95f7","source_url":"/docs/release/9.6.0/#AEN136719","statement_hash":"f90cf7a82d0b37cad99525c0c08b2a247197e534e9939cccb8ea49158d276903","text":"Do not show the same subplan twice in EXPLAIN output (Tom Lane) In certain cases, typically involving SubPlan nodes in index conditions, EXPLAIN would print data for the same subplan twice.","title":"Do not show the same subplan twice in EXPLAIN output","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["c34df8a00"],"commit_groups":[["c34df8a00"]],"commits":[],"cves":[],"db_id":"9db9e365b10394c400f1a3c224df566b","html":"\u003cp\u003eDisallow creation of indexes on system columns, except for OID columns (David Rowley)\u003c/p\u003e\n\u003cp\u003eSuch indexes were never considered supported, and would very possibly misbehave since the system might change the system-column fields of a tuple without updating indexes. However, previously there were no error checks to prevent them from being created.\u003c/p\u003e","id":"9.6.0-a6fbbda311382569","identity_text":"Disallow creation of indexes on system columns, except for OID columns (David Rowley) Such indexes were never considered supported, and would very possibly misbehave since the system might change the system-column fields of a tuple without updating indexes. However, previously there were no error checks to prevent them from being created.","part":"changes","patch_ids":["c13917cba4577088098173855ae6ae75"],"related_changes":[],"relations":[],"section":"Utility Commands","section_path":["Utility Commands"],"source_commits":["c34df8a00"],"source_entry_id":"9.6.0/changes/090","source_hash":"3d099b2c95203db8503099276c3ba969eecded4b6cdbb6e7ec0d227c06641e05","source_url":"/docs/release/9.6.0/#AEN136719","statement_hash":"897b9e9f04082a81c54de9c7da9dad3c0fa528531d24b611e05dae4c54b57f21","text":"Disallow creation of indexes on system columns, except for OID columns (David Rowley) Such indexes were never considered supported, and would very possibly misbehave since the system might change the system-column fields of a tuple without updating indexes. However, previously there were no error checks to prevent them from being created.","title":"Disallow creation of indexes on system columns, except for OID columns","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["1574783b4"],"commit_groups":[["1574783b4"]],"commits":[],"cves":[],"db_id":"b9ad438c4145f62439f3632fce7f1d1e","html":"\u003cp\u003eUse the privilege system to manage access to sensitive functions (Stephen Frost)\u003c/p\u003e\n\u003cp\u003eFormerly, many security-sensitive functions contained hard-wired checks that would throw an error if they were called by a non-superuser. This forced the use of superuser roles for some relatively pedestrian tasks. The hard-wired error checks are now gone in favor of making \u003cspan\u003einitdb\u003c/span\u003e revoke the default public EXECUTE privilege on these functions. This allows installations to choose to grant usage of such functions to trusted roles that do not need all superuser privileges.\u003c/p\u003e","id":"9.6.0-f748bab3e1e8ec59","identity_text":"Use the privilege system to manage access to sensitive functions (Stephen Frost) Formerly, many security-sensitive functions contained hard-wired checks that would throw an error if they were called by a non-superuser. This forced the use of superuser roles for some relatively pedestrian tasks. The hard-wired error checks are now gone in favor of making initdb revoke the default public EXECUTE privilege on these functions. This allows installations to choose to grant usage of such functions to trusted roles that do not need all superuser privileges.","part":"changes","patch_ids":["2769d03cdec3b20644e9f59bd38a05ff"],"related_changes":[],"relations":[],"section":"Permissions Management","section_path":["Permissions Management"],"source_commits":["1574783b4"],"source_entry_id":"9.6.0/changes/091","source_hash":"b440b337fbb180edf4096a9d8fa428099047e172582a0195533b8763a6e78bd7","source_url":"/docs/release/9.6.0/#AEN136788","statement_hash":"ae519bc37d49e596341b1f56f5fdb4cc4ba120c52864ead2f01fca1926c67025","text":"Use the privilege system to manage access to sensitive functions (Stephen Frost) Formerly, many security-sensitive functions contained hard-wired checks that would throw an error if they were called by a non-superuser. This forced the use of superuser roles for some relatively pedestrian tasks. The hard-wired error checks are now gone in favor of making initdb revoke the default public EXECUTE privilege on these functions. This allows installations to choose to grant usage of such functions to trusted roles that do not need all superuser privileges.","title":"Use the privilege system to manage access to sensitive functions","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["7a542700d"],"commit_groups":[["7a542700d"]],"commits":[],"cves":[],"db_id":"d89dc78e6e7edd80aef53eebb08bc949","html":"\u003cp\u003eCreate some \u003ca href=\"/docs/9.6/default-roles.html\"\u003ebuilt-in roles\u003c/a\u003e that can be used to grant access to what were previously superuser-only functions (Stephen Frost)\u003c/p\u003e\n\u003cp\u003eCurrently the only such role is pg_signal_backend, but more are expected to be added in future.\u003c/p\u003e","id":"9.6.0-179e9c0d2164e142","identity_text":"Create some built-in roles that can be used to grant access to what were previously superuser-only functions (Stephen Frost) Currently the only such role is pg_signal_backend, but more are expected to be added in future.","part":"changes","patch_ids":["2a982e4398522cefe9a137bd959914cd"],"related_changes":[],"relations":[],"section":"Permissions Management","section_path":["Permissions Management"],"source_commits":["7a542700d"],"source_entry_id":"9.6.0/changes/092","source_hash":"2d44be18814e79b3b62ab44170768b78dcabaf545ccd7814f720ef4f0d85a861","source_url":"/docs/release/9.6.0/#AEN136788","statement_hash":"36f772ee3b2f3773e605de8044ce29e943d4badc9e31e2986707152e0822ddb2","text":"Create some built-in roles that can be used to grant access to what were previously superuser-only functions (Stephen Frost) Currently the only such role is pg_signal_backend, but more are expected to be added in future.","title":"Create some built-in roles that can be used to grant access to what were previously superuser-only functions","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["028350f61","3dbbd0f02","6734a1cac","bb140506d"],"commit_groups":[["028350f61"],["3dbbd0f02"],["6734a1cac"],["bb140506d"]],"commits":[],"cves":[],"db_id":"5dab53e6088d28902f6a7c946e779cec","html":"\u003cp\u003eImprove \u003ca href=\"/docs/9.6/textsearch.html\"\u003efull-text search\u003c/a\u003e to support searching for phrases, that is, lexemes appearing adjacent to each other in a specific order, or with a specified distance between them (Teodor Sigaev, Oleg Bartunov, Dmitry Ivanov)\u003c/p\u003e\n\u003cp\u003eA phrase-search query can be specified in tsquery input using the new operators \u0026lt;-\u0026gt; and \u0026lt;\u003ci\u003eN\u003c/i\u003e\u0026gt;. The former means that the lexemes before and after it must appear adjacent to each other in that order. The latter means they must be exactly \u003ci\u003eN\u003c/i\u003e lexemes apart.\u003c/p\u003e","id":"9.6.0-108b51794f3273b5","identity_text":"Improve full-text search to support searching for phrases, that is, lexemes appearing adjacent to each other in a specific order, or with a specified distance between them (Teodor Sigaev, Oleg Bartunov, Dmitry Ivanov) A phrase-search query can be specified in tsquery input using the new operators \u003c-\u003e and \u003cN\u003e. The former means that the lexemes before and after it must appear adjacent to each other in that order. The latter means they must be exactly N lexemes apart.","part":"changes","patch_ids":["4e9d902372398ff4ad7fab5833b07d54","9eebd1840877aa7c523cf56bd746c630","aa19fb572cd2d23589ee0db6089c0ca2","c93059b2e6fdc28fcddb0b86d52063a2"],"related_changes":[],"relations":[],"section":"Data Types","section_path":["Data Types"],"source_commits":["028350f61","3dbbd0f02","6734a1cac","bb140506d"],"source_entry_id":"9.6.0/changes/093","source_hash":"5c98635e44681297592e97ef797270cababcd15d82a1af2107754320bb9e5eda","source_url":"/docs/release/9.6.0/#AEN136801","statement_hash":"cb069b72557a73a272ca65f3143e27d41fbf06d45e5edae5fc44d7d60f7950f7","text":"Improve full-text search to support searching for phrases, that is, lexemes appearing adjacent to each other in a specific order, or with a specified distance between them (Teodor Sigaev, Oleg Bartunov, Dmitry Ivanov) A phrase-search query can be specified in tsquery input using the new operators \u003c-\u003e and \u003cN\u003e. The former means that the lexemes before and after it must appear adjacent to each other in that order. The latter means they must be exactly N lexemes apart.","title":"Improve full-text search to support searching for phrases, that is, lexemes appearing adjacent to each other in a specific order, or with a specified distance between them","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["6efbded6e"],"commit_groups":[["6efbded6e"]],"commits":[],"cves":[],"db_id":"0b8e27a722acd363b79728c418456dfe","html":"\u003cp\u003eAllow omitting one or both boundaries in an array slice specifier, e.g., array_col[3:] (Yury Zhuravlev)\u003c/p\u003e\n\u003cp\u003eOmitted boundaries are taken as the upper or lower limit of the corresponding array subscript. This allows simpler specification for many common use-cases.\u003c/p\u003e","id":"9.6.0-4b62dd1f041c07af","identity_text":"Allow omitting one or both boundaries in an array slice specifier, e.g., array_col[3:] (Yury Zhuravlev) Omitted boundaries are taken as the upper or lower limit of the corresponding array subscript. This allows simpler specification for many common use-cases.","part":"changes","patch_ids":["215e30fce1c9e6f63a0b52b1023027a8"],"related_changes":[],"relations":[],"section":"Data Types","section_path":["Data Types"],"source_commits":["6efbded6e"],"source_entry_id":"9.6.0/changes/094","source_hash":"0a71787a54227532766c3e83a9558204cefc8da9b92ad9f216940ac8161c9d47","source_url":"/docs/release/9.6.0/#AEN136801","statement_hash":"1bd3c5bbfa837c877a6ccad54d65edf2a8d7d9a24aeaeeb3717c2c77520cfe22","text":"Allow omitting one or both boundaries in an array slice specifier, e.g., array_col[3:] (Yury Zhuravlev) Omitted boundaries are taken as the upper or lower limit of the corresponding array subscript. This allows simpler specification for many common use-cases.","title":"Allow omitting one or both boundaries in an array slice specifier, e.g., array_col[3:]","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["a70e13a39"],"commit_groups":[["a70e13a39"]],"commits":[],"cves":[],"db_id":"3d6fd19f90871a2b41faebc5bc817361","html":"\u003cp\u003eBe more careful about out-of-range dates and timestamps (Vitaly Burovoy)\u003c/p\u003e\n\u003cp\u003eThis change prevents unexpected out-of-range errors for timestamp with time zone values very close to the implementation limits. Previously, the \u003cspan\u003e\"same\"\u003c/span\u003e value might be accepted or not depending on the timezone setting, meaning that a dump and reload could fail on a value that had been accepted when presented. Now the limits are enforced according to the equivalent \u003cacronym\u003eUTC\u003c/acronym\u003e time, not local time, so as to be independent of timezone.\u003c/p\u003e\n\u003cp\u003eAlso, \u003cspan\u003ePostgreSQL\u003c/span\u003e is now more careful to detect overflow in operations that compute new date or timestamp values, such as date + integer.\u003c/p\u003e","id":"9.6.0-a6472c3dd4d1d7e0","identity_text":"Be more careful about out-of-range dates and timestamps (Vitaly Burovoy) This change prevents unexpected out-of-range errors for timestamp with time zone values very close to the implementation limits. Previously, the same value might be accepted or not depending on the timezone setting, meaning that a dump and reload could fail on a value that had been accepted when presented. Now the limits are enforced according to the equivalent UTC time, not local time, so as to be independent of timezone. Also, PostgreSQL is now more careful to detect overflow in operations that compute new date or timestamp values, such as date + integer.","part":"changes","patch_ids":["59fce886b1b727380ff69cc39e2483da"],"related_changes":[],"relations":[],"section":"Data Types","section_path":["Data Types"],"source_commits":["a70e13a39"],"source_entry_id":"9.6.0/changes/095","source_hash":"c3d0ae60042cf7dfec487bb92ecaef3715f81a8e860ef48498e1076a37fa652e","source_url":"/docs/release/9.6.0/#AEN136801","statement_hash":"93df7d7d031f0bfbaeda72f03706101a39dc5fee3b2dbd464f839d3b895d489c","text":"Be more careful about out-of-range dates and timestamps (Vitaly Burovoy) This change prevents unexpected out-of-range errors for timestamp with time zone values very close to the implementation limits. Previously, the \"same\" value might be accepted or not depending on the timezone setting, meaning that a dump and reload could fail on a value that had been accepted when presented. Now the limits are enforced according to the equivalent UTC time, not local time, so as to be independent of timezone. Also, PostgreSQL is now more careful to detect overflow in operations that compute new date or timestamp values, such as date + integer.","title":"Be more careful about out-of-range dates and timestamps","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["50861cd68"],"commit_groups":[["50861cd68"]],"commits":[],"cves":[],"db_id":"9137e26a3eab7dab0ddc33c4e66f694b","html":"\u003cp\u003eFor geometric data types, make sure infinity and NaN component values are treated consistently during input and output (Tom Lane)\u003c/p\u003e\n\u003cp\u003eSuch values will now always print the same as they would in a simple float8 column, and be accepted the same way on input. Previously the behavior was platform-dependent.\u003c/p\u003e","id":"9.6.0-57af0e50bab1b1bf","identity_text":"For geometric data types, make sure infinity and NaN component values are treated consistently during input and output (Tom Lane) Such values will now always print the same as they would in a simple float8 column, and be accepted the same way on input. Previously the behavior was platform-dependent.","part":"changes","patch_ids":["6eee05444e8c70bbab815e3a93a91d0f"],"related_changes":[],"relations":[],"section":"Data Types","section_path":["Data Types"],"source_commits":["50861cd68"],"source_entry_id":"9.6.0/changes/096","source_hash":"f7a5aa274e3664f74d299eaa068603a79d18b2adc630d2ea992a9eeab26472f2","source_url":"/docs/release/9.6.0/#AEN136801","statement_hash":"cc422c8f7669664b0601b1257d0f5b7ba317289ea83008cec49938d18a7a3c1a","text":"For geometric data types, make sure infinity and NaN component values are treated consistently during input and output (Tom Lane) Such values will now always print the same as they would in a simple float8 column, and be accepted the same way on input. Previously the behavior was platform-dependent.","title":"For geometric data types, make sure infinity and NaN component values are treated consistently during input and output","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["8829af47e","d78a7d9c7","f4ceed6ce"],"commit_groups":[["8829af47e"],["d78a7d9c7"],["f4ceed6ce"]],"commits":[],"cves":[],"db_id":"4a4644fba0d2d48134f2d204800b6473","html":"\u003cp\u003eUpgrade the \u003ca href=\"/docs/9.6/textsearch-dictionaries.html#TEXTSEARCH-ISPELL-DICTIONARY\"\u003eispell\u003c/a\u003e dictionary type to handle modern \u003cspan\u003eHunspell\u003c/span\u003e files and support more languages (Artur Zakirov)\u003c/p\u003e","id":"9.6.0-09438ee208ab6f33","identity_text":"Upgrade the ispell dictionary type to handle modern Hunspell files and support more languages (Artur Zakirov)","part":"changes","patch_ids":["3a159b551b25a06434826a110ebc1fa9","8ceb9a10faf39c0bc7bf99a39ba8eacd","ce0ee63d93f8dec0944c0256a97bb3a9"],"related_changes":[],"relations":[],"section":"Data Types","section_path":["Data Types"],"source_commits":["8829af47e","d78a7d9c7","f4ceed6ce"],"source_entry_id":"9.6.0/changes/097","source_hash":"d71e5cedc8f1628e57191755cc79dd6cf61cf5a56ac83926563a392f559ac376","source_url":"/docs/release/9.6.0/#AEN136801","statement_hash":"a37ec08099e18c82b07df993defc06832c16393584b75e511d3bb4f87240fbae","text":"Upgrade the ispell dictionary type to handle modern Hunspell files and support more languages (Artur Zakirov)","title":"Upgrade the ispell dictionary type to handle modern Hunspell files and support more languages","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["12c9a0400"],"commit_groups":[["12c9a0400"]],"commits":[],"cves":[],"db_id":"ef9b43dc6bdd201f9c8bdd86d38968ec","html":"\u003cp\u003eImplement look-behind constraints in \u003ca href=\"/docs/9.6/functions-matching.html#FUNCTIONS-POSIX-REGEXP\"\u003eregular expressions\u003c/a\u003e (Tom Lane)\u003c/p\u003e\n\u003cp\u003eA look-behind constraint is like a lookahead constraint in that it consumes no text; but it checks for existence (or nonexistence) of a match ending at the current point in the string, rather than one starting at the current point. Similar features exist in many other regular-expression engines.\u003c/p\u003e","id":"9.6.0-3685e9b83c4b487e","identity_text":"Implement look-behind constraints in regular expressions (Tom Lane) A look-behind constraint is like a lookahead constraint in that it consumes no text; but it checks for existence (or nonexistence) of a match ending at the current point in the string, rather than one starting at the current point. Similar features exist in many other regular-expression engines.","part":"changes","patch_ids":["bf546dc73223139746a7615e5b2f7e62"],"related_changes":[],"relations":[],"section":"Data Types","section_path":["Data Types"],"source_commits":["12c9a0400"],"source_entry_id":"9.6.0/changes/098","source_hash":"ee64a5cff725e486b6bf843d6421361c4caf10eda31692eb541a446e1804f814","source_url":"/docs/release/9.6.0/#AEN136801","statement_hash":"79e6156b6d181d19856d58ebb264d6b486bdb8ecc5604285d4bbc4698e239f3a","text":"Implement look-behind constraints in regular expressions (Tom Lane) A look-behind constraint is like a lookahead constraint in that it consumes no text; but it checks for existence (or nonexistence) of a match ending at the current point in the string, rather than one starting at the current point. Similar features exist in many other regular-expression engines.","title":"Implement look-behind constraints in regular expressions","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["b44d92b67"],"commit_groups":[["b44d92b67"]],"commits":[],"cves":[],"db_id":"6334e86b5166dedd50b3a2facfd2769c","html":"\u003cp\u003eIn regular expressions, if an apparent three-digit octal escape \\\u003ci\u003ennn\u003c/i\u003e would exceed 377 (255 decimal), assume it is a two-digit octal escape instead (Tom Lane)\u003c/p\u003e\n\u003cp\u003eThis makes the behavior match current \u003cspan\u003eTcl\u003c/span\u003e releases.\u003c/p\u003e","id":"9.6.0-1e5ddd8be0c1a76a","identity_text":"In regular expressions, if an apparent three-digit octal escape \\nnn would exceed 377 (255 decimal), assume it is a two-digit octal escape instead (Tom Lane) This makes the behavior match current Tcl releases.","part":"changes","patch_ids":["ec573f116fca067ad53f3828aa0232c1"],"related_changes":[],"relations":[],"section":"Data Types","section_path":["Data Types"],"source_commits":["b44d92b67"],"source_entry_id":"9.6.0/changes/099","source_hash":"d6a6e52d887581cca3d427b858acabbe2afaf9ebbaaa1f094479d5ab4f7159b0","source_url":"/docs/release/9.6.0/#AEN136801","statement_hash":"d0f04a4771e6e4b445ea68a7b3928e5ddf5bd121b1a463113457490e054c0a65","text":"In regular expressions, if an apparent three-digit octal escape \\nnn would exceed 377 (255 decimal), assume it is a two-digit octal escape instead (Tom Lane) This makes the behavior match current Tcl releases.","title":"In regular expressions, if an apparent three-digit octal escape \\nnn would exceed 377 (255 decimal), assume it is a two-digit octal escape instead","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["c5e86ea93"],"commit_groups":[["c5e86ea93"]],"commits":[],"cves":[],"db_id":"2e489bd7297766859bfe5f477662dda0","html":"\u003cp\u003eAdd transaction ID operators xid \u0026lt;\u0026gt; xid and xid \u0026lt;\u0026gt; int4, for consistency with the corresponding equality operators (Michael Paquier)\u003c/p\u003e","id":"9.6.0-5aeaab864dfffb54","identity_text":"Add transaction ID operators xid \u003c\u003e xid and xid \u003c\u003e int4, for consistency with the corresponding equality operators (Michael Paquier)","part":"changes","patch_ids":["8b84697d539c77d24fbc70343840fb8d"],"related_changes":[],"relations":[],"section":"Data Types","section_path":["Data Types"],"source_commits":["c5e86ea93"],"source_entry_id":"9.6.0/changes/100","source_hash":"8ed64876e0895b79954c458315841c5f4737c2ad4c467ccad37792f83dfd5b89","source_url":"/docs/release/9.6.0/#AEN136801","statement_hash":"c377ac6e7b9c2d66946b5e91377bf42a75a565c2acc85c239df298e7653f79b6","text":"Add transaction ID operators xid \u003c\u003e xid and xid \u003c\u003e int4, for consistency with the corresponding equality operators (Michael Paquier)","title":"Add transaction ID operators xid \u003c\u003e xid and xid \u003c\u003e int4, for consistency with the corresponding equality operators","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["0b62fd036"],"commit_groups":[["0b62fd036"]],"commits":[],"cves":[],"db_id":"8a4dcd6d9ab0952b08a8048801ccecb7","html":"\u003cp\u003eAdd \u003ca href=\"/docs/9.6/functions-json.html#FUNCTIONS-JSON-PROCESSING-TABLE\"\u003e\u003ccode\u003ejsonb_insert()\u003c/code\u003e\u003c/a\u003e function to insert a new element into a jsonb array, or a not-previously-existing key into a jsonb object (Dmitry Dolgov)\u003c/p\u003e","id":"9.6.0-2772a5a3e40f2adc","identity_text":"Add jsonb_insert() function to insert a new element into a jsonb array, or a not-previously-existing key into a jsonb object (Dmitry Dolgov)","part":"changes","patch_ids":["da885f0576618aad6569035871d7996e"],"related_changes":[],"relations":[],"section":"Functions","section_path":["Functions"],"source_commits":["0b62fd036"],"source_entry_id":"9.6.0/changes/101","source_hash":"500a514ce954925d5bc27bb24cc4e776640036cfd573cba4cc9e360ea2c9f6d2","source_url":"/docs/release/9.6.0/#AEN136859","statement_hash":"ceaf49a40ee8db7f4e5c5299f752a08cc3f11f4a74e7f1c8a5f70e09a1fb147a","text":"Add jsonb_insert() function to insert a new element into a jsonb array, or a not-previously-existing key into a jsonb object (Dmitry Dolgov)","title":"Add jsonb_insert() function to insert a new element into a jsonb array, or a not-previously-existing key into a jsonb object","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["18a02ad2a","7d9a4737c"],"commit_groups":[["18a02ad2a"],["7d9a4737c"]],"commits":[],"cves":[],"db_id":"1e5dac4ea6bdae5ec9d412f67bc16b00","html":"\u003cp\u003eImprove the accuracy of the \u003ccode\u003eln()\u003c/code\u003e, \u003ccode\u003elog()\u003c/code\u003e, \u003ccode\u003eexp()\u003c/code\u003e, and \u003ccode\u003epow()\u003c/code\u003e functions for type numeric (Dean Rasheed)\u003c/p\u003e","id":"9.6.0-ec789aea304f050b","identity_text":"Improve the accuracy of the ln(), log(), exp(), and pow() functions for type numeric (Dean Rasheed)","part":"changes","patch_ids":["a5d6b9999591cd4d50499e424f7b058a","f1e604bd13318598dd854920dcc55bd5"],"related_changes":[],"relations":[],"section":"Functions","section_path":["Functions"],"source_commits":["18a02ad2a","7d9a4737c"],"source_entry_id":"9.6.0/changes/102","source_hash":"5ac8325eccc3044345a1ed6c22ccf04e403497244d6b8f3e0b467b545f28973b","source_url":"/docs/release/9.6.0/#AEN136859","statement_hash":"0e22406c99401f30104948400c3fdaa29eeed383a61823d4d619811a7e46d6eb","text":"Improve the accuracy of the ln(), log(), exp(), and pow() functions for type numeric (Dean Rasheed)","title":"Improve the accuracy of the ln(), log(), exp(), and pow() functions for type numeric","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["abb173392"],"commit_groups":[["abb173392"]],"commits":[],"cves":[],"db_id":"573df66e47331737213d286c60614475","html":"\u003cp\u003eAdd a \u003ca href=\"/docs/9.6/functions-math.html#FUNCTIONS-MATH-FUNC-TABLE\"\u003e\u003ccode\u003escale(numeric)\u003c/code\u003e\u003c/a\u003e function to extract the display scale of a numeric value (Marko Tiikkaja)\u003c/p\u003e","id":"9.6.0-9e847d2e86e6a77b","identity_text":"Add a scale(numeric) function to extract the display scale of a numeric value (Marko Tiikkaja)","part":"changes","patch_ids":["cea785939a8919a2b5da7d903707baf6"],"related_changes":[],"relations":[],"section":"Functions","section_path":["Functions"],"source_commits":["abb173392"],"source_entry_id":"9.6.0/changes/103","source_hash":"5b85eaa3773c20ed5e97061bdaa1a0381a54960ac97c14d19fbff75383be5e35","source_url":"/docs/release/9.6.0/#AEN136859","statement_hash":"cd16696354d1b4797ecb9e5d17bbfea5dc86becf39c1fabb64666fa3fc9e4fa7","text":"Add a scale(numeric) function to extract the display scale of a numeric value (Marko Tiikkaja)","title":"Add a scale(numeric) function to extract the display scale of a numeric value","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["e1bd684a3"],"commit_groups":[["e1bd684a3"]],"commits":[],"cves":[],"db_id":"c3aea9dccd53d85f3d9f25497a7366df","html":"\u003cp\u003eAdd trigonometric functions that work in degrees (Dean Rasheed)\u003c/p\u003e\n\u003cp\u003eFor example, \u003ca href=\"/docs/9.6/functions-math.html#FUNCTIONS-MATH-TRIG-TABLE\"\u003e\u003ccode\u003esind()\u003c/code\u003e\u003c/a\u003e measures its argument in degrees, whereas \u003ccode\u003esin()\u003c/code\u003e measures in radians. These functions go to some lengths to deliver exact results for values where an exact result can be expected, for instance sind(30) = 0.5.\u003c/p\u003e","id":"9.6.0-2dc9d14a3736ecbb","identity_text":"Add trigonometric functions that work in degrees (Dean Rasheed) For example, sind() measures its argument in degrees, whereas sin() measures in radians. These functions go to some lengths to deliver exact results for values where an exact result can be expected, for instance sind(30) = 0.5.","part":"changes","patch_ids":["4d27f914a37ab52ed9472718f8cd6864"],"related_changes":[],"relations":[],"section":"Functions","section_path":["Functions"],"source_commits":["e1bd684a3"],"source_entry_id":"9.6.0/changes/104","source_hash":"149be166194670e1011b8dd74c3b2c7ce090ab0fabfee637c075d0e5316f5025","source_url":"/docs/release/9.6.0/#AEN136859","statement_hash":"16ec4f9a95b994bf7cf448879e0a6ff8ffc1e7896494eec0f31b0289f4f847b5","text":"Add trigonometric functions that work in degrees (Dean Rasheed) For example, sind() measures its argument in degrees, whereas sin() measures in radians. These functions go to some lengths to deliver exact results for values where an exact result can be expected, for instance sind(30) = 0.5.","title":"Add trigonometric functions that work in degrees","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["fd5200c3d"],"commit_groups":[["fd5200c3d"]],"commits":[],"cves":[],"db_id":"b5bcce83b7bfc35cf1e15e9cb92991ee","html":"\u003cp\u003eEnsure that trigonometric functions handle infinity and NaN inputs per the \u003cacronym\u003ePOSIX\u003c/acronym\u003e standard (Dean Rasheed)\u003c/p\u003e\n\u003cp\u003eThe \u003cacronym\u003ePOSIX\u003c/acronym\u003e standard says that these functions should return NaN for NaN input, and should throw an error for out-of-range inputs including infinity. Previously our behavior varied across platforms.\u003c/p\u003e","id":"9.6.0-dec32f8eb56d27e2","identity_text":"Ensure that trigonometric functions handle infinity and NaN inputs per the POSIX standard (Dean Rasheed) The POSIX standard says that these functions should return NaN for NaN input, and should throw an error for out-of-range inputs including infinity. Previously our behavior varied across platforms.","part":"changes","patch_ids":["c256141f0fac850551d5af7fc5affe40"],"related_changes":[],"relations":[],"section":"Functions","section_path":["Functions"],"source_commits":["fd5200c3d"],"source_entry_id":"9.6.0/changes/105","source_hash":"7b431e23c2825468f3f9754c1f6f6d6c2e02e6c442273574bcbdc053a5b675bd","source_url":"/docs/release/9.6.0/#AEN136859","statement_hash":"b8f16ed5579f74b0559ff9f810632eaf0bb520a4ef6f68f92fa0f7f102a2e213","text":"Ensure that trigonometric functions handle infinity and NaN inputs per the POSIX standard (Dean Rasheed) The POSIX standard says that these functions should return NaN for NaN input, and should throw an error for out-of-range inputs including infinity. Previously our behavior varied across platforms.","title":"Ensure that trigonometric functions handle infinity and NaN inputs per the POSIX standard","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["e511d878f"],"commit_groups":[["e511d878f"]],"commits":[],"cves":[],"db_id":"864a2e107d230ea17ea1667ceb6159cc","html":"\u003cp\u003eMake \u003ca href=\"/docs/9.6/functions-datetime.html#FUNCTIONS-DATETIME-TABLE\"\u003e\u003ccode\u003eto_timestamp(float8)\u003c/code\u003e\u003c/a\u003e convert float infinity to timestamp infinity (Vitaly Burovoy)\u003c/p\u003e\n\u003cp\u003eFormerly it just failed on an infinite input.\u003c/p\u003e","id":"9.6.0-dacbd44fdb11faaa","identity_text":"Make to_timestamp(float8) convert float infinity to timestamp infinity (Vitaly Burovoy) Formerly it just failed on an infinite input.","part":"changes","patch_ids":["8fb61b3aadd0d82159229718644a5231"],"related_changes":[],"relations":[],"section":"Functions","section_path":["Functions"],"source_commits":["e511d878f"],"source_entry_id":"9.6.0/changes/106","source_hash":"e512680f836618432e4cfb4fb55ce6e53eb00ad522e9be5a2ae791e705d51763","source_url":"/docs/release/9.6.0/#AEN136859","statement_hash":"b9925191da301e722f58ab41cf3268e66d852455bbc761269ca793de57708546","text":"Make to_timestamp(float8) convert float infinity to timestamp infinity (Vitaly Burovoy) Formerly it just failed on an infinite input.","title":"Make to_timestamp(float8) convert float infinity to timestamp infinity","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["0b9a23443","6943a946c"],"commit_groups":[["0b9a23443"],["6943a946c"]],"commits":[],"cves":[],"db_id":"2fcc96ad1e4c3e775265fcada95adb3a","html":"\u003cp\u003eAdd new functions for tsvector data (Stas Kelvich)\u003c/p\u003e\n\u003cp\u003eThe new functions are \u003ca href=\"/docs/9.6/functions-textsearch.html#TEXTSEARCH-FUNCTIONS-TABLE\"\u003e\u003ccode\u003ets_delete()\u003c/code\u003e\u003c/a\u003e, \u003ccode\u003ets_filter()\u003c/code\u003e, \u003ccode\u003eunnest()\u003c/code\u003e, \u003ccode\u003etsvector_to_array()\u003c/code\u003e, \u003ccode\u003earray_to_tsvector()\u003c/code\u003e, and a variant of \u003ccode\u003esetweight()\u003c/code\u003e that sets the weight only for specified lexeme(s).\u003c/p\u003e","id":"9.6.0-a3f5630910567262","identity_text":"Add new functions for tsvector data (Stas Kelvich) The new functions are ts_delete(), ts_filter(), unnest(), tsvector_to_array(), array_to_tsvector(), and a variant of setweight() that sets the weight only for specified lexeme(s).","part":"changes","patch_ids":["787f0c10a5220ba6f214b6e63163c8f6","99275814a7ea1f6182c81b5d7bb4db38"],"related_changes":[],"relations":[],"section":"Functions","section_path":["Functions"],"source_commits":["0b9a23443","6943a946c"],"source_entry_id":"9.6.0/changes/107","source_hash":"305fa4e91cca6e9c555bc6c07e9dc6402148da70957555bd59b4578c6bf77308","source_url":"/docs/release/9.6.0/#AEN136859","statement_hash":"17deae91effe11468d80a389e8777f7b1a69ea025464b04bcf8ce129ebad0f55","text":"Add new functions for tsvector data (Stas Kelvich) The new functions are ts_delete(), ts_filter(), unnest(), tsvector_to_array(), array_to_tsvector(), and a variant of setweight() that sets the weight only for specified lexeme(s).","title":"Add new functions for tsvector data","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["9acb9007d"],"commit_groups":[["9acb9007d"]],"commits":[],"cves":[],"db_id":"7f4cfb21cc2619e73b83e249d19a91cd","html":"\u003cp\u003eAllow \u003ca href=\"/docs/9.6/textsearch-features.html#TEXTSEARCH-STATISTICS\"\u003e\u003ccode\u003ets_stat()\u003c/code\u003e\u003c/a\u003e and \u003ca href=\"/docs/9.6/textsearch-features.html#TEXTSEARCH-UPDATE-TRIGGERS\"\u003e\u003ccode\u003etsvector_update_trigger()\u003c/code\u003e\u003c/a\u003e to operate on values that are of types binary-compatible with the expected argument type, not just exactly that type; for example allow citext where text is expected (Teodor Sigaev)\u003c/p\u003e","id":"9.6.0-fee91b8cbfc5c703","identity_text":"Allow ts_stat() and tsvector_update_trigger() to operate on values that are of types binary-compatible with the expected argument type, not just exactly that type; for example allow citext where text is expected (Teodor Sigaev)","part":"changes","patch_ids":["a234aa050f359d0053e0e85f0a3bf100"],"related_changes":[],"relations":[],"section":"Functions","section_path":["Functions"],"source_commits":["9acb9007d"],"source_entry_id":"9.6.0/changes/108","source_hash":"ea980e5ce4ec91394a544c9f1e2709a5e7e94f3847260c171bc13c9a3edf0313","source_url":"/docs/release/9.6.0/#AEN136859","statement_hash":"ca4f8ea493ae843a96b6ec535fbfc6401a885b12836c21709995f58cf2aab8c1","text":"Allow ts_stat() and tsvector_update_trigger() to operate on values that are of types binary-compatible with the expected argument type, not just exactly that type; for example allow citext where text is expected (Teodor Sigaev)","title":"Allow ts_stat() and tsvector_update_trigger() to operate on values that are of types binary-compatible with the expected argument type, not just exactly that type; for example allow citext where text is expected","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["6819514fc"],"commit_groups":[["6819514fc"]],"commits":[],"cves":[],"db_id":"ac9a5b71b18dbbd98304b62e55ef1dab","html":"\u003cp\u003eAdd variadic functions \u003ca href=\"/docs/9.6/functions-comparison.html#FUNCTIONS-COMPARISON-FUNC-TABLE\"\u003e\u003ccode\u003enum_nulls()\u003c/code\u003e\u003c/a\u003e and \u003ccode\u003enum_nonnulls()\u003c/code\u003e that count the number of their arguments that are null or non-null (Marko Tiikkaja)\u003c/p\u003e\n\u003cp\u003eAn example usage is CHECK(num_nonnulls(a,b,c) = 1) which asserts that exactly one of a,b,c is not NULL. These functions can also be used to count the number of null or nonnull elements in an array.\u003c/p\u003e","id":"9.6.0-8ab6bcfbd5e4e4ed","identity_text":"Add variadic functions num_nulls() and num_nonnulls() that count the number of their arguments that are null or non-null (Marko Tiikkaja) An example usage is CHECK(num_nonnulls(a,b,c) = 1) which asserts that exactly one of a,b,c is not NULL. These functions can also be used to count the number of null or nonnull elements in an array.","part":"changes","patch_ids":["b7c6456f353622d8330771a7700b139d"],"related_changes":[],"relations":[],"section":"Functions","section_path":["Functions"],"source_commits":["6819514fc"],"source_entry_id":"9.6.0/changes/109","source_hash":"b14c552b1bef8a0bd71fa2c9981c4b9bc3c5c2680b4620c621d2e78e569741f2","source_url":"/docs/release/9.6.0/#AEN136859","statement_hash":"891e666d607c25bdd6bf44662e473e0c2bfadfc9bc191e8296c28f29e0232205","text":"Add variadic functions num_nulls() and num_nonnulls() that count the number of their arguments that are null or non-null (Marko Tiikkaja) An example usage is CHECK(num_nonnulls(a,b,c) = 1) which asserts that exactly one of a,b,c is not NULL. These functions can also be used to count the number of null or nonnull elements in an array.","title":"Add variadic functions num_nulls() and num_nonnulls() that count the number of their arguments that are null or non-null","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["3187d6de0"],"commit_groups":[["3187d6de0"]],"commits":[],"cves":[],"db_id":"87ac28170e677ac268b657bdf7c484a0","html":"\u003cp\u003eAdd function \u003ca href=\"/docs/9.6/functions-string.html#FUNCTIONS-STRING-OTHER\"\u003e\u003ccode\u003eparse_ident()\u003c/code\u003e\u003c/a\u003e to split a qualified, possibly quoted \u003cacronym\u003eSQL\u003c/acronym\u003e identifier into its parts (Pavel Stehule)\u003c/p\u003e","id":"9.6.0-7a6587254d201c0f","identity_text":"Add function parse_ident() to split a qualified, possibly quoted SQL identifier into its parts (Pavel Stehule)","part":"changes","patch_ids":["a24deb8035bcc6cf70465bd196d8f094"],"related_changes":[],"relations":[],"section":"Functions","section_path":["Functions"],"source_commits":["3187d6de0"],"source_entry_id":"9.6.0/changes/110","source_hash":"973d3b98d8e55ae667f5b86f5ae5a43900ee4b2e8fa18c849192081ced5120b7","source_url":"/docs/release/9.6.0/#AEN136859","statement_hash":"568714e3f0226122e7cc0a7bab0891e7abb1bf4cb9da963b52e98e1912a2fd60","text":"Add function parse_ident() to split a qualified, possibly quoted SQL identifier into its parts (Pavel Stehule)","title":"Add function parse_ident() to split a qualified, possibly quoted SQL identifier into its parts","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["28b3a3d41"],"commit_groups":[["28b3a3d41"]],"commits":[],"cves":[],"db_id":"7ee8253aace196ff399cc2c1fa6b6835","html":"\u003cp\u003eIn \u003ca href=\"/docs/9.6/functions-formatting.html#FUNCTIONS-FORMATTING-TABLE\"\u003e\u003ccode\u003eto_number()\u003c/code\u003e\u003c/a\u003e, interpret a V format code as dividing by 10 to the power of the number of digits following V (Bruce Momjian)\u003c/p\u003e\n\u003cp\u003eThis makes it operate in an inverse fashion to \u003ccode\u003eto_char()\u003c/code\u003e.\u003c/p\u003e","id":"9.6.0-25bb871e4e26ce12","identity_text":"In to_number(), interpret a V format code as dividing by 10 to the power of the number of digits following V (Bruce Momjian) This makes it operate in an inverse fashion to to_char().","part":"changes","patch_ids":["a47c4de8a966f0601ce12b1b3cd10ca0"],"related_changes":[],"relations":[],"section":"Functions","section_path":["Functions"],"source_commits":["28b3a3d41"],"source_entry_id":"9.6.0/changes/111","source_hash":"25170dc6aa0e8fc2a7bc6bd95017feb2e8d01cbcdfd487e950b941f1ac975c94","source_url":"/docs/release/9.6.0/#AEN136859","statement_hash":"2cb5cce68ffe7d3b4ca929abb85a9f047aa74671936712e014f00732b84b1a1d","text":"In to_number(), interpret a V format code as dividing by 10 to the power of the number of digits following V (Bruce Momjian) This makes it operate in an inverse fashion to to_char().","title":"In to_number(), interpret a V format code as dividing by 10 to the power of the number of digits following V","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["ea0d494da"],"commit_groups":[["ea0d494da"]],"commits":[],"cves":[],"db_id":"171a8320322c2078e211fcbf7f6baa33","html":"\u003cp\u003eMake the \u003ca href=\"/docs/9.6/functions-info.html#FUNCTIONS-INFO-CATALOG-TABLE\"\u003e\u003ccode\u003eto_reg*()\u003c/code\u003e\u003c/a\u003e functions accept type text not cstring (Petr Korobeinikov)\u003c/p\u003e\n\u003cp\u003eThis avoids the need to write an explicit cast in most cases where the argument is not a simple literal constant.\u003c/p\u003e","id":"9.6.0-7940274514c07a8d","identity_text":"Make the to_reg*() functions accept type text not cstring (Petr Korobeinikov) This avoids the need to write an explicit cast in most cases where the argument is not a simple literal constant.","part":"changes","patch_ids":["cc95636ee646ef3991310764dd61cc24"],"related_changes":[],"relations":[],"section":"Functions","section_path":["Functions"],"source_commits":["ea0d494da"],"source_entry_id":"9.6.0/changes/112","source_hash":"7d180c4764c530b0a356da4f91dd8acd124dc449ce4ca7b78afa5ce34afae321","source_url":"/docs/release/9.6.0/#AEN136859","statement_hash":"7a6486065a8a220f2f833d273264b82a661e1541831bf908e97859eb709ef545","text":"Make the to_reg*() functions accept type text not cstring (Petr Korobeinikov) This avoids the need to write an explicit cast in most cases where the argument is not a simple literal constant.","title":"Make the to_reg*() functions accept type text not cstring","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["53874c522"],"commit_groups":[["53874c522"]],"commits":[],"cves":[],"db_id":"6b4df0dbd0e5bfa56faff9b14a54d748","html":"\u003cp\u003eAdd \u003ca href=\"/docs/9.6/functions-admin.html#FUNCTIONS-ADMIN-DBSIZE\"\u003e\u003ccode\u003epg_size_bytes()\u003c/code\u003e\u003c/a\u003e function to convert human-readable size strings to numbers (Pavel Stehule, Vitaly Burovoy, Dean Rasheed)\u003c/p\u003e\n\u003cp\u003eThis function converts strings like those produced by \u003ccode\u003epg_size_pretty()\u003c/code\u003e into bytes. An example usage is SELECT oid::regclass FROM pg_class WHERE pg_total_relation_size(oid) \u0026gt; pg_size_bytes('10 GB').\u003c/p\u003e","id":"9.6.0-8e7dc4f7ef869f05","identity_text":"Add pg_size_bytes() function to convert human-readable size strings to numbers (Pavel Stehule, Vitaly Burovoy, Dean Rasheed) This function converts strings like those produced by pg_size_pretty() into bytes. An example usage is SELECT oid::regclass FROM pg_class WHERE pg_total_relation_size(oid) \u003e pg_size_bytes('10 GB').","part":"changes","patch_ids":["2656fe995909d40937acf051f8ca2b2a"],"related_changes":[],"relations":[],"section":"Functions","section_path":["Functions"],"source_commits":["53874c522"],"source_entry_id":"9.6.0/changes/113","source_hash":"8a9dd1920109f60f0fabbbf89a67cd2d55c403dfd6e7005bf2f2b4fe544a19b8","source_url":"/docs/release/9.6.0/#AEN136859","statement_hash":"a978e1c298c556929ba28319d6dc519b61d78c3732d71f89aeb367fc6436d147","text":"Add pg_size_bytes() function to convert human-readable size strings to numbers (Pavel Stehule, Vitaly Burovoy, Dean Rasheed) This function converts strings like those produced by pg_size_pretty() into bytes. An example usage is SELECT oid::regclass FROM pg_class WHERE pg_total_relation_size(oid) \u003e pg_size_bytes('10 GB').","title":"Add pg_size_bytes() function to convert human-readable size strings to numbers","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["8a1fab36a"],"commit_groups":[["8a1fab36a"]],"commits":[],"cves":[],"db_id":"27fbf9292ed30e1c012c9863faf1133a","html":"\u003cp\u003eIn \u003ca href=\"/docs/9.6/functions-admin.html#FUNCTIONS-ADMIN-DBSIZE\"\u003e\u003ccode\u003epg_size_pretty()\u003c/code\u003e\u003c/a\u003e, format negative numbers similarly to positive ones (Adrian Vondendriesch)\u003c/p\u003e\n\u003cp\u003ePreviously, negative numbers were never abbreviated, just printed in bytes.\u003c/p\u003e","id":"9.6.0-80f77899c7b1714d","identity_text":"In pg_size_pretty(), format negative numbers similarly to positive ones (Adrian Vondendriesch) Previously, negative numbers were never abbreviated, just printed in bytes.","part":"changes","patch_ids":["47a2cadb68c5b563fe1843460440caff"],"related_changes":[],"relations":[],"section":"Functions","section_path":["Functions"],"source_commits":["8a1fab36a"],"source_entry_id":"9.6.0/changes/114","source_hash":"76a60cbf1385761fc47a398ac2598ea42ca4eeeee825c5d2f4ab190856318d2b","source_url":"/docs/release/9.6.0/#AEN136859","statement_hash":"b797698241e51e62bb6cf8bd1f343779be6e03f2ef67c52bd7798fb47cb78d62","text":"In pg_size_pretty(), format negative numbers similarly to positive ones (Adrian Vondendriesch) Previously, negative numbers were never abbreviated, just printed in bytes.","title":"In pg_size_pretty(), format negative numbers similarly to positive ones","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["10fb48d66"],"commit_groups":[["10fb48d66"]],"commits":[],"cves":[],"db_id":"428d546f02cf43113e42f00645e67d75","html":"\u003cp\u003eAdd an optional \u003ci\u003emissing_ok\u003c/i\u003e argument to the \u003ca href=\"/docs/9.6/functions-admin.html#FUNCTIONS-ADMIN-SET-TABLE\"\u003e\u003ccode\u003ecurrent_setting()\u003c/code\u003e\u003c/a\u003e function (David Christensen)\u003c/p\u003e\n\u003cp\u003eThis allows avoiding an error for an unrecognized parameter name, instead returning a NULL.\u003c/p\u003e","id":"9.6.0-0403dce821a512d9","identity_text":"Add an optional missing_ok argument to the current_setting() function (David Christensen) This allows avoiding an error for an unrecognized parameter name, instead returning a NULL.","part":"changes","patch_ids":["583c493cf12ecee95675e227bd13c637"],"related_changes":[],"relations":[],"section":"Functions","section_path":["Functions"],"source_commits":["10fb48d66"],"source_entry_id":"9.6.0/changes/115","source_hash":"ac3221169d282388cafdec38da8126d463207e21549bd5a0b862089e6edb27d3","source_url":"/docs/release/9.6.0/#AEN136859","statement_hash":"dbcf79172c3add16f89a1a9c3fece66be251be52c3dd741bae354c408dbae80e","text":"Add an optional missing_ok argument to the current_setting() function (David Christensen) This allows avoiding an error for an unrecognized parameter name, instead returning a NULL.","title":"Add an optional missing_ok argument to the current_setting() function","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["3153b1a52","8a8c6b538","976b24fb4"],"commit_groups":[["3153b1a52"],["8a8c6b538"],["976b24fb4"]],"commits":[],"cves":[],"db_id":"b48792a3c5b1b128061cae2b4283287f","html":"\u003cp\u003eChange various catalog-inspection functions to return NULL for invalid input (Michael Paquier)\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"/docs/9.6/functions-info.html#FUNCTIONS-INFO-CATALOG-TABLE\"\u003e\u003ccode\u003epg_get_viewdef()\u003c/code\u003e\u003c/a\u003e now returns NULL if given an invalid view OID, and several similar functions likewise return NULL for bad input. Previously, such cases usually led to \u003cspan\u003e\"cache lookup failed\"\u003c/span\u003e errors, which are not meant to occur in user-facing cases.\u003c/p\u003e","id":"9.6.0-5772ad558a3af632","identity_text":"Change various catalog-inspection functions to return NULL for invalid input (Michael Paquier) pg_get_viewdef() now returns NULL if given an invalid view OID, and several similar functions likewise return NULL for bad input. Previously, such cases usually led to cache lookup failed errors, which are not meant to occur in user-facing cases.","part":"changes","patch_ids":["1cccbfe875db3e881fbe92872abfc883","b96d18c071f7d15462cfcbd245a72453","cc96cb5e8c1c380bb8cc819d3c2c0e67"],"related_changes":[],"relations":[],"section":"Functions","section_path":["Functions"],"source_commits":["3153b1a52","8a8c6b538","976b24fb4"],"source_entry_id":"9.6.0/changes/116","source_hash":"1cec6e408b13826961cc0cfc008177ad740b4fd356666322ca6d4e59d2d4638b","source_url":"/docs/release/9.6.0/#AEN136859","statement_hash":"0e9b73d122cde983fa203fcc353b1deed1b2bf0c3d12d95ed560230ac6846f28","text":"Change various catalog-inspection functions to return NULL for invalid input (Michael Paquier) pg_get_viewdef() now returns NULL if given an invalid view OID, and several similar functions likewise return NULL for bad input. Previously, such cases usually led to \"cache lookup failed\" errors, which are not meant to occur in user-facing cases.","title":"Change various catalog-inspection functions to return NULL for invalid input","variants":[],"version":"9.6.0"},{"also_in":[],"category":"bugfix","category_label":"Bug fixes","commit_aliases":["dd5eb805d"],"commit_groups":[["dd5eb805d"]],"commits":[],"cves":[],"db_id":"34eb14689f04c89a930663d253018303","html":"\u003cp\u003eFix \u003ca href=\"/docs/9.6/functions-admin.html#PG-REPLICATION-ORIGIN-XACT-RESET\"\u003e\u003ccode\u003epg_replication_origin_xact_reset()\u003c/code\u003e\u003c/a\u003e to not have any arguments (Fujii Masao)\u003c/p\u003e\n\u003cp\u003eThe documentation said that it has no arguments, and the C code did not expect any arguments, but the entry in pg_proc mistakenly specified two arguments.\u003c/p\u003e","id":"9.6.0-3559aaf541cfedda","identity_text":"Fix pg_replication_origin_xact_reset() to not have any arguments (Fujii Masao) The documentation said that it has no arguments, and the C code did not expect any arguments, but the entry in pg_proc mistakenly specified two arguments.","part":"changes","patch_ids":["b861a9c50f15419e58f690a0bd678073"],"related_changes":[],"relations":[],"section":"Functions","section_path":["Functions"],"source_commits":["dd5eb805d"],"source_entry_id":"9.6.0/changes/117","source_hash":"e885718ee4d3c82f09d95539755d925863736a83888f29bfe97e1042fd179378","source_url":"/docs/release/9.6.0/#AEN136859","statement_hash":"52f1540d3c4dd444bcf271c33bcbb3f86427e8a4f7c4e2b06c6a6a77efe1b0cf","text":"Fix pg_replication_origin_xact_reset() to not have any arguments (Fujii Masao) The documentation said that it has no arguments, and the C code did not expect any arguments, but the entry in pg_proc mistakenly specified two arguments.","title":"Fix pg_replication_origin_xact_reset() to not have any arguments","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["fcdfce682"],"commit_groups":[["fcdfce682"]],"commits":[],"cves":[],"db_id":"7393b1e1e19324b388941ffc4cb565f2","html":"\u003cp\u003eIn \u003ca href=\"/docs/9.6/plpgsql.html\"\u003ePL/pgSQL\u003c/a\u003e, detect mismatched CONTINUE and EXIT statements while compiling a function, rather than at execution time (Jim Nasby)\u003c/p\u003e","id":"9.6.0-c6609562bcdc8d50","identity_text":"In PL/pgSQL, detect mismatched CONTINUE and EXIT statements while compiling a function, rather than at execution time (Jim Nasby)","part":"changes","patch_ids":["350159cd4cd742a9cb382f6135cbcb0a"],"related_changes":[],"relations":[],"section":"Server-Side Languages","section_path":["Server-Side Languages"],"source_commits":["fcdfce682"],"source_entry_id":"9.6.0/changes/118","source_hash":"ebe34b4193038c1faf762cf637a85756934b34d8d1ce85c991683c8c2404a881","source_url":"/docs/release/9.6.0/#AEN136986","statement_hash":"cd96b2070feb04dd7f5e7922be0bd8f9ab71f6d16737e7bc39e9b897506bdf21","text":"In PL/pgSQL, detect mismatched CONTINUE and EXIT statements while compiling a function, rather than at execution time (Jim Nasby)","title":"In PL/pgSQL, detect mismatched CONTINUE and EXIT statements while compiling a function, rather than at execution time","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["020140d84","3a4a33ad4","5c3c3cd0a"],"commit_groups":[["020140d84"],["3a4a33ad4"],["5c3c3cd0a"]],"commits":[],"cves":[],"db_id":"cbe50811444041c6cab2c79bf509af6d","html":"\u003cp\u003eExtend \u003cspan\u003ePL/Python\u003c/span\u003e's error-reporting and message-reporting functions to allow specifying additional message fields besides the primary error message (Pavel Stehule)\u003c/p\u003e","id":"9.6.0-e158b99add7e096a","identity_text":"Extend PL/Python's error-reporting and message-reporting functions to allow specifying additional message fields besides the primary error message (Pavel Stehule)","part":"changes","patch_ids":["43341bbce5665f7abcc06f421b9e8a5d","cbcf0a283e3e2eccac56dece4e5cae8c","ce37bbd0db2e702ea4788a65587f3d49"],"related_changes":[],"relations":[],"section":"Server-Side Languages","section_path":["Server-Side Languages"],"source_commits":["020140d84","3a4a33ad4","5c3c3cd0a"],"source_entry_id":"9.6.0/changes/119","source_hash":"fa80f9774c7b19f0a2fa200146b28207b0d6e8afe7b955918c90c0e4fc14c53a","source_url":"/docs/release/9.6.0/#AEN136986","statement_hash":"6d52d88d8f29219b04f3302050db6304547593a6f4d14efe109a17a150300d3b","text":"Extend PL/Python's error-reporting and message-reporting functions to allow specifying additional message fields besides the primary error message (Pavel Stehule)","title":"Extend PL/Python's error-reporting and message-reporting functions to allow specifying additional message fields besides the primary error message","variants":[],"version":"9.6.0"},{"also_in":[],"category":"bugfix","category_label":"Bug fixes","commit_aliases":["1d2fe56e4"],"commit_groups":[["1d2fe56e4"]],"commits":[],"cves":[],"db_id":"0b6586eab56320a01271b57f37aef1c8","html":"\u003cp\u003eAllow PL/Python functions to call themselves recursively via \u003cspan\u003eSPI\u003c/span\u003e, and fix the behavior when multiple set-returning PL/Python functions are called within one query (Alexey Grishchenko, Tom Lane)\u003c/p\u003e","id":"9.6.0-49281f6e7509c7e5","identity_text":"Allow PL/Python functions to call themselves recursively via SPI, and fix the behavior when multiple set-returning PL/Python functions are called within one query (Alexey Grishchenko, Tom Lane)","part":"changes","patch_ids":["a3607b1a9d7bdd261c43ac827ab5aaa0"],"related_changes":[],"relations":[],"section":"Server-Side Languages","section_path":["Server-Side Languages"],"source_commits":["1d2fe56e4"],"source_entry_id":"9.6.0/changes/120","source_hash":"aa880658dc42c3ccff6e775bd58770b14a67f46adb102a83748f64a43a088fca","source_url":"/docs/release/9.6.0/#AEN136986","statement_hash":"3e4f7f3fcc9482c659ba29f4925fc664fa2ddccc08423113fc73cfacb8f6714e","text":"Allow PL/Python functions to call themselves recursively via SPI, and fix the behavior when multiple set-returning PL/Python functions are called within one query (Alexey Grishchenko, Tom Lane)","title":"Allow PL/Python functions to call themselves recursively via SPI, and fix the behavior when multiple set-returning PL/Python functions are called within one query","variants":[],"version":"9.6.0"},{"also_in":[],"category":"bugfix","category_label":"Bug fixes","commit_aliases":["8c75ad436"],"commit_groups":[["8c75ad436"]],"commits":[],"cves":[],"db_id":"31df09355aaf03bfdba14a7539f64439","html":"\u003cp\u003eFix session-lifespan memory leaks in PL/Python (Heikki Linnakangas, Haribabu Kommi, Tom Lane)\u003c/p\u003e","id":"9.6.0-8ee3c6fbedf2bd61","identity_text":"Fix session-lifespan memory leaks in PL/Python (Heikki Linnakangas, Haribabu Kommi, Tom Lane)","part":"changes","patch_ids":["941da1a73dc2af7424fb42aab880d094"],"related_changes":[],"relations":[],"section":"Server-Side Languages","section_path":["Server-Side Languages"],"source_commits":["8c75ad436"],"source_entry_id":"9.6.0/changes/121","source_hash":"40ae17a24fa2554b58e8f1f826f59074cc23e6c38711b3ec90e9bcbef033a71d","source_url":"/docs/release/9.6.0/#AEN136986","statement_hash":"6afe387188602f261761163ffb3a215639736d3b0c5e75103c0e79007ec0c11e","text":"Fix session-lifespan memory leaks in PL/Python (Heikki Linnakangas, Haribabu Kommi, Tom Lane)","title":"Fix session-lifespan memory leaks in PL/Python","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["287822068","e2609323e"],"commit_groups":[["287822068"],["e2609323e"]],"commits":[],"cves":[],"db_id":"292cf4dc73540711dcc7ed5372fc0462","html":"\u003cp\u003eModernize \u003cspan\u003ePL/Tcl\u003c/span\u003e to use Tcl's \u003cspan\u003e\"object\"\u003c/span\u003e \u003cacronym\u003eAPI\u003c/acronym\u003es instead of simple strings (Jim Nasby, Karl Lehenbauer)\u003c/p\u003e\n\u003cp\u003eThis can improve performance substantially in some cases. Note that \u003cspan\u003ePL/Tcl\u003c/span\u003e now requires Tcl 8.4 or later.\u003c/p\u003e","id":"9.6.0-4d88167b0898c2a0","identity_text":"Modernize PL/Tcl to use Tcl's object APIs instead of simple strings (Jim Nasby, Karl Lehenbauer) This can improve performance substantially in some cases. Note that PL/Tcl now requires Tcl 8.4 or later.","part":"changes","patch_ids":["357fd7e56019965cd3c9072da871077c","67cb8cf88b2051dfde2e594ca9044380"],"related_changes":[],"relations":[],"section":"Server-Side Languages","section_path":["Server-Side Languages"],"source_commits":["287822068","e2609323e"],"source_entry_id":"9.6.0/changes/122","source_hash":"462fe8a15295ca7dfe6b814505b15fa68c07696b60755977e0dcaf24faef831f","source_url":"/docs/release/9.6.0/#AEN136986","statement_hash":"184a4d2708cc622bebfacd4d995472f19aca15a05767d3f4e11557104fb31eb9","text":"Modernize PL/Tcl to use Tcl's \"object\" APIs instead of simple strings (Jim Nasby, Karl Lehenbauer) This can improve performance substantially in some cases. Note that PL/Tcl now requires Tcl 8.4 or later.","title":"Modernize PL/Tcl to use Tcl's \"object\" APIs instead of simple strings","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["cd37bb785","fb8d2a7f5"],"commit_groups":[["cd37bb785"],["fb8d2a7f5"]],"commits":[],"cves":[],"db_id":"d712afe9f172186d3b83a0c85c865f28","html":"\u003cp\u003eIn \u003cspan\u003ePL/Tcl\u003c/span\u003e, make database-reported errors return additional information in Tcl's errorCode global variable (Jim Nasby, Tom Lane)\u003c/p\u003e\n\u003cp\u003eThis feature follows the Tcl convention for returning auxiliary data about an error.\u003c/p\u003e","id":"9.6.0-f9d2190fefdcc0c8","identity_text":"In PL/Tcl, make database-reported errors return additional information in Tcl's errorCode global variable (Jim Nasby, Tom Lane) This feature follows the Tcl convention for returning auxiliary data about an error.","part":"changes","patch_ids":["ab6f52c2324d4a6e7044a3abca960cdf","c9378db52b681bf8ce4a594b8b46ca61"],"related_changes":[],"relations":[],"section":"Server-Side Languages","section_path":["Server-Side Languages"],"source_commits":["cd37bb785","fb8d2a7f5"],"source_entry_id":"9.6.0/changes/123","source_hash":"368daaad22e47037960d18a1a7872f28f6c5cbe360034fe940afe67a988206cd","source_url":"/docs/release/9.6.0/#AEN136986","statement_hash":"ee8af43f516953c8bf5ee57faf66eb978330ada5a5aa2c0b5591b9d832251fcf","text":"In PL/Tcl, make database-reported errors return additional information in Tcl's errorCode global variable (Jim Nasby, Tom Lane) This feature follows the Tcl convention for returning auxiliary data about an error.","title":"In PL/Tcl, make database-reported errors return additional information in Tcl's errorCode global variable","variants":[],"version":"9.6.0"},{"also_in":[],"category":"bugfix","category_label":"Bug fixes","commit_aliases":["c8c7c93de"],"commit_groups":[["c8c7c93de"]],"commits":[],"cves":[],"db_id":"d226887349d1542c336c0ff7dfab0ebb","html":"\u003cp\u003eFix \u003cspan\u003ePL/Tcl\u003c/span\u003e to perform encoding conversion between the database encoding and UTF-8, which is what Tcl expects (Tom Lane)\u003c/p\u003e\n\u003cp\u003ePreviously, strings were passed through without conversion, leading to misbehavior with non-ASCII characters when the database encoding was not UTF-8.\u003c/p\u003e","id":"9.6.0-4fad75d3199cc6ac","identity_text":"Fix PL/Tcl to perform encoding conversion between the database encoding and UTF-8, which is what Tcl expects (Tom Lane) Previously, strings were passed through without conversion, leading to misbehavior with non-ASCII characters when the database encoding was not UTF-8.","part":"changes","patch_ids":["51e363035a7cb17586ca769a01e9fefc"],"related_changes":[],"relations":[],"section":"Server-Side Languages","section_path":["Server-Side Languages"],"source_commits":["c8c7c93de"],"source_entry_id":"9.6.0/changes/124","source_hash":"02453e2434f24cd5dd783974e2a6705f41b5a3857952154a34409843125a8a5c","source_url":"/docs/release/9.6.0/#AEN136986","statement_hash":"4e469b8a5b86aba1839067f125c60a3f87106b9b74a1a4d2269698aaafee658a","text":"Fix PL/Tcl to perform encoding conversion between the database encoding and UTF-8, which is what Tcl expects (Tom Lane) Previously, strings were passed through without conversion, leading to misbehavior with non-ASCII characters when the database encoding was not UTF-8.","title":"Fix PL/Tcl to perform encoding conversion between the database encoding and UTF-8, which is what Tcl expects","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["e796d0aba"],"commit_groups":[["e796d0aba"]],"commits":[],"cves":[],"db_id":"a3a3e3bdf488a7e31453939e8824a996","html":"\u003cp\u003eAdd a nonlocalized version of the \u003ca href=\"/docs/9.6/protocol-error-fields.html\"\u003eseverity field\u003c/a\u003e in error and notice messages (Tom Lane)\u003c/p\u003e\n\u003cp\u003eThis change allows client code to determine severity of an error or notice without having to worry about localized variants of the severity strings.\u003c/p\u003e","id":"9.6.0-03bd6bc045fcdb2d","identity_text":"Add a nonlocalized version of the severity field in error and notice messages (Tom Lane) This change allows client code to determine severity of an error or notice without having to worry about localized variants of the severity strings.","part":"changes","patch_ids":["a9d52d6995619b0913f8ff02989e8071"],"related_changes":[],"relations":[],"section":"Client Interfaces","section_path":["Client Interfaces"],"source_commits":["e796d0aba"],"source_entry_id":"9.6.0/changes/125","source_hash":"d79205486a780f9af2372297a215892e94f0f9afeb462d2390c0d6d7fbd63065","source_url":"/docs/release/9.6.0/#AEN137021","statement_hash":"494c7a5af0d15cf55c6693bb685be1b5358a09ab34c431ec05ea220338bcd3e2","text":"Add a nonlocalized version of the severity field in error and notice messages (Tom Lane) This change allows client code to determine severity of an error or notice without having to worry about localized variants of the severity strings.","title":"Add a nonlocalized version of the severity field in error and notice messages","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["0426f349e"],"commit_groups":[["0426f349e"]],"commits":[],"cves":[],"db_id":"38f5670a2a48e398fc5f56296717be27","html":"\u003cp\u003eIntroduce a feature in \u003cspan\u003elibpq\u003c/span\u003e whereby the CONTEXT field of messages can be suppressed, either always or only for non-error messages (Pavel Stehule)\u003c/p\u003e\n\u003cp\u003eThe default behavior of \u003ca href=\"/docs/9.6/libpq-status.html#LIBPQ-PQERRORMESSAGE\"\u003e\u003ccode\u003ePQerrorMessage()\u003c/code\u003e\u003c/a\u003e is now to print CONTEXT only for errors. The new function \u003ca href=\"/docs/9.6/libpq-control.html#LIBPQ-PQSETERRORCONTEXTVISIBILITY\"\u003e\u003ccode\u003ePQsetErrorContextVisibility()\u003c/code\u003e\u003c/a\u003e can be used to adjust this.\u003c/p\u003e","id":"9.6.0-e71bca0e25865361","identity_text":"Introduce a feature in libpq whereby the CONTEXT field of messages can be suppressed, either always or only for non-error messages (Pavel Stehule) The default behavior of PQerrorMessage() is now to print CONTEXT only for errors. The new function PQsetErrorContextVisibility() can be used to adjust this.","part":"changes","patch_ids":["d674faf49d479be5cc744274d9634d04"],"related_changes":[{"db_id":"3ce123ea6c2d6bd34288d178655446b8","evidence":{"ambiguous_patch_ids":["d674faf49d479be5cc744274d9634d04"],"patch_ids":["d674faf49d479be5cc744274d9634d04"],"same_day":true},"kind":"related","label":"9.6","source_url":"/docs/release/9.6.0/#AEN137081","title":"Introduce a feature whereby the CONTEXT field of messages can be suppressed, either always or only for non-error messages","url":"/docs/compare/?release=9.6.0#9.6.0-1b1310419fe4d9b3","version":"9.6.0"},{"db_id":"170b1fefcffcedda9461e5d56803fec1","evidence":{"ambiguous_patch_ids":["d674faf49d479be5cc744274d9634d04"],"patch_ids":["d674faf49d479be5cc744274d9634d04"],"same_day":true},"kind":"related","label":"9.6","source_url":"/docs/release/9.6.0/#AEN136178","title":"Remove PL/pgSQL's \"feature\" that suppressed the innermost line of CONTEXT for messages emitted by RAISE commands","url":"/docs/compare/?release=9.6.0#9.6.0-2da6c2a69bcc87a1","version":"9.6.0"}],"relations":[{"evidence":{"ambiguous_patch_ids":["d674faf49d479be5cc744274d9634d04"],"patch_ids":["d674faf49d479be5cc744274d9634d04"],"same_day":true},"rule":2,"target":"170b1fefcffcedda9461e5d56803fec1","type":"related"},{"evidence":{"ambiguous_patch_ids":["d674faf49d479be5cc744274d9634d04"],"patch_ids":["d674faf49d479be5cc744274d9634d04"],"same_day":true},"rule":2,"target":"3ce123ea6c2d6bd34288d178655446b8","type":"related"}],"section":"Client Interfaces","section_path":["Client Interfaces"],"source_commits":["0426f349e"],"source_entry_id":"9.6.0/changes/126","source_hash":"e21b25c86a8c259b6c3b6b1f18ac2b47effef1c3c36c456a935f74a26675dcaf","source_url":"/docs/release/9.6.0/#AEN137021","statement_hash":"21851571063284dcd4eb5e47caa1862830e0479585af2896f60bc48c06369b8e","text":"Introduce a feature in libpq whereby the CONTEXT field of messages can be suppressed, either always or only for non-error messages (Pavel Stehule) The default behavior of PQerrorMessage() is now to print CONTEXT only for errors. The new function PQsetErrorContextVisibility() can be used to adjust this.","title":"Introduce a feature in libpq whereby the CONTEXT field of messages can be suppressed, either always or only for non-error messages","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["e3161b231"],"commit_groups":[["e3161b231"]],"commits":[],"cves":[],"db_id":"ad94c6683ee6a1faf7cb154d3ff6711b","html":"\u003cp\u003eAdd support in \u003cspan\u003elibpq\u003c/span\u003e for regenerating an error message with a different verbosity level (Alex Shulgin)\u003c/p\u003e\n\u003cp\u003eThis is done with the new function \u003ca href=\"/docs/9.6/libpq-exec.html#LIBPQ-PQRESULTVERBOSEERRORMESSAGE\"\u003e\u003ccode\u003ePQresultVerboseErrorMessage()\u003c/code\u003e\u003c/a\u003e. This supports \u003cspan\u003epsql\u003c/span\u003e's new \\errverbose feature, and may be useful for other clients as well.\u003c/p\u003e","id":"9.6.0-f517d3aa02ee353c","identity_text":"Add support in libpq for regenerating an error message with a different verbosity level (Alex Shulgin) This is done with the new function PQresultVerboseErrorMessage(). This supports psql's new \\errverbose feature, and may be useful for other clients as well.","part":"changes","patch_ids":["8f4a9d1fda9ed1bf0a52df7f8977651f"],"related_changes":[],"relations":[],"section":"Client Interfaces","section_path":["Client Interfaces"],"source_commits":["e3161b231"],"source_entry_id":"9.6.0/changes/127","source_hash":"48efdc386c7a390ddfb7aca6327d4fa8f661dcb759aa9fc94611716e63dd882a","source_url":"/docs/release/9.6.0/#AEN137021","statement_hash":"305ae249329a2cdaa83974d6df698d8e4d6cb8bd09df82f5f6d9f802e6a4847b","text":"Add support in libpq for regenerating an error message with a different verbosity level (Alex Shulgin) This is done with the new function PQresultVerboseErrorMessage(). This supports psql's new \\errverbose feature, and may be useful for other clients as well.","title":"Add support in libpq for regenerating an error message with a different verbosity level","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["40cb21f70"],"commit_groups":[["40cb21f70"]],"commits":[],"cves":[],"db_id":"e62c510f496d49ef000d5aded9a2045d","html":"\u003cp\u003eImprove \u003cspan\u003elibpq\u003c/span\u003e's \u003ca href=\"/docs/9.6/libpq-status.html#LIBPQ-PQHOST\"\u003e\u003ccode\u003ePQhost()\u003c/code\u003e\u003c/a\u003e function to return useful data for default Unix-socket connections (Tom Lane)\u003c/p\u003e\n\u003cp\u003ePreviously it would return NULL if no explicit host specification had been given; now it returns the default socket directory path.\u003c/p\u003e","id":"9.6.0-5f4204f067b96e05","identity_text":"Improve libpq's PQhost() function to return useful data for default Unix-socket connections (Tom Lane) Previously it would return NULL if no explicit host specification had been given; now it returns the default socket directory path.","part":"changes","patch_ids":["bb7708d2ae3405e46ea3740e21d1ef21"],"related_changes":[],"relations":[],"section":"Client Interfaces","section_path":["Client Interfaces"],"source_commits":["40cb21f70"],"source_entry_id":"9.6.0/changes/128","source_hash":"883dfde45ce492aee93d177718e7ae3b1b9e157b3dd52fa0c5d3f1a445147ad5","source_url":"/docs/release/9.6.0/#AEN137021","statement_hash":"66994ee82c693dbcffc003e648957e3a75bf096e105155db6658239fd413206c","text":"Improve libpq's PQhost() function to return useful data for default Unix-socket connections (Tom Lane) Previously it would return NULL if no explicit host specification had been given; now it returns the default socket directory path.","title":"Improve libpq's PQhost() function to return useful data for default Unix-socket connections","variants":[],"version":"9.6.0"},{"also_in":[],"category":"bugfix","category_label":"Bug fixes","commit_aliases":["fc1ae7d2e"],"commit_groups":[["fc1ae7d2e"]],"commits":[],"cves":[],"db_id":"2788096b88f0732de85b79faa631852e","html":"\u003cp\u003eFix \u003cspan\u003eecpg\u003c/span\u003e's lexer to handle line breaks within comments starting on preprocessor directive lines (Michael Meskes)\u003c/p\u003e","id":"9.6.0-6eeccc20bdc008d7","identity_text":"Fix ecpg's lexer to handle line breaks within comments starting on preprocessor directive lines (Michael Meskes)","part":"changes","patch_ids":["a6c0b9239e8b0e2d54603d15dca251f5"],"related_changes":[],"relations":[],"section":"Client Interfaces","section_path":["Client Interfaces"],"source_commits":["fc1ae7d2e"],"source_entry_id":"9.6.0/changes/129","source_hash":"5c3ad047d3413f9780c407ca793c569ad0eb00c01e87af840aff1a35198ccb03","source_url":"/docs/release/9.6.0/#AEN137021","statement_hash":"7b281e13956fff6e007facdb464b91ad9a918a9b66987b587e3ae4c9b6ca1fbe","text":"Fix ecpg's lexer to handle line breaks within comments starting on preprocessor directive lines (Michael Meskes)","title":"Fix ecpg's lexer to handle line breaks within comments starting on preprocessor directive lines","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["d02426029"],"commit_groups":[["d02426029"]],"commits":[],"cves":[],"db_id":"1bf80ab0f55accc82e8a808f66857909","html":"\u003cp\u003eAdd a --strict-names option to \u003ca href=\"/docs/9.6/app-pgdump.html\"\u003e\u003cspan\u003epg_dump\u003c/span\u003e\u003c/a\u003e and \u003ca href=\"/docs/9.6/app-pgrestore.html\"\u003e\u003cspan\u003epg_restore\u003c/span\u003e\u003c/a\u003e (Pavel Stehule)\u003c/p\u003e\n\u003cp\u003eThis option causes the program to complain if there is no match for a -t or -n option, rather than silently doing nothing.\u003c/p\u003e","id":"9.6.0-113fa40d06d44c7a","identity_text":"Add a --strict-names option to pg_dump and pg_restore (Pavel Stehule) This option causes the program to complain if there is no match for a -t or -n option, rather than silently doing nothing.","part":"changes","patch_ids":["58f518be859c58970ed6690609938a22"],"related_changes":[],"relations":[],"section":"Client Applications","section_path":["Client Applications"],"source_commits":["d02426029"],"source_entry_id":"9.6.0/changes/130","source_hash":"d4e1e15ae2e140a0eb43696360bc39eb0bd62e524dbbc5d0943dc98d494538e0","source_url":"/docs/release/9.6.0/#AEN137056","statement_hash":"36cfcf0d969bd9b38a5f5f7106e30123494240e124998c878ee51eee0d676a1f","text":"Add a --strict-names option to pg_dump and pg_restore (Pavel Stehule) This option causes the program to complain if there is no match for a -t or -n option, rather than silently doing nothing.","title":"Add a --strict-names option to pg_dump and pg_restore","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["23f34fa4b","5d589993c","a9f0e8e5a","d217b2c36","e1b120a8c"],"commit_groups":[["23f34fa4b"],["5d589993c"],["a9f0e8e5a"],["d217b2c36"],["e1b120a8c"]],"commits":[],"cves":[],"db_id":"142ca0a40b457ad1a24e1409f08d8db7","html":"\u003cp\u003eIn \u003cspan\u003epg_dump\u003c/span\u003e, dump locally-made changes of privilege assignments for system objects (Stephen Frost)\u003c/p\u003e\n\u003cp\u003eWhile it has always been possible for a superuser to change the privilege assignments for built-in or extension-created objects, such changes were formerly lost in a dump and reload. Now, \u003cspan\u003epg_dump\u003c/span\u003e recognizes and dumps such changes. (This works only when dumping from a 9.6 or later server, however.)\u003c/p\u003e","id":"9.6.0-ea8b29b1e8ff5490","identity_text":"In pg_dump, dump locally-made changes of privilege assignments for system objects (Stephen Frost) While it has always been possible for a superuser to change the privilege assignments for built-in or extension-created objects, such changes were formerly lost in a dump and reload. Now, pg_dump recognizes and dumps such changes. (This works only when dumping from a 9.6 or later server, however.)","part":"changes","patch_ids":["1a0e24e598e96ffcce8ce98651a4642c","26f9cf7d18d482b0943ac7665a2e0ee5","4a80b996959f79fbdf6023b9b6efc64b","99902c0c7312000e26027171d3590a6b","999f276322a117aeab6d1d38a3d02ffc"],"related_changes":[],"relations":[],"section":"Client Applications","section_path":["Client Applications"],"source_commits":["23f34fa4b","5d589993c","a9f0e8e5a","d217b2c36","e1b120a8c"],"source_entry_id":"9.6.0/changes/131","source_hash":"d3ed9efe38a355f2a40c1c71a70fb407a0d1a99966214529b9d9ca5996624ff3","source_url":"/docs/release/9.6.0/#AEN137056","statement_hash":"b76eba8cf54112ee6a1c06e3b8714c55d0b2a2cdb456c648271357191e9af1e9","text":"In pg_dump, dump locally-made changes of privilege assignments for system objects (Stephen Frost) While it has always been possible for a superuser to change the privilege assignments for built-in or extension-created objects, such changes were formerly lost in a dump and reload. Now, pg_dump recognizes and dumps such changes. (This works only when dumping from a 9.6 or later server, however.)","title":"In pg_dump, dump locally-made changes of privilege assignments for system objects","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["31eb14504"],"commit_groups":[["31eb14504"]],"commits":[],"cves":[],"db_id":"64e402daa5f824d8c890f64d278a5ccb","html":"\u003cp\u003eAllow \u003cspan\u003epg_dump\u003c/span\u003e to dump non-extension-owned objects that are within an extension-owned schema (Martín Marqués)\u003c/p\u003e\n\u003cp\u003ePreviously such objects were ignored because they were mistakenly assumed to belong to the extension owning their schema.\u003c/p\u003e","id":"9.6.0-0f704337d2868c05","identity_text":"Allow pg_dump to dump non-extension-owned objects that are within an extension-owned schema (Martín Marqués) Previously such objects were ignored because they were mistakenly assumed to belong to the extension owning their schema.","part":"changes","patch_ids":["b056468fb15a63e1af2c10c1c8449cbd"],"related_changes":[],"relations":[],"section":"Client Applications","section_path":["Client Applications"],"source_commits":["31eb14504"],"source_entry_id":"9.6.0/changes/132","source_hash":"c2284af97cd92606c14cdcb7d4b5bb10c48e4eaced6b0c4ef91aac4fd1f18785","source_url":"/docs/release/9.6.0/#AEN137056","statement_hash":"4e422c8487740d2f57a1e287fe45f88935b493d43a83c645e797768f3ee2445f","text":"Allow pg_dump to dump non-extension-owned objects that are within an extension-owned schema (Martín Marqués) Previously such objects were ignored because they were mistakenly assumed to belong to the extension owning their schema.","title":"Allow pg_dump to dump non-extension-owned objects that are within an extension-owned schema","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["3b3fcc4ee"],"commit_groups":[["3b3fcc4ee"]],"commits":[],"cves":[],"db_id":"9ac1d4e547c515fdc4ecc8882afc32d5","html":"\u003cp\u003eIn \u003cspan\u003epg_dump\u003c/span\u003e output, include the table name in object tags for object types that are only uniquely named per-table (for example, triggers) (Peter Eisentraut)\u003c/p\u003e","id":"9.6.0-f1d8876c108a67f0","identity_text":"In pg_dump output, include the table name in object tags for object types that are only uniquely named per-table (for example, triggers) (Peter Eisentraut)","part":"changes","patch_ids":["d0ecb13d5b312d63f7ae41e86712210d"],"related_changes":[],"relations":[],"section":"Client Applications","section_path":["Client Applications"],"source_commits":["3b3fcc4ee"],"source_entry_id":"9.6.0/changes/133","source_hash":"1f8747a211e644794b8d1c8608152a7afca52a86f6b829d62f219c524affffb7","source_url":"/docs/release/9.6.0/#AEN137056","statement_hash":"4952f5e0ebf88aa7babd8698d3da2c8c17d524f0fd24f70f85d56c7659cc726f","text":"In pg_dump output, include the table name in object tags for object types that are only uniquely named per-table (for example, triggers) (Peter Eisentraut)","title":"In pg_dump output, include the table name in object tags for object types that are only uniquely named per-table (for example, triggers)","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["d5563d7df"],"commit_groups":[["d5563d7df"]],"commits":[],"cves":[],"db_id":"a00cd5070d8809c80e20264fef692640","html":"\u003cp\u003eSupport multiple -c and -f command-line options (Pavel Stehule, Catalin Iacob)\u003c/p\u003e\n\u003cp\u003eThe specified operations are carried out in the order in which the options are given, and then \u003cspan\u003epsql\u003c/span\u003e terminates.\u003c/p\u003e","id":"9.6.0-ba9ec58b94716045","identity_text":"Support multiple -c and -f command-line options (Pavel Stehule, Catalin Iacob) The specified operations are carried out in the order in which the options are given, and then psql terminates.","part":"changes","patch_ids":["d44cc20a573665822f6c5b3fb2de7086"],"related_changes":[{"db_id":"fc511d32b5b42f2b7b4101c635c29f52","evidence":{"patch_ids":["d44cc20a573665822f6c5b3fb2de7086"],"same_day":true},"kind":"related","label":"9.6","source_url":"/docs/release/9.6.0/#AEN136178","title":"psql's -c option no longer implies --no-psqlrc","url":"/docs/compare/?release=9.6.0#9.6.0-e978351ed69c8ec5","version":"9.6.0"}],"relations":[{"evidence":{"patch_ids":["d44cc20a573665822f6c5b3fb2de7086"],"same_day":true},"rule":2,"target":"fc511d32b5b42f2b7b4101c635c29f52","type":"related"}],"section":"Client Applications / psql","section_path":["Client Applications","psql"],"source_commits":["d5563d7df"],"source_entry_id":"9.6.0/changes/134","source_hash":"a6b87235492e0727d5ef2688852d2d29fa775112e843595d9a107b2f98bd22ed","source_url":"/docs/release/9.6.0/#AEN137081","statement_hash":"43ae0499f1f2e7df22ed6d6d1204117f6a21ec435e4b53869f009d78e11c7c25","text":"Support multiple -c and -f command-line options (Pavel Stehule, Catalin Iacob) The specified operations are carried out in the order in which the options are given, and then psql terminates.","title":"Support multiple -c and -f command-line options","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["c09b18f21"],"commit_groups":[["c09b18f21"]],"commits":[],"cves":[],"db_id":"99b44967b787fc4880b59d893f9ef1eb","html":"\u003cp\u003eAdd a \\crosstabview command that prints the results of a query in a cross-tabulated display (Daniel Vérité)\u003c/p\u003e\n\u003cp\u003eIn the crosstab display, data values from one query result column are placed in a grid whose column and row headers come from other query result columns.\u003c/p\u003e","id":"9.6.0-d5bf7fb415a366a2","identity_text":"Add a \\crosstabview command that prints the results of a query in a cross-tabulated display (Daniel Vérité) In the crosstab display, data values from one query result column are placed in a grid whose column and row headers come from other query result columns.","part":"changes","patch_ids":["389a608e7f10beb766c810954e8247aa"],"related_changes":[],"relations":[],"section":"Client Applications / psql","section_path":["Client Applications","psql"],"source_commits":["c09b18f21"],"source_entry_id":"9.6.0/changes/135","source_hash":"581566586196ac7b2c91d05c07620e4557ec7a00d1b12cb9747ff7cb2cb36121","source_url":"/docs/release/9.6.0/#AEN137081","statement_hash":"5819b47c4fe96136ccb910dcc47e206173d991771da05c3439254f9160db633a","text":"Add a \\crosstabview command that prints the results of a query in a cross-tabulated display (Daniel Vérité) In the crosstab display, data values from one query result column are placed in a grid whose column and row headers come from other query result columns.","title":"Add a \\crosstabview command that prints the results of a query in a cross-tabulated display","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["3cc38ca7d"],"commit_groups":[["3cc38ca7d"]],"commits":[],"cves":[],"db_id":"f65aea8a9f7830d41e78308e6d581d6c","html":"\u003cp\u003eAdd an \\errverbose command that shows the last server error at full verbosity (Alex Shulgin)\u003c/p\u003e\n\u003cp\u003eThis is useful after getting an unexpected error — you no longer need to adjust the VERBOSITY variable and recreate the failure in order to see error fields that are not shown by default.\u003c/p\u003e","id":"9.6.0-1798039c83ca5f85","identity_text":"Add an \\errverbose command that shows the last server error at full verbosity (Alex Shulgin) This is useful after getting an unexpected error — you no longer need to adjust the VERBOSITY variable and recreate the failure in order to see error fields that are not shown by default.","part":"changes","patch_ids":["2053351b9390efd4d211c7613aa93408"],"related_changes":[],"relations":[],"section":"Client Applications / psql","section_path":["Client Applications","psql"],"source_commits":["3cc38ca7d"],"source_entry_id":"9.6.0/changes/136","source_hash":"a29d495ca8815ce832d497be3b732c92cb3befdc1cdc901dfe77586109fdb7be","source_url":"/docs/release/9.6.0/#AEN137081","statement_hash":"b49fa0fc4592037f44760c1d3219bc451a787cc7006c1c59013f2478f9913306","text":"Add an \\errverbose command that shows the last server error at full verbosity (Alex Shulgin) This is useful after getting an unexpected error — you no longer need to adjust the VERBOSITY variable and recreate the failure in order to see error fields that are not shown by default.","title":"Add an \\errverbose command that shows the last server error at full verbosity","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["8eb6407aa","9b66aa006"],"commit_groups":[["8eb6407aa"],["9b66aa006"]],"commits":[],"cves":[],"db_id":"83abb57c3a2f2468865b62d467be1f8a","html":"\u003cp\u003eAdd \\ev and \\sv commands for editing and showing view definitions (Petr Korobeinikov)\u003c/p\u003e\n\u003cp\u003eThese are parallel to the existing \\ef and \\sf commands for functions.\u003c/p\u003e","id":"9.6.0-514c6ae9e9fd942e","identity_text":"Add \\ev and \\sv commands for editing and showing view definitions (Petr Korobeinikov) These are parallel to the existing \\ef and \\sf commands for functions.","part":"changes","patch_ids":["3868372185aa6c6aeab2923ea526fa24","b7ae541d5d06e269b99ef2bddb43e6c9"],"related_changes":[],"relations":[],"section":"Client Applications / psql","section_path":["Client Applications","psql"],"source_commits":["8eb6407aa","9b66aa006"],"source_entry_id":"9.6.0/changes/137","source_hash":"b630a27c5e251225fd0dfa70b352147c6211f126b1ca3a359dcb5a636b9d78de","source_url":"/docs/release/9.6.0/#AEN137081","statement_hash":"f03c2b2de51428c3fffc5de3f3fbce33e40afe490c3b000e1400a67094320e84","text":"Add \\ev and \\sv commands for editing and showing view definitions (Petr Korobeinikov) These are parallel to the existing \\ef and \\sf commands for functions.","title":"Add \\ev and \\sv commands for editing and showing view definitions","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["2bbe9112a"],"commit_groups":[["2bbe9112a"]],"commits":[],"cves":[],"db_id":"13b38e8c361fd3dff4289c090270f559","html":"\u003cp\u003eAdd a \\gexec command that executes a query and re-submits the result(s) as new queries (Corey Huinker)\u003c/p\u003e","id":"9.6.0-4dd49b60945c0461","identity_text":"Add a \\gexec command that executes a query and re-submits the result(s) as new queries (Corey Huinker)","part":"changes","patch_ids":["2f8405206c072d309dbc3aeb0c323ac3"],"related_changes":[],"relations":[],"section":"Client Applications / psql","section_path":["Client Applications","psql"],"source_commits":["2bbe9112a"],"source_entry_id":"9.6.0/changes/138","source_hash":"e0019830489fc28e7a05b8728e5e5cffadf1b7ac5f219fef709826f14c9b4eff","source_url":"/docs/release/9.6.0/#AEN137081","statement_hash":"1ab6c2ef37b9fe414f1fdb7558ef23a78d9357493b47c3affd42354161f275a8","text":"Add a \\gexec command that executes a query and re-submits the result(s) as new queries (Corey Huinker)","title":"Add a \\gexec command that executes a query and re-submits the result(s) as new queries","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["2145a7660"],"commit_groups":[["2145a7660"]],"commits":[],"cves":[],"db_id":"5b2c59e3ef783348321ee863b66ddcbd","html":"\u003cp\u003eAllow \\pset C \u003ci\u003estring\u003c/i\u003e to set the table title, for consistency with \\C \u003ci\u003estring\u003c/i\u003e (Bruce Momjian)\u003c/p\u003e","id":"9.6.0-aa61711254b68a3d","identity_text":"Allow \\pset C string to set the table title, for consistency with \\C string (Bruce Momjian)","part":"changes","patch_ids":["4eae0019bd4ae26b427194a17a6194d2"],"related_changes":[],"relations":[],"section":"Client Applications / psql","section_path":["Client Applications","psql"],"source_commits":["2145a7660"],"source_entry_id":"9.6.0/changes/139","source_hash":"5cba1f213b9641fc6a8051ddd363396abd8f2c09b232a228a32799e9bd5e6e77","source_url":"/docs/release/9.6.0/#AEN137081","statement_hash":"60e5888afc7542df3dd9924725a2f7648a5dd9df54e46c46d08e1331d94e7328","text":"Allow \\pset C string to set the table title, for consistency with \\C string (Bruce Momjian)","title":"Allow \\pset C string to set the table title, for consistency with \\C string","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["69ab7b9d6"],"commit_groups":[["69ab7b9d6"]],"commits":[],"cves":[],"db_id":"8abfc6a1a2a65789fe6afdb88982ed32","html":"\u003cp\u003eIn \\pset expanded auto mode, do not use expanded format for query results with only one column (Andreas Karlsson, Robert Haas)\u003c/p\u003e","id":"9.6.0-d81de0828e8b4f8b","identity_text":"In \\pset expanded auto mode, do not use expanded format for query results with only one column (Andreas Karlsson, Robert Haas)","part":"changes","patch_ids":["14677e6ecf21ee4992f7f1efe5882ce2"],"related_changes":[],"relations":[],"section":"Client Applications / psql","section_path":["Client Applications","psql"],"source_commits":["69ab7b9d6"],"source_entry_id":"9.6.0/changes/140","source_hash":"5f6b203f8885baae7f1c4226e9b1b1dc2e8f8df3290f400347b45de09cdcad70","source_url":"/docs/release/9.6.0/#AEN137081","statement_hash":"7c29b329b393c90630e6b1c3cebc52ad0e561f64cf3ecd3c5984f745d4a25a9b","text":"In \\pset expanded auto mode, do not use expanded format for query results with only one column (Andreas Karlsson, Robert Haas)","title":"In \\pset expanded auto mode, do not use expanded format for query results with only one column","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["9901d8ac2","dea2b5960"],"commit_groups":[["9901d8ac2"],["dea2b5960"]],"commits":[],"cves":[],"db_id":"e12ebbbcfb1e473a752cbf58b3efec44","html":"\u003cp\u003eImprove the headers output by the \\watch command (Michael Paquier, Tom Lane)\u003c/p\u003e\n\u003cp\u003eInclude the \\pset title string if one has been set, and shorten the prefabricated part of the header to be \u003ci\u003etimestamp\u003c/i\u003e (every \u003ci\u003eN\u003c/i\u003es). Also, the timestamp format now obeys \u003cspan\u003epsql\u003c/span\u003e's locale environment.\u003c/p\u003e","id":"9.6.0-18a873fe4ab44d45","identity_text":"Improve the headers output by the \\watch command (Michael Paquier, Tom Lane) Include the \\pset title string if one has been set, and shorten the prefabricated part of the header to be timestamp (every Ns). Also, the timestamp format now obeys psql's locale environment.","part":"changes","patch_ids":["e6282ba04f2ac2ae963aea42ec2b20fd","f81ca2da842e7def570a364ed369b64a"],"related_changes":[],"relations":[],"section":"Client Applications / psql","section_path":["Client Applications","psql"],"source_commits":["9901d8ac2","dea2b5960"],"source_entry_id":"9.6.0/changes/141","source_hash":"771c2e16f3821c8e8c8c1de4179440a3cdfa99afb853cc66dc3835705b69ce13","source_url":"/docs/release/9.6.0/#AEN137081","statement_hash":"c50cca28d460b4559b52f4a1621a66a72dbc928747eaac1a423299f0f99e3885","text":"Improve the headers output by the \\watch command (Michael Paquier, Tom Lane) Include the \\pset title string if one has been set, and shorten the prefabricated part of the header to be timestamp (every Ns). Also, the timestamp format now obeys psql's locale environment.","title":"Improve the headers output by the \\watch command","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["d854118c8"],"commit_groups":[["d854118c8"]],"commits":[],"cves":[],"db_id":"85b9e3fd91229fb81ed1483d090cb620","html":"\u003cp\u003eImprove tab-completion logic to consider the entire input query, not only the current line (Tom Lane)\u003c/p\u003e\n\u003cp\u003ePreviously, breaking a command into multiple lines defeated any tab completion rules that needed to see words on earlier lines.\u003c/p\u003e","id":"9.6.0-d26596f8d25d5d43","identity_text":"Improve tab-completion logic to consider the entire input query, not only the current line (Tom Lane) Previously, breaking a command into multiple lines defeated any tab completion rules that needed to see words on earlier lines.","part":"changes","patch_ids":["81ebdaa825ab83fe4b44f0a1a82f0247"],"related_changes":[],"relations":[],"section":"Client Applications / psql","section_path":["Client Applications","psql"],"source_commits":["d854118c8"],"source_entry_id":"9.6.0/changes/142","source_hash":"148e053f2ef699a83d80efdce5f10bb0d1ee6fa7f301c3ebbf9187295bf9a6ce","source_url":"/docs/release/9.6.0/#AEN137081","statement_hash":"23130b5f4b29dc8b3ee9ba3518eb06e80cf7a10ebfd5f37bbe4948d181c3d710","text":"Improve tab-completion logic to consider the entire input query, not only the current line (Tom Lane) Previously, breaking a command into multiple lines defeated any tab completion rules that needed to see words on earlier lines.","title":"Improve tab-completion logic to consider the entire input query, not only the current line","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["158e3bc8e","2f8880704","3ae16798f","4189e3d65","6ae4c8de0","7c0b49cd0","8014c44e8","879d71393","89611c4df","b1bfb28b5","bc56d5898","bf4817e4f","d0f2f53cd"],"commit_groups":[["158e3bc8e"],["2f8880704"],["3ae16798f"],["4189e3d65"],["6ae4c8de0"],["7c0b49cd0"],["8014c44e8"],["879d71393"],["89611c4df"],["b1bfb28b5"],["bc56d5898"],["bf4817e4f"],["d0f2f53cd"]],"commits":[],"cves":[],"db_id":"890cf3f25e614891e6c297b7bed6c45c","html":"\u003cp\u003eNumerous minor improvements in tab-completion behavior (Peter Eisentraut, Vik Fearing, Kevin Grittner, Kyotaro Horiguchi, Jeff Janes, Andreas Karlsson, Fujii Masao, Thomas Munro, Masahiko Sawada, Pavel Stehule)\u003c/p\u003e","id":"9.6.0-b052e91210e761f7","identity_text":"Numerous minor improvements in tab-completion behavior (Peter Eisentraut, Vik Fearing, Kevin Grittner, Kyotaro Horiguchi, Jeff Janes, Andreas Karlsson, Fujii Masao, Thomas Munro, Masahiko Sawada, Pavel Stehule)","part":"changes","patch_ids":["0b1c38e540a7e03892e9f14b1b897722","21141fccf90e7dd21137e027f13ed5e6","3992266ad10cd06087d9e2a49f0b618f","507b4e10ca81725e7cf6d3b5c8f4e1c9","5e8bee78ae141f022d6734540f85116a","6a6f014629fcdb0d63b8d8969f19094f","742439f7e626dd769cef05107838f1e9","87af778d6d2b2f1ba5be49ab16753fc8","8c61790bd82215d681e6ff3c4b517c3f","b45cc9df873940c23dafa9841a0b770c","d87a9468bcc63aacc58d565724e120ed","e538efdcf5de8219d0bd42c02db56adb","eac046aa32905bab19b9c6f4534bc8ba"],"related_changes":[],"relations":[],"section":"Client Applications / psql","section_path":["Client Applications","psql"],"source_commits":["158e3bc8e","2f8880704","3ae16798f","4189e3d65","6ae4c8de0","7c0b49cd0","8014c44e8","879d71393","89611c4df","b1bfb28b5","bc56d5898","bf4817e4f","d0f2f53cd"],"source_entry_id":"9.6.0/changes/143","source_hash":"4b41641bfdc9fef3b5ed1c5a325610d839282f0099ef218895e3ae80804492cd","source_url":"/docs/release/9.6.0/#AEN137081","statement_hash":"2fd1722b78d02355cd7d471916a516e48c63154412c6b52b84ad75a782356c4c","text":"Numerous minor improvements in tab-completion behavior (Peter Eisentraut, Vik Fearing, Kevin Grittner, Kyotaro Horiguchi, Jeff Janes, Andreas Karlsson, Fujii Masao, Thomas Munro, Masahiko Sawada, Pavel Stehule)","title":"Numerous minor improvements in tab-completion behavior","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["275f05c99"],"commit_groups":[["275f05c99"]],"commits":[],"cves":[],"db_id":"c1c80a3e6757f4a8d607b26fc3f7cddf","html":"\u003cp\u003eAdd a PROMPT option %p to insert the process ID of the connected backend (Julien Rouhaud)\u003c/p\u003e","id":"9.6.0-a7176ac4495488ff","identity_text":"Add a PROMPT option %p to insert the process ID of the connected backend (Julien Rouhaud)","part":"changes","patch_ids":["c3dfc549d612d53294a2c4b578e01d2e"],"related_changes":[],"relations":[],"section":"Client Applications / psql","section_path":["Client Applications","psql"],"source_commits":["275f05c99"],"source_entry_id":"9.6.0/changes/144","source_hash":"b4b97c0a15ba79420ade01a0b4313bd91219acd9254d134bf186ed43186fe980","source_url":"/docs/release/9.6.0/#AEN137081","statement_hash":"e6188876ae56b5ad043c4dcb47f755e41e6067f981e5280001566fbfc255066e","text":"Add a PROMPT option %p to insert the process ID of the connected backend (Julien Rouhaud)","title":"Add a PROMPT option %p to insert the process ID of the connected backend","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["0426f349e"],"commit_groups":[["0426f349e"]],"commits":[],"cves":[],"db_id":"3ce123ea6c2d6bd34288d178655446b8","html":"\u003cp\u003eIntroduce a feature whereby the CONTEXT field of messages can be suppressed, either always or only for non-error messages (Pavel Stehule)\u003c/p\u003e\n\u003cp\u003ePrinting CONTEXT only for errors is now the default behavior. This can be changed by setting the special variable SHOW_CONTEXT.\u003c/p\u003e","id":"9.6.0-1b1310419fe4d9b3","identity_text":"Introduce a feature whereby the CONTEXT field of messages can be suppressed, either always or only for non-error messages (Pavel Stehule) Printing CONTEXT only for errors is now the default behavior. This can be changed by setting the special variable SHOW_CONTEXT.","part":"changes","patch_ids":["d674faf49d479be5cc744274d9634d04"],"related_changes":[{"db_id":"38f5670a2a48e398fc5f56296717be27","evidence":{"ambiguous_patch_ids":["d674faf49d479be5cc744274d9634d04"],"patch_ids":["d674faf49d479be5cc744274d9634d04"],"same_day":true},"kind":"related","label":"9.6","source_url":"/docs/release/9.6.0/#AEN137021","title":"Introduce a feature in libpq whereby the CONTEXT field of messages can be suppressed, either always or only for non-error messages","url":"/docs/compare/?release=9.6.0#9.6.0-e71bca0e25865361","version":"9.6.0"},{"db_id":"170b1fefcffcedda9461e5d56803fec1","evidence":{"ambiguous_patch_ids":["d674faf49d479be5cc744274d9634d04"],"patch_ids":["d674faf49d479be5cc744274d9634d04"],"same_day":true},"kind":"related","label":"9.6","source_url":"/docs/release/9.6.0/#AEN136178","title":"Remove PL/pgSQL's \"feature\" that suppressed the innermost line of CONTEXT for messages emitted by RAISE commands","url":"/docs/compare/?release=9.6.0#9.6.0-2da6c2a69bcc87a1","version":"9.6.0"}],"relations":[{"evidence":{"ambiguous_patch_ids":["d674faf49d479be5cc744274d9634d04"],"patch_ids":["d674faf49d479be5cc744274d9634d04"],"same_day":true},"rule":2,"target":"170b1fefcffcedda9461e5d56803fec1","type":"related"},{"evidence":{"ambiguous_patch_ids":["d674faf49d479be5cc744274d9634d04"],"patch_ids":["d674faf49d479be5cc744274d9634d04"],"same_day":true},"rule":2,"target":"38f5670a2a48e398fc5f56296717be27","type":"related"}],"section":"Client Applications / psql","section_path":["Client Applications","psql"],"source_commits":["0426f349e"],"source_entry_id":"9.6.0/changes/145","source_hash":"cc5f4915430f84d0628cc9e29e45d24d81ef683de17e87d7d54a7c16c98398bb","source_url":"/docs/release/9.6.0/#AEN137081","statement_hash":"a7fde02d87c498a1365675c15da9c7f859adfe490cf5ba2535dd96fd3e990b57","text":"Introduce a feature whereby the CONTEXT field of messages can be suppressed, either always or only for non-error messages (Pavel Stehule) Printing CONTEXT only for errors is now the default behavior. This can be changed by setting the special variable SHOW_CONTEXT.","title":"Introduce a feature whereby the CONTEXT field of messages can be suppressed, either always or only for non-error messages","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["a670c24c3"],"commit_groups":[["a670c24c3"]],"commits":[],"cves":[],"db_id":"e6321fc264f0ba9c568779146505c86f","html":"\u003cp\u003eMake \\df+ show function access privileges and parallel-safety attributes (Michael Paquier)\u003c/p\u003e","id":"9.6.0-fcdc763824c388de","identity_text":"Make \\df+ show function access privileges and parallel-safety attributes (Michael Paquier)","part":"changes","patch_ids":["5c582cc984b841628b2b38da00233637"],"related_changes":[],"relations":[],"section":"Client Applications / psql","section_path":["Client Applications","psql"],"source_commits":["a670c24c3"],"source_entry_id":"9.6.0/changes/146","source_hash":"1ed212e91fb3c5ae4e5b5e767e49675baf5f1715f54b4528b3ad87e23334b3be","source_url":"/docs/release/9.6.0/#AEN137081","statement_hash":"bf6d308d614e5a4dd9ee8adecdfc59f73a06e205c092e8c21cf5d174bcfedfde","text":"Make \\df+ show function access privileges and parallel-safety attributes (Michael Paquier)","title":"Make \\df+ show function access privileges and parallel-safety attributes","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["68ab8e8ba"],"commit_groups":[["68ab8e8ba"]],"commits":[],"cves":[],"db_id":"fd5a866c5fbdfd2c9df3696526558d59","html":"\u003cp\u003eSQL commands in \u003cspan\u003epgbench\u003c/span\u003e scripts are now ended by semicolons, not newlines (Kyotaro Horiguchi, Tom Lane)\u003c/p\u003e\n\u003cp\u003eThis change allows SQL commands in scripts to span multiple lines. Existing custom scripts will need to be modified to add a semicolon at the end of each line that does not have one already. (Doing so does not break the script for use with older versions of \u003cspan\u003epgbench\u003c/span\u003e.)\u003c/p\u003e","id":"9.6.0-931370aba0846e3f","identity_text":"SQL commands in pgbench scripts are now ended by semicolons, not newlines (Kyotaro Horiguchi, Tom Lane) This change allows SQL commands in scripts to span multiple lines. Existing custom scripts will need to be modified to add a semicolon at the end of each line that does not have one already. (Doing so does not break the script for use with older versions of pgbench.)","part":"changes","patch_ids":["81009f194d31f4fad5d256756a7d8831"],"related_changes":[],"relations":[],"section":"Client Applications / pgbench","section_path":["Client Applications","pgbench"],"source_commits":["68ab8e8ba"],"source_entry_id":"9.6.0/changes/147","source_hash":"3f0f6e700f5fc0539cc665d2c6239f58a22aa45e0a84b2074090fa00acacc479","source_url":"/docs/release/9.6.0/#AEN137146","statement_hash":"a1366f9ccf7a88dbcc3288006ee4563d93254c61db48720828141f25bf56c5f7","text":"SQL commands in pgbench scripts are now ended by semicolons, not newlines (Kyotaro Horiguchi, Tom Lane) This change allows SQL commands in scripts to span multiple lines. Existing custom scripts will need to be modified to add a semicolon at the end of each line that does not have one already. (Doing so does not break the script for use with older versions of pgbench.)","title":"SQL commands in pgbench scripts are now ended by semicolons, not newlines","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["7a622b273","7e137f846","86c43f4e2","951529948"],"commit_groups":[["7a622b273"],["7e137f846"],["86c43f4e2"],["951529948"]],"commits":[],"cves":[],"db_id":"09ebeaa832cb7ee34c85f28befdb2fdc","html":"\u003cp\u003eSupport floating-point arithmetic, as well as some \u003ca href=\"/docs/9.6/pgbench.html#PGBENCH-BUILTIN-FUNCTIONS\"\u003ebuilt-in functions\u003c/a\u003e, in expressions in backslash commands (Fabien Coelho)\u003c/p\u003e","id":"9.6.0-7cc6a57790e0bd9f","identity_text":"Support floating-point arithmetic, as well as some built-in functions, in expressions in backslash commands (Fabien Coelho)","part":"changes","patch_ids":["1450f363f45566482791b61246e24cbc","94c5df2c011edfee2176eabc57fa2832","c69560be041b259ad142c5b1e1135189","dc43c46380ffb2e4c582717d665d6d01"],"related_changes":[],"relations":[],"section":"Client Applications / pgbench","section_path":["Client Applications","pgbench"],"source_commits":["7a622b273","7e137f846","86c43f4e2","951529948"],"source_entry_id":"9.6.0/changes/148","source_hash":"7ef100f63d66a03816795016bcd60b9837000cfd3c131cf1ac99736bb4dd59ce","source_url":"/docs/release/9.6.0/#AEN137146","statement_hash":"411871e5186918fcc9100028c18749b64dbf9953493bb98bbb6ce4f5eff62ba7","text":"Support floating-point arithmetic, as well as some built-in functions, in expressions in backslash commands (Fabien Coelho)","title":"Support floating-point arithmetic, as well as some built-in functions, in expressions in backslash commands","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["ad9566470"],"commit_groups":[["ad9566470"]],"commits":[],"cves":[],"db_id":"f8da612b81ff368f05b4ac9d5e63af2f","html":"\u003cp\u003eReplace \\setrandom with built-in functions (Fabien Coelho)\u003c/p\u003e\n\u003cp\u003eThe new built-in functions include \u003ca href=\"/docs/9.6/pgbench.html#PGBENCH-FUNCTIONS\"\u003e\u003ccode\u003erandom()\u003c/code\u003e\u003c/a\u003e, \u003ccode\u003erandom_exponential()\u003c/code\u003e, and \u003ccode\u003erandom_gaussian()\u003c/code\u003e, which perform the same work as \\setrandom, but are easier to use since they can be embedded in larger expressions. Since these additions have made \\setrandom obsolete, remove it.\u003c/p\u003e","id":"9.6.0-73718c6a5e8d414d","identity_text":"Replace \\setrandom with built-in functions (Fabien Coelho) The new built-in functions include random(), random_exponential(), and random_gaussian(), which perform the same work as \\setrandom, but are easier to use since they can be embedded in larger expressions. Since these additions have made \\setrandom obsolete, remove it.","part":"changes","patch_ids":["701282bc1ba12851268c8a97cfa4c03a"],"related_changes":[],"relations":[],"section":"Client Applications / pgbench","section_path":["Client Applications","pgbench"],"source_commits":["ad9566470"],"source_entry_id":"9.6.0/changes/149","source_hash":"e9ad1d51e2f6f024233a82bdcb22bc3a82c74969d49aad90f19e6d53218de6de","source_url":"/docs/release/9.6.0/#AEN137146","statement_hash":"c421273622030eed1f43259f2267e7adb03554095a7c2fc72a526c755f84d5a5","text":"Replace \\setrandom with built-in functions (Fabien Coelho) The new built-in functions include random(), random_exponential(), and random_gaussian(), which perform the same work as \\setrandom, but are easier to use since they can be embedded in larger expressions. Since these additions have made \\setrandom obsolete, remove it.","title":"Replace \\setrandom with built-in functions","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["8bea3d221","d561f1cae"],"commit_groups":[["8bea3d221"],["d561f1cae"]],"commits":[],"cves":[],"db_id":"080ef0e74108d8ae9cf4997036ea0543","html":"\u003cp\u003eAllow invocation of multiple copies of the built-in scripts, not only custom scripts (Fabien Coelho)\u003c/p\u003e\n\u003cp\u003eThis is done with the new -b switch, which works similarly to -f for custom scripts.\u003c/p\u003e","id":"9.6.0-0ebfd044200f73e8","identity_text":"Allow invocation of multiple copies of the built-in scripts, not only custom scripts (Fabien Coelho) This is done with the new -b switch, which works similarly to -f for custom scripts.","part":"changes","patch_ids":["19f4270e318911306c5b014e47790051","9a323d7b78b3e13481a691c26383ebf3"],"related_changes":[],"relations":[],"section":"Client Applications / pgbench","section_path":["Client Applications","pgbench"],"source_commits":["8bea3d221","d561f1cae"],"source_entry_id":"9.6.0/changes/150","source_hash":"74bf1260519b8675abaecdd890f3b860783149121c5dd265627d2b6a71059da0","source_url":"/docs/release/9.6.0/#AEN137146","statement_hash":"5cb113b4f39eda62e7c889fbbb582c1c894392b192e21556259d5fe874c5e639","text":"Allow invocation of multiple copies of the built-in scripts, not only custom scripts (Fabien Coelho) This is done with the new -b switch, which works similarly to -f for custom scripts.","title":"Allow invocation of multiple copies of the built-in scripts, not only custom scripts","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["7bafffea6","970300faa"],"commit_groups":[["7bafffea6"],["970300faa"]],"commits":[],"cves":[],"db_id":"64b3406d8d2c9044c9fbf97c64de9470","html":"\u003cp\u003eAllow changing the selection probabilities (weights) for scripts (Fabien Coelho)\u003c/p\u003e\n\u003cp\u003eWhen multiple scripts are specified, each \u003cspan\u003epgbench\u003c/span\u003e transaction randomly chooses one to execute. Formerly this was always done with uniform probability, but now different selection probabilities can be specified for different scripts.\u003c/p\u003e","id":"9.6.0-962a4079e6f751ee","identity_text":"Allow changing the selection probabilities (weights) for scripts (Fabien Coelho) When multiple scripts are specified, each pgbench transaction randomly chooses one to execute. Formerly this was always done with uniform probability, but now different selection probabilities can be specified for different scripts.","part":"changes","patch_ids":["bf433b1823801515835a61d4a5d99c58","ce4dc28b741efa3b9a0cff9474a9aeac"],"related_changes":[],"relations":[],"section":"Client Applications / pgbench","section_path":["Client Applications","pgbench"],"source_commits":["7bafffea6","970300faa"],"source_entry_id":"9.6.0/changes/151","source_hash":"0558ed5cc6b6fd4f4255832c5dd0448febdd7d2b24aded5c6d6eca0ed6316c47","source_url":"/docs/release/9.6.0/#AEN137146","statement_hash":"bc16596c8197d052b47e9c1ffc80ed113e741f6baa4ec311c8005be13c60bbc7","text":"Allow changing the selection probabilities (weights) for scripts (Fabien Coelho) When multiple scripts are specified, each pgbench transaction randomly chooses one to execute. Formerly this was always done with uniform probability, but now different selection probabilities can be specified for different scripts.","title":"Allow changing the selection probabilities (weights) for scripts","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["1d0c3b3f8"],"commit_groups":[["1d0c3b3f8"]],"commits":[],"cves":[],"db_id":"b51daaf486a2ef30d6731f85c12b338c","html":"\u003cp\u003eCollect statistics for each script in a multi-script run (Fabien Coelho)\u003c/p\u003e\n\u003cp\u003eThis feature adds an intermediate level of detail to existing global and per-command statistics printouts.\u003c/p\u003e","id":"9.6.0-dc251ca008e63e70","identity_text":"Collect statistics for each script in a multi-script run (Fabien Coelho) This feature adds an intermediate level of detail to existing global and per-command statistics printouts.","part":"changes","patch_ids":["a77bd6f199e71f5ba805460f4797573d"],"related_changes":[],"relations":[],"section":"Client Applications / pgbench","section_path":["Client Applications","pgbench"],"source_commits":["1d0c3b3f8"],"source_entry_id":"9.6.0/changes/152","source_hash":"a8df2b20d56d973e6b1f1d81a235ff764076a6171c421e70d91578e7c1637300","source_url":"/docs/release/9.6.0/#AEN137146","statement_hash":"57d1bc05b48f3598375a443bb8f8fb8282e7914ce7fb5c72297d98896bafbaf7","text":"Collect statistics for each script in a multi-script run (Fabien Coelho) This feature adds an intermediate level of detail to existing global and per-command statistics printouts.","title":"Collect statistics for each script in a multi-script run","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["1def9063c"],"commit_groups":[["1def9063c"]],"commits":[],"cves":[],"db_id":"8ccf638b4321a3d5968c8b4de23e4b47","html":"\u003cp\u003eAdd a --progress-timestamp option to report progress with Unix epoch timestamps, instead of time since the run started (Fabien Coelho)\u003c/p\u003e","id":"9.6.0-840f5a47e8392b28","identity_text":"Add a --progress-timestamp option to report progress with Unix epoch timestamps, instead of time since the run started (Fabien Coelho)","part":"changes","patch_ids":["f189d47217ecaa2b7cdbe0fe714142d3"],"related_changes":[],"relations":[],"section":"Client Applications / pgbench","section_path":["Client Applications","pgbench"],"source_commits":["1def9063c"],"source_entry_id":"9.6.0/changes/153","source_hash":"e421648d0c4674e9deb36d604420c27c037772f5fd6c845ed926f6732b4e4133","source_url":"/docs/release/9.6.0/#AEN137146","statement_hash":"4fdad26bd3ca79acb876639ee4f9dc8118d109faf081e071bc4d64646359abd3","text":"Add a --progress-timestamp option to report progress with Unix epoch timestamps, instead of time since the run started (Fabien Coelho)","title":"Add a --progress-timestamp option to report progress with Unix epoch timestamps, instead of time since the run started","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["ba3deeefb"],"commit_groups":[["ba3deeefb"]],"commits":[],"cves":[],"db_id":"0e43b89310cc4712bfa662fce94f6516","html":"\u003cp\u003eAllow the number of client connections (-c) to not be an exact multiple of the number of threads (-j) (Fabien Coelho)\u003c/p\u003e","id":"9.6.0-2a87121b2a595aca","identity_text":"Allow the number of client connections (-c) to not be an exact multiple of the number of threads (-j) (Fabien Coelho)","part":"changes","patch_ids":["b3301723f0184388ed774dc5bede1d29"],"related_changes":[],"relations":[],"section":"Client Applications / pgbench","section_path":["Client Applications","pgbench"],"source_commits":["ba3deeefb"],"source_entry_id":"9.6.0/changes/154","source_hash":"dca7920d1317f54e1dd5906fad58be5af3a85135058552e34ae0cf05b3522220","source_url":"/docs/release/9.6.0/#AEN137146","statement_hash":"7d4ab72f99eba4e5c9a11016a2d481c6118945ac56cae0d3a778ad224f62119b","text":"Allow the number of client connections (-c) to not be an exact multiple of the number of threads (-j) (Fabien Coelho)","title":"Allow the number of client connections (-c) to not be an exact multiple of the number of threads (-j)","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["accf7616f"],"commit_groups":[["accf7616f"]],"commits":[],"cves":[],"db_id":"db011a3cb21530aca8134e5ddec320d5","html":"\u003cp\u003eWhen the -T option is used, stop promptly at the end of the specified time (Fabien Coelho)\u003c/p\u003e\n\u003cp\u003ePreviously, specifying a low transaction rate could cause \u003cspan\u003epgbench\u003c/span\u003e to wait significantly longer than specified.\u003c/p\u003e","id":"9.6.0-9c8dec37e6d91348","identity_text":"When the -T option is used, stop promptly at the end of the specified time (Fabien Coelho) Previously, specifying a low transaction rate could cause pgbench to wait significantly longer than specified.","part":"changes","patch_ids":["acfcb1a9931e1b7c3776ccec20128834"],"related_changes":[],"relations":[],"section":"Client Applications / pgbench","section_path":["Client Applications","pgbench"],"source_commits":["accf7616f"],"source_entry_id":"9.6.0/changes/155","source_hash":"7affe89033845386c53d35449389513074043ac2d1c0e592da7d2b0d680b4d54","source_url":"/docs/release/9.6.0/#AEN137146","statement_hash":"f2614eaee16510f24c749ac409108caf4ae8df39f43757e979098bf02f0f51b2","text":"When the -T option is used, stop promptly at the end of the specified time (Fabien Coelho) Previously, specifying a low transaction rate could cause pgbench to wait significantly longer than specified.","title":"When the -T option is used, stop promptly at the end of the specified time","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["66d947b9d"],"commit_groups":[["66d947b9d"]],"commits":[],"cves":[],"db_id":"b24070e720c788555a888dc98b4c20e8","html":"\u003cp\u003eImprove error reporting during \u003cspan\u003einitdb\u003c/span\u003e's post-bootstrap phase (Tom Lane)\u003c/p\u003e\n\u003cp\u003ePreviously, an error here led to reporting the entire input file as the \u003cspan\u003e\"failing query\"\u003c/span\u003e; now just the current query is reported. To get the desired behavior, queries in \u003cspan\u003einitdb\u003c/span\u003e's input files must be separated by blank lines.\u003c/p\u003e","id":"9.6.0-ea9368e49851dbe3","identity_text":"Improve error reporting during initdb's post-bootstrap phase (Tom Lane) Previously, an error here led to reporting the entire input file as the failing query; now just the current query is reported. To get the desired behavior, queries in initdb's input files must be separated by blank lines.","part":"changes","patch_ids":["27c50a37cab63242436ea8eba8921880"],"related_changes":[],"relations":[],"section":"Server Applications","section_path":["Server Applications"],"source_commits":["66d947b9d"],"source_entry_id":"9.6.0/changes/156","source_hash":"1a3bafb2acc1d4de3c4f54e12c077728463b17925169e60a27e36578f09d2d98","source_url":"/docs/release/9.6.0/#AEN137192","statement_hash":"a3fea1d65148f3b6caed05efdebdd3ee345c558d1305e0f3244cefbd39e18180","text":"Improve error reporting during initdb's post-bootstrap phase (Tom Lane) Previously, an error here led to reporting the entire input file as the \"failing query\"; now just the current query is reported. To get the desired behavior, queries in initdb's input files must be separated by blank lines.","title":"Improve error reporting during initdb's post-bootstrap phase","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["c4a8812cf","d9720e437"],"commit_groups":[["c4a8812cf"],["d9720e437"]],"commits":[],"cves":[],"db_id":"c92fec2892ecc415360b9aba11991110","html":"\u003cp\u003eSpeed up \u003cspan\u003einitdb\u003c/span\u003e by using just one standalone-backend session for all the post-bootstrap steps (Tom Lane)\u003c/p\u003e","id":"9.6.0-018f1e0f21dc44a9","identity_text":"Speed up initdb by using just one standalone-backend session for all the post-bootstrap steps (Tom Lane)","part":"changes","patch_ids":["61e718e873938a434199b22a07ed612b","8b377c22ec1801a294ae0fd4ccdb715a"],"related_changes":[],"relations":[],"section":"Server Applications","section_path":["Server Applications"],"source_commits":["c4a8812cf","d9720e437"],"source_entry_id":"9.6.0/changes/157","source_hash":"bcbfc210bf7194c44492cbef677f778c8ea7026cfd58948f561e6e74d2a796f2","source_url":"/docs/release/9.6.0/#AEN137192","statement_hash":"e1f6e22424332735ddc1a2f2343c3356cbdb3c38c4f5b265502418be0e244a62","text":"Speed up initdb by using just one standalone-backend session for all the post-bootstrap steps (Tom Lane)","title":"Speed up initdb by using just one standalone-backend session for all the post-bootstrap steps","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["e50cda784"],"commit_groups":[["e50cda784"]],"commits":[],"cves":[],"db_id":"9f45bfc149b1bcee561f54517961596d","html":"\u003cp\u003eImprove \u003ca href=\"/docs/9.6/app-pgrewind.html\"\u003e\u003cspan\u003epg_rewind\u003c/span\u003e\u003c/a\u003e so that it can work when the target timeline changes (Alexander Korotkov)\u003c/p\u003e\n\u003cp\u003eThis allows, for example, rewinding a promoted standby back to some state of the old master's timeline.\u003c/p\u003e","id":"9.6.0-4a42ec154a50c9fd","identity_text":"Improve pg_rewind so that it can work when the target timeline changes (Alexander Korotkov) This allows, for example, rewinding a promoted standby back to some state of the old master's timeline.","part":"changes","patch_ids":["2e8618ffd2f6844b4bd2978267f094d1"],"related_changes":[],"relations":[],"section":"Server Applications","section_path":["Server Applications"],"source_commits":["e50cda784"],"source_entry_id":"9.6.0/changes/158","source_hash":"a0650a994c4c68f053dd92d81c2bb66f7ae68b4187eb0ce7a379d6ee9216cab9","source_url":"/docs/release/9.6.0/#AEN137192","statement_hash":"0399c550f5af383753f0b9e0b8d07f31e4833489d16f290586bc902228c47bd3","text":"Improve pg_rewind so that it can work when the target timeline changes (Alexander Korotkov) This allows, for example, rewinding a promoted standby back to some state of the old master's timeline.","title":"Improve pg_rewind so that it can work when the target timeline changes","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["726117243"],"commit_groups":[["726117243"]],"commits":[],"cves":[],"db_id":"f0a2cdcdea21a4e06e36c3d9dddb3d8b","html":"\u003cp\u003eRemove obsolete \u003ccode\u003eheap_formtuple\u003c/code\u003e/\u003ccode\u003eheap_modifytuple\u003c/code\u003e/\u003ccode\u003eheap_deformtuple\u003c/code\u003e functions (Peter Geoghegan)\u003c/p\u003e","id":"9.6.0-413f047fa500a55b","identity_text":"Remove obsolete heap_formtuple/heap_modifytuple/heap_deformtuple functions (Peter Geoghegan)","part":"changes","patch_ids":["37e13659833c74f4f01e71bca8e7adfd"],"related_changes":[],"relations":[],"section":"Source Code","section_path":["Source Code"],"source_commits":["726117243"],"source_entry_id":"9.6.0/changes/159","source_hash":"c357b39759dce9330bf92d9a5d8723eac8c7fc93533909cc36e2a2dc7fc215a9","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"90285467a1a01dfd10e6040822e36a37f45c3fab7d9d80eda988d5e049c0c857","text":"Remove obsolete heap_formtuple/heap_modifytuple/heap_deformtuple functions (Peter Geoghegan)","title":"Remove obsolete heap_formtuple/heap_modifytuple/heap_deformtuple functions","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["b9fe6cbc8"],"commit_groups":[["b9fe6cbc8"]],"commits":[],"cves":[],"db_id":"4759d40a7814a2dad5bb4c035a9401f3","html":"\u003cp\u003eAdd macros to make \u003ccode\u003eAllocSetContextCreate()\u003c/code\u003e calls simpler and safer (Tom Lane)\u003c/p\u003e\n\u003cp\u003eWriting out the individual sizing parameters for a memory context is now deprecated in favor of using one of the new macros ALLOCSET_DEFAULT_SIZES, ALLOCSET_SMALL_SIZES, or ALLOCSET_START_SMALL_SIZES. Existing code continues to work, however.\u003c/p\u003e","id":"9.6.0-43f3e48172786dce","identity_text":"Add macros to make AllocSetContextCreate() calls simpler and safer (Tom Lane) Writing out the individual sizing parameters for a memory context is now deprecated in favor of using one of the new macros ALLOCSET_DEFAULT_SIZES, ALLOCSET_SMALL_SIZES, or ALLOCSET_START_SMALL_SIZES. Existing code continues to work, however.","part":"changes","patch_ids":["161b83a54281885afb4fd13ba33fa738"],"related_changes":[],"relations":[],"section":"Source Code","section_path":["Source Code"],"source_commits":["b9fe6cbc8"],"source_entry_id":"9.6.0/changes/160","source_hash":"082182dcc79338b8c3c7dc583285f0e617e8523cfc72963db0a558e489754385","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"defe02b3d8e5e538fbbf5c8d5eac3b0cbfcb77262141a48ae3297d05958481ce","text":"Add macros to make AllocSetContextCreate() calls simpler and safer (Tom Lane) Writing out the individual sizing parameters for a memory context is now deprecated in favor of using one of the new macros ALLOCSET_DEFAULT_SIZES, ALLOCSET_SMALL_SIZES, or ALLOCSET_START_SMALL_SIZES. Existing code continues to work, however.","title":"Add macros to make AllocSetContextCreate() calls simpler and safer","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["de6fd1c89"],"commit_groups":[["de6fd1c89"]],"commits":[],"cves":[],"db_id":"c7099a50a64dd144f7395628d038d302","html":"\u003cp\u003eUnconditionally use static inline functions in header files (Andres Freund)\u003c/p\u003e\n\u003cp\u003eThis may result in warnings and/or wasted code space with very old compilers, but the notational improvement seems worth it.\u003c/p\u003e","id":"9.6.0-6075f27846f43339","identity_text":"Unconditionally use static inline functions in header files (Andres Freund) This may result in warnings and/or wasted code space with very old compilers, but the notational improvement seems worth it.","part":"changes","patch_ids":["3c69dbfe63ce38be636306cca9cc3764"],"related_changes":[],"relations":[],"section":"Source Code","section_path":["Source Code"],"source_commits":["de6fd1c89"],"source_entry_id":"9.6.0/changes/161","source_hash":"1298b353bc9086b1f435158654223023548430b1f7460769ec4e987de98a4d41","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"bdeed52316acccd7313719eab4b3d16e9ca9975c5799c651981deea63e2972b8","text":"Unconditionally use static inline functions in header files (Andres Freund) This may result in warnings and/or wasted code space with very old compilers, but the notational improvement seems worth it.","title":"Unconditionally use static inline functions in header files","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["13d856e17","1caef31d9","2c83f435a","49148645f","6bd356c33","74d58425c","9821492ee"],"commit_groups":[["13d856e17"],["1caef31d9"],["2c83f435a"],["49148645f"],["6bd356c33"],["74d58425c"],["9821492ee"]],"commits":[],"cves":[],"db_id":"61125db84b974a5021f4c0c9727bf787","html":"\u003cp\u003eImprove \u003cspan\u003eTAP\u003c/span\u003e testing infrastructure (Michael Paquier, Craig Ringer, Álvaro Herrera, Stephen Frost)\u003c/p\u003e\n\u003cp\u003eNotably, it is now possible to test recovery scenarios using this infrastructure.\u003c/p\u003e","id":"9.6.0-8b4616f2769f83b4","identity_text":"Improve TAP testing infrastructure (Michael Paquier, Craig Ringer, Álvaro Herrera, Stephen Frost) Notably, it is now possible to test recovery scenarios using this infrastructure.","part":"changes","patch_ids":["0958de69a0f5e3efaf2081246249447f","3688721e4e0c50aa25f3d1756f55e2b8","70f7170202e24e596aaeb3cd74b7ada9","a341639a67c7a5996d7372c8fc79ab46","d97fcbf82b092b734e200d1db22e8604","e242e4b53d52ad5b0dd9e6d2109dcbc3","f1742d7d634a4bd9a7d7789920eca876"],"related_changes":[],"relations":[],"section":"Source Code","section_path":["Source Code"],"source_commits":["13d856e17","1caef31d9","2c83f435a","49148645f","6bd356c33","74d58425c","9821492ee"],"source_entry_id":"9.6.0/changes/162","source_hash":"84608e3eb11f8d4c32f1d5f6fb96042b4552dfba14d6ea5caa7f6ddeb02f28aa","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"17de13ba6b3868401c308baf4db9ec2e87b62df04763ead0539204e25fa2b5d1","text":"Improve TAP testing infrastructure (Michael Paquier, Craig Ringer, Álvaro Herrera, Stephen Frost) Notably, it is now possible to test recovery scenarios using this infrastructure.","title":"Improve TAP testing infrastructure","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["aa65de042"],"commit_groups":[["aa65de042"]],"commits":[],"cves":[],"db_id":"f24385f77895f417a6a5ed4f410d74cd","html":"\u003cp\u003eMake trace_lwlocks identify individual locks by name (Robert Haas)\u003c/p\u003e","id":"9.6.0-7f2a74617ef2f502","identity_text":"Make trace_lwlocks identify individual locks by name (Robert Haas)","part":"changes","patch_ids":["5eee474d7a8ce8627c7247154fa75863"],"related_changes":[],"relations":[],"section":"Source Code","section_path":["Source Code"],"source_commits":["aa65de042"],"source_entry_id":"9.6.0/changes/163","source_hash":"2e59ddac0ea4441fde32c0146110d298721b3c15c503e5df639bc8fdfb9cede2","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"6e7bf097111eae1f391880564cd0c1838831230a9ee38a4a9e1dd2cc538e6837","text":"Make trace_lwlocks identify individual locks by name (Robert Haas)","title":"Make trace_lwlocks identify individual locks by name","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["4f18010af","9b181b036","d37b816dc"],"commit_groups":[["4f18010af"],["9b181b036"],["d37b816dc"]],"commits":[],"cves":[],"db_id":"7822450da9bb8d4fd413cd7a52b69672","html":"\u003cp\u003eImprove \u003cspan\u003epsql\u003c/span\u003e's tab-completion code infrastructure (Thomas Munro, Michael Paquier)\u003c/p\u003e\n\u003cp\u003eTab-completion rules are now considerably easier to write, and more compact.\u003c/p\u003e","id":"9.6.0-d1a4e46f539301e9","identity_text":"Improve psql's tab-completion code infrastructure (Thomas Munro, Michael Paquier) Tab-completion rules are now considerably easier to write, and more compact.","part":"changes","patch_ids":["0c14ec70ff58700a98ab27d93c0ce134","8581fae928b6a545d76bab5b75999bfe","e983c34028cd907641a97a9f249303ef"],"related_changes":[],"relations":[],"section":"Source Code","section_path":["Source Code"],"source_commits":["4f18010af","9b181b036","d37b816dc"],"source_entry_id":"9.6.0/changes/164","source_hash":"ba9f9dfd295ae89d9bd3b7863e68b73e983f8967698d14aead1b23b3c6c4eb11","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"ec0e88726bf401e0419e4ccd19fdb4b59677d2706083c9ced873ca2d1fcf0a7e","text":"Improve psql's tab-completion code infrastructure (Thomas Munro, Michael Paquier) Tab-completion rules are now considerably easier to write, and more compact.","title":"Improve psql's tab-completion code infrastructure","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["efa318bcf"],"commit_groups":[["efa318bcf"]],"commits":[],"cves":[],"db_id":"794ad65e50ffc1e3d60deaa17f91f105","html":"\u003cp\u003eNail the pg_shseclabel system catalog into cache, so that it is available for access during connection authentication (Adam Brightwell)\u003c/p\u003e\n\u003cp\u003eThe core code does not use this catalog for authentication, but extensions might wish to consult it.\u003c/p\u003e","id":"9.6.0-0c045869cd3f8126","identity_text":"Nail the pg_shseclabel system catalog into cache, so that it is available for access during connection authentication (Adam Brightwell) The core code does not use this catalog for authentication, but extensions might wish to consult it.","part":"changes","patch_ids":["2bdd8ed10ca5eb1155838154eb251e8f"],"related_changes":[],"relations":[],"section":"Source Code","section_path":["Source Code"],"source_commits":["efa318bcf"],"source_entry_id":"9.6.0/changes/165","source_hash":"192a2f55e5a57044d2b3981cbcdd25e0564d1905c3118c0b4dd3a16197a0252b","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"715664dbcc9dec7f4450256c63f3f061fa85d8789f67fa6f54bdfbf6649b6f8d","text":"Nail the pg_shseclabel system catalog into cache, so that it is available for access during connection authentication (Adam Brightwell) The core code does not use this catalog for authentication, but extensions might wish to consult it.","title":"Nail the pg_shseclabel system catalog into cache, so that it is available for access during connection authentication","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["65c5fcd35","be44ed27b","ed0097e4f"],"commit_groups":[["65c5fcd35"],["be44ed27b"],["ed0097e4f"]],"commits":[],"cves":[],"db_id":"bd5713f7098a53ff35a9c98f457dc69c","html":"\u003cp\u003eRestructure \u003ca href=\"/docs/9.6/indexam.html\"\u003eindex access method \u003cacronym\u003eAPI\u003c/acronym\u003e\u003c/a\u003e to hide most of it at the \u003cspan\u003eC\u003c/span\u003e level (Alexander Korotkov, Andrew Gierth)\u003c/p\u003e\n\u003cp\u003eThis change modernizes the index \u003cacronym\u003eAM API\u003c/acronym\u003e to look more like the designs we have adopted for foreign data wrappers and tablesample handlers. This simplifies the \u003cspan\u003eC\u003c/span\u003e code and makes it much more practical to define index access methods in installable extensions. A consequence is that most of the columns of the pg_am system catalog have disappeared. New \u003ca href=\"/docs/9.6/functions-info.html#FUNCTIONS-INFO-CATALOG-TABLE\"\u003einspection functions\u003c/a\u003e have been added to allow SQL queries to determine index AM properties that used to be discoverable from pg_am.\u003c/p\u003e","id":"9.6.0-b5cab7b758da5fd6","identity_text":"Restructure index access method API to hide most of it at the C level (Alexander Korotkov, Andrew Gierth) This change modernizes the index AM API to look more like the designs we have adopted for foreign data wrappers and tablesample handlers. This simplifies the C code and makes it much more practical to define index access methods in installable extensions. A consequence is that most of the columns of the pg_am system catalog have disappeared. New inspection functions have been added to allow SQL queries to determine index AM properties that used to be discoverable from pg_am.","part":"changes","patch_ids":["4df956701b34c2186ad4449976c70fbe","9f4bee7c3a09cc9e625b87fcaa0fa649","a1ef37d612cff13aa30bc998f37db0b0"],"related_changes":[],"relations":[],"section":"Source Code","section_path":["Source Code"],"source_commits":["65c5fcd35","be44ed27b","ed0097e4f"],"source_entry_id":"9.6.0/changes/166","source_hash":"5bdb3c6c3c930659415c8d86af0d4128245ac2df2ee937822d052fc70bba009f","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"51920b7d58ee13e52a3c43058d65f63b18157ec66bc5b8b82a41618f65344b5f","text":"Restructure index access method API to hide most of it at the C level (Alexander Korotkov, Andrew Gierth) This change modernizes the index AM API to look more like the designs we have adopted for foreign data wrappers and tablesample handlers. This simplifies the C code and makes it much more practical to define index access methods in installable extensions. A consequence is that most of the columns of the pg_am system catalog have disappeared. New inspection functions have been added to allow SQL queries to determine index AM properties that used to be discoverable from pg_am.","title":"Restructure index access method API to hide most of it at the C level","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["6c268df12"],"commit_groups":[["6c268df12"]],"commits":[],"cves":[],"db_id":"18975fccb1e29ff36bcfde8de7f7b866","html":"\u003cp\u003eAdd \u003ca href=\"/docs/9.6/catalog-pg-init-privs.html\"\u003epg_init_privs\u003c/a\u003e system catalog to hold original privileges of \u003cspan\u003einitdb\u003c/span\u003e-created and extension-created objects (Stephen Frost)\u003c/p\u003e\n\u003cp\u003eThis infrastructure allows \u003cspan\u003epg_dump\u003c/span\u003e to dump changes that an installation may have made in privileges attached to system objects. Formerly, such changes would be lost in a dump and reload, but now they are preserved.\u003c/p\u003e","id":"9.6.0-17163fd161897f85","identity_text":"Add pg_init_privs system catalog to hold original privileges of initdb-created and extension-created objects (Stephen Frost) This infrastructure allows pg_dump to dump changes that an installation may have made in privileges attached to system objects. Formerly, such changes would be lost in a dump and reload, but now they are preserved.","part":"changes","patch_ids":["e10395ddea0991d44fb3bd1a71635d1f"],"related_changes":[],"relations":[],"section":"Source Code","section_path":["Source Code"],"source_commits":["6c268df12"],"source_entry_id":"9.6.0/changes/167","source_hash":"d22a07d867d639ab6ac9e1067b6d8b449bf6069fb814045e086c7fa29db799a6","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"ecd532fa260abdc0364e1c585102555a58522f2b1474cd6ed576903aa7db6ef0","text":"Add pg_init_privs system catalog to hold original privileges of initdb-created and extension-created objects (Stephen Frost) This infrastructure allows pg_dump to dump changes that an installation may have made in privileges attached to system objects. Formerly, such changes would be lost in a dump and reload, but now they are preserved.","title":"Add pg_init_privs system catalog to hold original privileges of initdb-created and extension-created objects","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["c1772ad92"],"commit_groups":[["c1772ad92"]],"commits":[],"cves":[],"db_id":"0a845106f3d95f517c85b14667cbbbfa","html":"\u003cp\u003eChange the way that extensions allocate custom LWLocks (Amit Kapila, Robert Haas)\u003c/p\u003e\n\u003cp\u003eThe \u003ccode\u003eRequestAddinLWLocks()\u003c/code\u003e function is removed, and replaced by \u003ccode\u003eRequestNamedLWLockTranche()\u003c/code\u003e. This allows better identification of custom LWLocks, and is less error-prone.\u003c/p\u003e","id":"9.6.0-3810f73eca93df79","identity_text":"Change the way that extensions allocate custom LWLocks (Amit Kapila, Robert Haas) The RequestAddinLWLocks() function is removed, and replaced by RequestNamedLWLockTranche(). This allows better identification of custom LWLocks, and is less error-prone.","part":"changes","patch_ids":["f9c844c2e935d93d247b134a0e127d3a"],"related_changes":[],"relations":[],"section":"Source Code","section_path":["Source Code"],"source_commits":["c1772ad92"],"source_entry_id":"9.6.0/changes/168","source_hash":"dfbb66c598a98c07b4ea49c050e5ef34a71786cbdc06233bb94af3e7582523ac","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"5f8f25c6454b43a1c647e4073fda0244e1028e1441d54613f4bd00a2a8cfd901","text":"Change the way that extensions allocate custom LWLocks (Amit Kapila, Robert Haas) The RequestAddinLWLocks() function is removed, and replaced by RequestNamedLWLockTranche(). This allows better identification of custom LWLocks, and is less error-prone.","title":"Change the way that extensions allocate custom LWLocks","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["38f8bdcac"],"commit_groups":[["38f8bdcac"]],"commits":[],"cves":[],"db_id":"54419d5ac4e4d764d1a4f8b8548b140b","html":"\u003cp\u003eImprove the isolation tester to allow multiple sessions to wait concurrently, allowing testing of deadlock scenarios (Robert Haas)\u003c/p\u003e","id":"9.6.0-ef137b5582b64d37","identity_text":"Improve the isolation tester to allow multiple sessions to wait concurrently, allowing testing of deadlock scenarios (Robert Haas)","part":"changes","patch_ids":["eb278b5d04f70297bbcbcaffee4d6db5"],"related_changes":[],"relations":[],"section":"Source Code","section_path":["Source Code"],"source_commits":["38f8bdcac"],"source_entry_id":"9.6.0/changes/169","source_hash":"eb9c176f037319d8a23ec27147c26a8e262eeb4c85f548aa830d79af527be992","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"19c8c2618b52aa779abadb20ad8f4c9cabd7c3476806d239a387ecfdd4f6bc49","text":"Improve the isolation tester to allow multiple sessions to wait concurrently, allowing testing of deadlock scenarios (Robert Haas)","title":"Improve the isolation tester to allow multiple sessions to wait concurrently, allowing testing of deadlock scenarios","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["bcac23de7"],"commit_groups":[["bcac23de7"]],"commits":[],"cves":[],"db_id":"a43569a0e5931ed2608dcc2fd2afab87","html":"\u003cp\u003eIntroduce extensible node types (KaiGai Kohei)\u003c/p\u003e\n\u003cp\u003eThis change allows \u003cspan\u003eFDW\u003c/span\u003es or custom scan providers to store data in a plan tree in a more convenient format than was previously possible.\u003c/p\u003e","id":"9.6.0-d9e6cb4438c28e98","identity_text":"Introduce extensible node types (KaiGai Kohei) This change allows FDWs or custom scan providers to store data in a plan tree in a more convenient format than was previously possible.","part":"changes","patch_ids":["2de30cfb69e17ee58c30f523608367a5"],"related_changes":[],"relations":[],"section":"Source Code","section_path":["Source Code"],"source_commits":["bcac23de7"],"source_entry_id":"9.6.0/changes/170","source_hash":"692ecfedc515eed5db0e553166e427bd563bb871ed44c1ddd9056a0a7e18257b","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"7a493d72b44536adc8c6feaf844649eb4457d69fd1b0eb3e8f99a123019022f4","text":"Introduce extensible node types (KaiGai Kohei) This change allows FDWs or custom scan providers to store data in a plan tree in a more convenient format than was previously possible.","title":"Introduce extensible node types","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["19a541143","3fc6e2d7f","5ce5e4a12","68fa28f77","9e703987a","c44d01383"],"commit_groups":[["19a541143"],["3fc6e2d7f"],["5ce5e4a12"],["68fa28f77"],["9e703987a"],["c44d01383"]],"commits":[],"cves":[],"db_id":"ec1dd59505ee107e7359d1672520b5f0","html":"\u003cp\u003eMake the planner deal with post-scan/join query steps by generating and comparing Paths, replacing a lot of ad-hoc logic (Tom Lane)\u003c/p\u003e\n\u003cp\u003eThis change provides only marginal user-visible improvements today, but it enables future work on a lot of upper-planner improvements that were impractical to tackle using the old code structure.\u003c/p\u003e","id":"9.6.0-b9e737dac4a87f45","identity_text":"Make the planner deal with post-scan/join query steps by generating and comparing Paths, replacing a lot of ad-hoc logic (Tom Lane) This change provides only marginal user-visible improvements today, but it enables future work on a lot of upper-planner improvements that were impractical to tackle using the old code structure.","part":"changes","patch_ids":["5b6cebbf78077a0ef941c324cf9defa4","a05dfc48ea46fdffa98a3d96af9ea6de","b308f676581382c8cef0f5a4165452eb","c562debd6956d2878526c112b90470ad","e531d13f4f4cfcc0e7d5c92048aa3bd1","fad0ea6b379e68a23e721b500afe5c98"],"related_changes":[],"relations":[],"section":"Source Code","section_path":["Source Code"],"source_commits":["19a541143","3fc6e2d7f","5ce5e4a12","68fa28f77","9e703987a","c44d01383"],"source_entry_id":"9.6.0/changes/171","source_hash":"0bc91b83b0b0a8a698e2f77e50d950b8a3d6ce08dac641085f8a141700322b6a","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"e23bbac096ff7d1c6c656b31f7a28e9061bfc8bd0410f3497948c85491dba2d2","text":"Make the planner deal with post-scan/join query steps by generating and comparing Paths, replacing a lot of ad-hoc logic (Tom Lane) This change provides only marginal user-visible improvements today, but it enables future work on a lot of upper-planner improvements that were impractical to tackle using the old code structure.","title":"Make the planner deal with post-scan/join query steps by generating and comparing Paths, replacing a lot of ad-hoc logic","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["19e972d55","a7de3dc5c","f8ace5477"],"commit_groups":[["19e972d55"],["a7de3dc5c"],["f8ace5477"]],"commits":[],"cves":[],"db_id":"66665187ccc648ba7f9383815677ad16","html":"\u003cp\u003eSupport partial aggregation (David Rowley, Simon Riggs)\u003c/p\u003e\n\u003cp\u003eThis change allows the computation of an aggregate function to be split into separate parts, for example so that parallel worker processes can cooperate on computing an aggregate. In future it might allow aggregation across local and remote data to occur partially on the remote end.\u003c/p\u003e","id":"9.6.0-3e195da1fdfd9b4a","identity_text":"Support partial aggregation (David Rowley, Simon Riggs) This change allows the computation of an aggregate function to be split into separate parts, for example so that parallel worker processes can cooperate on computing an aggregate. In future it might allow aggregation across local and remote data to occur partially on the remote end.","part":"changes","patch_ids":["552a016ffa412b9d5dc44eb3721c0f5c","697ba33153f44012e2359ba6bdd8c483","e63a6c819bd9fc45310334dbd00860e1"],"related_changes":[],"relations":[],"section":"Source Code","section_path":["Source Code"],"source_commits":["19e972d55","a7de3dc5c","f8ace5477"],"source_entry_id":"9.6.0/changes/172","source_hash":"1ea945e55f279fe59b00146837de8ec76b891d5f728a7989a068c45388fae57c","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"a0945b4fdb8037a0d205b3f53c56a6a73077f6eb460ede4195208977a1473fd0","text":"Support partial aggregation (David Rowley, Simon Riggs) This change allows the computation of an aggregate function to be split into separate parts, for example so that parallel worker processes can cooperate on computing an aggregate. In future it might allow aggregation across local and remote data to occur partially on the remote end.","title":"Support partial aggregation","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["b6fb6471f"],"commit_groups":[["b6fb6471f"]],"commits":[],"cves":[],"db_id":"11dc7df3d8408fdd6f60777ea61005b0","html":"\u003cp\u003eAdd a generic command progress reporting facility (Vinayak Pokale, Rahila Syed, Amit Langote, Robert Haas)\u003c/p\u003e","id":"9.6.0-6b43e8d78ff2ada6","identity_text":"Add a generic command progress reporting facility (Vinayak Pokale, Rahila Syed, Amit Langote, Robert Haas)","part":"changes","patch_ids":["0ad73226a1ca22a8d9fbb6c28ad66647"],"related_changes":[],"relations":[],"section":"Source Code","section_path":["Source Code"],"source_commits":["b6fb6471f"],"source_entry_id":"9.6.0/changes/173","source_hash":"51a2d63c8acfa1691f990d89989a208ed7797287197bce106a970c818389bed1","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"3b10d65efb14910a51c4e098b61b86356ae8baf96d3f0fa824e0e985b0d53a02","text":"Add a generic command progress reporting facility (Vinayak Pokale, Rahila Syed, Amit Langote, Robert Haas)","title":"Add a generic command progress reporting facility","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["0ea9efbe9","27199058d","588d963b0","b6afae71a","c1156411a","d65bea26a"],"commit_groups":[["0ea9efbe9"],["27199058d"],["588d963b0"],["b6afae71a"],["c1156411a"],["d65bea26a"]],"commits":[],"cves":[],"db_id":"cf1ecbcf96f1a64f3d4c7293ace49a6a","html":"\u003cp\u003eSeparate out \u003cspan\u003epsql\u003c/span\u003e's \u003cspan\u003eflex\u003c/span\u003e lexer to make it usable by other client programs (Tom Lane, Kyotaro Horiguchi)\u003c/p\u003e\n\u003cp\u003eThis eliminates code duplication for programs that need to be able to parse SQL commands well enough to identify command boundaries. Doing that in full generality is more painful than one could wish, and up to now only \u003cspan\u003epsql\u003c/span\u003e has really gotten it right among our supported client programs.\u003c/p\u003e\n\u003cp\u003eA new source-code subdirectory src/fe_utils/ has been created to hold this and other code that is shared across our client programs. Formerly such sharing was accomplished by symbolic linking or copying source files at build time, which was ugly and required duplicate compilation.\u003c/p\u003e","id":"9.6.0-f36f18d8f13301ac","identity_text":"Separate out psql's flex lexer to make it usable by other client programs (Tom Lane, Kyotaro Horiguchi) This eliminates code duplication for programs that need to be able to parse SQL commands well enough to identify command boundaries. Doing that in full generality is more painful than one could wish, and up to now only psql has really gotten it right among our supported client programs. A new source-code subdirectory src/fe_utils/ has been created to hold this and other code that is shared across our client programs. Formerly such sharing was accomplished by symbolic linking or copying source files at build time, which was ugly and required duplicate compilation.","part":"changes","patch_ids":["04450d49188f661336bba6f6dea3a40b","864d67497b03fba0958be422b6f12792","b0f9b1dee201104970e45d79afb63815","b680d374b5a4d6440baa7833b3b7a223","d1cc0f86d505da6d709fb223cbbb55c2","ecf5b4549f8252e85cd17d8f91e878c6"],"related_changes":[],"relations":[],"section":"Source Code","section_path":["Source Code"],"source_commits":["0ea9efbe9","27199058d","588d963b0","b6afae71a","c1156411a","d65bea26a"],"source_entry_id":"9.6.0/changes/174","source_hash":"99c5ed52e196691f7d572babd398014a9fe21ce77cfcd2a0ac94186fa711fc0d","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"7acc6a13e0479dc231b199ac8403776da3ea59e1d60584b2f590c3219ebd9745","text":"Separate out psql's flex lexer to make it usable by other client programs (Tom Lane, Kyotaro Horiguchi) This eliminates code duplication for programs that need to be able to parse SQL commands well enough to identify command boundaries. Doing that in full generality is more painful than one could wish, and up to now only psql has really gotten it right among our supported client programs. A new source-code subdirectory src/fe_utils/ has been created to hold this and other code that is shared across our client programs. Formerly such sharing was accomplished by symbolic linking or copying source files at build time, which was ugly and required duplicate compilation.","title":"Separate out psql's flex lexer to make it usable by other client programs","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["98a64d0bd"],"commit_groups":[["98a64d0bd"]],"commits":[],"cves":[],"db_id":"0856bdc40fcfeac66ca4d6244ce28b38","html":"\u003cp\u003eIntroduce WaitEventSet \u003cacronym\u003eAPI\u003c/acronym\u003e to allow efficient waiting for event sets that usually do not change from one wait to the next (Andres Freund, Amit Kapila)\u003c/p\u003e","id":"9.6.0-968eebca88bf44da","identity_text":"Introduce WaitEventSet API to allow efficient waiting for event sets that usually do not change from one wait to the next (Andres Freund, Amit Kapila)","part":"changes","patch_ids":["6da149fbc1c8ce20b6cc7714f1f0bf77"],"related_changes":[],"relations":[],"section":"Source Code","section_path":["Source Code"],"source_commits":["98a64d0bd"],"source_entry_id":"9.6.0/changes/175","source_hash":"87676fb675a779fd318e675775eedba9fa07d28091c33724761243bf8e4715c5","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"c97c6df346299f754bf6b35ae06b562590d65b12a7bbc13e01e707bc6abf7fba","text":"Introduce WaitEventSet API to allow efficient waiting for event sets that usually do not change from one wait to the next (Andres Freund, Amit Kapila)","title":"Introduce WaitEventSet API to allow efficient waiting for event sets that usually do not change from one wait to the next","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["65578341a"],"commit_groups":[["65578341a"]],"commits":[],"cves":[],"db_id":"dab5b6e3fff0d3a79149e154cf8ec514","html":"\u003cp\u003eAdd a generic interface for writing \u003cacronym\u003eWAL\u003c/acronym\u003e records (Alexander Korotkov, Petr Jelínek, Markus Nullmeier)\u003c/p\u003e\n\u003cp\u003eThis change allows extensions to write \u003cacronym\u003eWAL\u003c/acronym\u003e records for changes to pages using a standard layout. The problem of needing to replay \u003cacronym\u003eWAL\u003c/acronym\u003e without access to the extension is solved by having generic replay code. This allows extensions to implement, for example, index access methods and have \u003cacronym\u003eWAL\u003c/acronym\u003e support for them.\u003c/p\u003e","id":"9.6.0-280aa6c078690fb3","identity_text":"Add a generic interface for writing WAL records (Alexander Korotkov, Petr Jelínek, Markus Nullmeier) This change allows extensions to write WAL records for changes to pages using a standard layout. The problem of needing to replay WAL without access to the extension is solved by having generic replay code. This allows extensions to implement, for example, index access methods and have WAL support for them.","part":"changes","patch_ids":["e5625ff5e6ed86a7a317ded4a8fe9f2a"],"related_changes":[],"relations":[],"section":"Source Code","section_path":["Source Code"],"source_commits":["65578341a"],"source_entry_id":"9.6.0/changes/176","source_hash":"b3cb7380fd91bd2f96ff87aed6f84b397ee222673c9146855a7565c1565a2e44","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"4c5ef1776b3df75985740b8e6d5d48bc796037a5643644db6a26a6afabdc2e81","text":"Add a generic interface for writing WAL records (Alexander Korotkov, Petr Jelínek, Markus Nullmeier) This change allows extensions to write WAL records for changes to pages using a standard layout. The problem of needing to replay WAL without access to the extension is solved by having generic replay code. This allows extensions to implement, for example, index access methods and have WAL support for them.","title":"Add a generic interface for writing WAL records","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["3fe3511d0"],"commit_groups":[["3fe3511d0"]],"commits":[],"cves":[],"db_id":"0a51f53ebd873cfc1867bece28726a5a","html":"\u003cp\u003eSupport generic \u003cacronym\u003eWAL\u003c/acronym\u003e messages for logical decoding (Petr Jelínek, Andres Freund)\u003c/p\u003e\n\u003cp\u003eThis feature allows extensions to insert data into the \u003cacronym\u003eWAL\u003c/acronym\u003e stream that can be read by logical-decoding plugins, but is not connected to physical data restoration.\u003c/p\u003e","id":"9.6.0-3806d86adb76bbee","identity_text":"Support generic WAL messages for logical decoding (Petr Jelínek, Andres Freund) This feature allows extensions to insert data into the WAL stream that can be read by logical-decoding plugins, but is not connected to physical data restoration.","part":"changes","patch_ids":["308573ba5c992bd8bde05d7e69eacc6a"],"related_changes":[],"relations":[],"section":"Source Code","section_path":["Source Code"],"source_commits":["3fe3511d0"],"source_entry_id":"9.6.0/changes/177","source_hash":"613df77511763ed02b924b72f197da6ac8a79ac3366bc0a5e7824c6c6388e6d4","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"0d33dd7d01eabdadcc2b6d386f4d2bc10cb3c39549fce0b86d8fc965fb2f6b9a","text":"Support generic WAL messages for logical decoding (Petr Jelínek, Andres Freund) This feature allows extensions to insert data into the WAL stream that can be read by logical-decoding plugins, but is not connected to physical data restoration.","title":"Support generic WAL messages for logical decoding","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["87545f541","ccd6eb49a"],"commit_groups":[["87545f541"],["ccd6eb49a"]],"commits":[],"cves":[],"db_id":"d52500e463a2c62cc67218059e5ce4f2","html":"\u003cp\u003eAllow SP-GiST operator classes to store an arbitrary \u003cspan\u003e\"traversal value\"\u003c/span\u003e while descending the index (Alexander Lebedev, Teodor Sigaev)\u003c/p\u003e\n\u003cp\u003eThis is somewhat like the \u003cspan\u003e\"reconstructed value\"\u003c/span\u003e, but it could be any arbitrary chunk of data, not necessarily of the same data type as the indexed column.\u003c/p\u003e","id":"9.6.0-8cd8836fd2b68625","identity_text":"Allow SP-GiST operator classes to store an arbitrary traversal value while descending the index (Alexander Lebedev, Teodor Sigaev) This is somewhat like the reconstructed value, but it could be any arbitrary chunk of data, not necessarily of the same data type as the indexed column.","part":"changes","patch_ids":["3346e5293336e2b3de477359c99bc6d1","a7c4bb53065006e2a3b098c6586d214e"],"related_changes":[],"relations":[],"section":"Source Code","section_path":["Source Code"],"source_commits":["87545f541","ccd6eb49a"],"source_entry_id":"9.6.0/changes/178","source_hash":"432138e369c8795bca081b2c94cca2e27c8882400735ffc529954cccc4e264e0","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"dd07a05295f358f0556c38fc04628c2b8bed638e3170001ae531a7292c740c6b","text":"Allow SP-GiST operator classes to store an arbitrary \"traversal value\" while descending the index (Alexander Lebedev, Teodor Sigaev) This is somewhat like the \"reconstructed value\", but it could be any arbitrary chunk of data, not necessarily of the same data type as the indexed column.","title":"Allow SP-GiST operator classes to store an arbitrary \"traversal value\" while descending the index","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["66229ac00"],"commit_groups":[["66229ac00"]],"commits":[],"cves":[],"db_id":"4b2546b4625f4775e5dbf1ff85d2dffb","html":"\u003cp\u003eIntroduce a LOG_SERVER_ONLY message level for \u003ccode\u003eereport()\u003c/code\u003e (David Steele)\u003c/p\u003e\n\u003cp\u003eThis level acts like LOG except that the message is never sent to the client. It is meant for use in auditing and similar applications.\u003c/p\u003e","id":"9.6.0-7367d7fa62187bfa","identity_text":"Introduce a LOG_SERVER_ONLY message level for ereport() (David Steele) This level acts like LOG except that the message is never sent to the client. It is meant for use in auditing and similar applications.","part":"changes","patch_ids":["dd1036b560a6b6fbc68b00ca96e239af"],"related_changes":[],"relations":[],"section":"Source Code","section_path":["Source Code"],"source_commits":["66229ac00"],"source_entry_id":"9.6.0/changes/179","source_hash":"b7948bd29f344d3015a5fbb8cd74842d1ffc5fe55cdc985875b41a01fb1f0a2d","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"c663800da3bfcb32803a0c34771389a69d80cda5484085c0890f6b077f22580d","text":"Introduce a LOG_SERVER_ONLY message level for ereport() (David Steele) This level acts like LOG except that the message is never sent to the client. It is meant for use in auditing and similar applications.","title":"Introduce a LOG_SERVER_ONLY message level for ereport()","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["548af97fc"],"commit_groups":[["548af97fc"]],"commits":[],"cves":[],"db_id":"5b4ade27f0ef0a08c277ab723f310771","html":"\u003cp\u003eProvide a Makefile target to build all generated headers (Michael Paquier, Tom Lane)\u003c/p\u003e\n\u003cp\u003esubmake-generated-headers can now be invoked to ensure that generated backend header files are up-to-date. This is useful in subdirectories that might be built \u003cspan\u003e\"standalone\"\u003c/span\u003e.\u003c/p\u003e","id":"9.6.0-a6ea8d6149a560a3","identity_text":"Provide a Makefile target to build all generated headers (Michael Paquier, Tom Lane) submake-generated-headers can now be invoked to ensure that generated backend header files are up-to-date. This is useful in subdirectories that might be built standalone.","part":"changes","patch_ids":["cea045616009fd960036b2a8701d9616"],"related_changes":[],"relations":[],"section":"Source Code","section_path":["Source Code"],"source_commits":["548af97fc"],"source_entry_id":"9.6.0/changes/180","source_hash":"624cbaafb8a2c925b7e032e756c52b99ac862b4b8a4787bf07620311fbe5e665","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"6631fe620be07727bc3472242af365f8c9fd202288e337f0a14752d88f7b6c05","text":"Provide a Makefile target to build all generated headers (Michael Paquier, Tom Lane) submake-generated-headers can now be invoked to ensure that generated backend header files are up-to-date. This is useful in subdirectories that might be built \"standalone\".","title":"Provide a Makefile target to build all generated headers","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["48e5ba61e","593d4e47d","5c6df67e0","9895818d5","e2838c580","fcd93e4af"],"commit_groups":[["48e5ba61e","5c6df67e0","9895818d5"],["593d4e47d","e2838c580","fcd93e4af"]],"commits":[],"cves":[],"db_id":"1a80e2e675e7c7b2d0a3739f9f395847","html":"\u003cp\u003eSupport OpenSSL 1.1.0 (Andreas Karlsson, Heikki Linnakangas)\u003c/p\u003e","id":"9.6.0-9b154c1b68775a36","identity_text":"Support OpenSSL 1.1.0 (Andreas Karlsson, Heikki Linnakangas)","part":"changes","patch_ids":["813c160b660e56598913c89f61f6441c","948071a17cc9115c9e78919eb24aaf97"],"related_changes":[{"db_id":"ca6c798db2f25b8f7b187a9a21f3ff72","evidence":{"patch_ids":["813c160b660e56598913c89f61f6441c","948071a17cc9115c9e78919eb24aaf97"],"same_day":false},"kind":"related","label":"9.5.5","source_url":"/docs/release/9.5.5/#AEN130514","title":"Support OpenSSL 1.1.0","url":"/docs/compare/?release=9.5.5#9.5.5-49eb55b4aac63187","version":"9.5.5"}],"relations":[{"evidence":{"patch_ids":["813c160b660e56598913c89f61f6441c","948071a17cc9115c9e78919eb24aaf97"],"same_day":false},"rule":2,"target":"ca6c798db2f25b8f7b187a9a21f3ff72","type":"related"}],"section":"Source Code","section_path":["Source Code"],"source_commits":["9895818d5","fcd93e4af"],"source_entry_id":"9.6.0/changes/181","source_hash":"aae14e8214682c258b795d091b979c239c3d2607e09df0d0da53bdaaf846c50b","source_url":"/docs/release/9.6.0/#AEN137209","statement_hash":"2f6c3be6933f9f3776c1b170f7f68d87e0e8b65fd75697dd5933193df53961a7","text":"Support OpenSSL 1.1.0 (Andreas Karlsson, Heikki Linnakangas)","title":"Support OpenSSL 1.1.0","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["7a8d87483","92f03fe76"],"commit_groups":[["7a8d87483"],["92f03fe76"]],"commits":[],"cves":[],"db_id":"658c4dbc38b4ccb163dc1948337896e6","html":"\u003cp\u003eAdd configuration parameter auto_explain.sample_rate to allow \u003ca href=\"/docs/9.6/auto-explain.html\"\u003econtrib/auto_explain\u003c/a\u003e to capture just a configurable fraction of all queries (Craig Ringer, Julien Rouhaud)\u003c/p\u003e\n\u003cp\u003eThis allows reduction of overhead for heavy query traffic, while still getting useful information on average.\u003c/p\u003e","id":"9.6.0-83a89475ef947b66","identity_text":"Add configuration parameter auto_explain.sample_rate to allow contrib/auto_explain to capture just a configurable fraction of all queries (Craig Ringer, Julien Rouhaud) This allows reduction of overhead for heavy query traffic, while still getting useful information on average.","part":"changes","patch_ids":["0ab1a3fb26ed2246ad8d2f746ae69b0a","144d048ac844d38ab75f7d2067fafe06"],"related_changes":[],"relations":[],"section":"Additional Modules","section_path":["Additional Modules"],"source_commits":["7a8d87483","92f03fe76"],"source_entry_id":"9.6.0/changes/182","source_hash":"407844b578b4591e346942b5816a1a2e6797d95b120fa3add2b1677b5f93353f","source_url":"/docs/release/9.6.0/#AEN137326","statement_hash":"21ff6ff49eca967bd8b2542c03c64b62b78bc25f36bc0656fc1f79a036356368","text":"Add configuration parameter auto_explain.sample_rate to allow contrib/auto_explain to capture just a configurable fraction of all queries (Craig Ringer, Julien Rouhaud) This allows reduction of overhead for heavy query traffic, while still getting useful information on average.","title":"Add configuration parameter auto_explain.sample_rate to allow contrib/auto_explain to capture just a configurable fraction of all queries","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["9ee014fc8"],"commit_groups":[["9ee014fc8"]],"commits":[],"cves":[],"db_id":"65d3e99617aabd4167fc8f44c2613740","html":"\u003cp\u003eAdd \u003ca href=\"/docs/9.6/bloom.html\"\u003econtrib/bloom\u003c/a\u003e module that implements an index access method based on Bloom filtering (Teodor Sigaev, Alexander Korotkov)\u003c/p\u003e\n\u003cp\u003eThis is primarily a proof-of-concept for non-core index access methods, but it could be useful in its own right for queries that search many columns.\u003c/p\u003e","id":"9.6.0-2cecf95d566d9f3c","identity_text":"Add contrib/bloom module that implements an index access method based on Bloom filtering (Teodor Sigaev, Alexander Korotkov) This is primarily a proof-of-concept for non-core index access methods, but it could be useful in its own right for queries that search many columns.","part":"changes","patch_ids":["63fc5d022dbd6c52a9e14ec180de1a76"],"related_changes":[],"relations":[],"section":"Additional Modules","section_path":["Additional Modules"],"source_commits":["9ee014fc8"],"source_entry_id":"9.6.0/changes/183","source_hash":"5f4c3aae6f4e36cb28fa148a9faadf1eeb79e44dfb32343c068239fee23ca4e4","source_url":"/docs/release/9.6.0/#AEN137326","statement_hash":"955a00b729a495dfc0ea02f925a00e1c9b2c06d1aadbc9eae2f2b3882df84faf","text":"Add contrib/bloom module that implements an index access method based on Bloom filtering (Teodor Sigaev, Alexander Korotkov) This is primarily a proof-of-concept for non-core index access methods, but it could be useful in its own right for queries that search many columns.","title":"Add contrib/bloom module that implements an index access method based on Bloom filtering","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["33bd250f6","81ee726d8"],"commit_groups":[["33bd250f6"],["81ee726d8"]],"commits":[],"cves":[],"db_id":"66ae3002f2fcfcf78afe0e47d2ff83ae","html":"\u003cp\u003eIn \u003ca href=\"/docs/9.6/cube.html\"\u003econtrib/cube\u003c/a\u003e, introduce distance operators for cubes, and support kNN-style searches in GiST indexes on cube columns (Stas Kelvich)\u003c/p\u003e","id":"9.6.0-c506389ca4476482","identity_text":"In contrib/cube, introduce distance operators for cubes, and support kNN-style searches in GiST indexes on cube columns (Stas Kelvich)","part":"changes","patch_ids":["abda0d72dd32515553dfdeea0460e850","be291ea04e1df8209337d1e93d59379e"],"related_changes":[],"relations":[],"section":"Additional Modules","section_path":["Additional Modules"],"source_commits":["33bd250f6","81ee726d8"],"source_entry_id":"9.6.0/changes/184","source_hash":"90c2db43c4ae778c745f9f83fd95334601665a52a16b1f55e56a2104403f670c","source_url":"/docs/release/9.6.0/#AEN137326","statement_hash":"8095eb7581a4e970636676b9d22892e582df5070cff9980d549fb9e7e5e65963","text":"In contrib/cube, introduce distance operators for cubes, and support kNN-style searches in GiST indexes on cube columns (Stas Kelvich)","title":"In contrib/cube, introduce distance operators for cubes, and support kNN-style searches in GiST indexes on cube columns","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["41d2c081c"],"commit_groups":[["41d2c081c"]],"commits":[],"cves":[],"db_id":"57c3a955a88e6877a353e1792c0577eb","html":"\u003cp\u003eMake contrib/hstore's \u003ca href=\"/docs/9.6/hstore.html#HSTORE-FUNC-TABLE\"\u003e\u003ccode\u003ehstore_to_jsonb_loose()\u003c/code\u003e\u003c/a\u003e and \u003ccode\u003ehstore_to_json_loose()\u003c/code\u003e functions agree on what is a number (Tom Lane)\u003c/p\u003e\n\u003cp\u003ePreviously, \u003ccode\u003ehstore_to_jsonb_loose()\u003c/code\u003e would convert numeric-looking strings to \u003cacronym\u003eJSON\u003c/acronym\u003e numbers, rather than strings, even if they did not exactly match the \u003cacronym\u003eJSON\u003c/acronym\u003e syntax specification for numbers. This was inconsistent with \u003ccode\u003ehstore_to_json_loose()\u003c/code\u003e, so tighten the test to match the \u003cacronym\u003eJSON\u003c/acronym\u003e syntax.\u003c/p\u003e","id":"9.6.0-5aca49918ee672c1","identity_text":"Make contrib/hstore's hstore_to_jsonb_loose() and hstore_to_json_loose() functions agree on what is a number (Tom Lane) Previously, hstore_to_jsonb_loose() would convert numeric-looking strings to JSON numbers, rather than strings, even if they did not exactly match the JSON syntax specification for numbers. This was inconsistent with hstore_to_json_loose(), so tighten the test to match the JSON syntax.","part":"changes","patch_ids":["3abd1162b7839e777d20cb5a75b9d512"],"related_changes":[],"relations":[],"section":"Additional Modules","section_path":["Additional Modules"],"source_commits":["41d2c081c"],"source_entry_id":"9.6.0/changes/185","source_hash":"811fbb98557f511292bfa8f3ec0a11f745452678c2606b54c060f9c69c18bdec","source_url":"/docs/release/9.6.0/#AEN137326","statement_hash":"a37df2459c960d844c32224a744a1e4ab246ee6ad55e135b80847235435b7442","text":"Make contrib/hstore's hstore_to_jsonb_loose() and hstore_to_json_loose() functions agree on what is a number (Tom Lane) Previously, hstore_to_jsonb_loose() would convert numeric-looking strings to JSON numbers, rather than strings, even if they did not exactly match the JSON syntax specification for numbers. This was inconsistent with hstore_to_json_loose(), so tighten the test to match the JSON syntax.","title":"Make contrib/hstore's hstore_to_jsonb_loose() and hstore_to_json_loose() functions agree on what is a number","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["c6fbe6d6f"],"commit_groups":[["c6fbe6d6f"]],"commits":[],"cves":[],"db_id":"044ac34156a69bdfd93e35cb76242eaf","html":"\u003cp\u003eAdd selectivity estimation functions for \u003ca href=\"/docs/9.6/intarray.html\"\u003econtrib/intarray\u003c/a\u003e operators to improve plans for queries using those operators (Yury Zhuravlev, Alexander Korotkov)\u003c/p\u003e","id":"9.6.0-874845c4d403cc9f","identity_text":"Add selectivity estimation functions for contrib/intarray operators to improve plans for queries using those operators (Yury Zhuravlev, Alexander Korotkov)","part":"changes","patch_ids":["0a6fc130b97da48a5e866442c2e04e76"],"related_changes":[],"relations":[],"section":"Additional Modules","section_path":["Additional Modules"],"source_commits":["c6fbe6d6f"],"source_entry_id":"9.6.0/changes/186","source_hash":"62d2098a1d2f86661f5fe67558291a688fc1ef14496322652fbfe425dda46a47","source_url":"/docs/release/9.6.0/#AEN137326","statement_hash":"83d7c8366173fa5443a54952a842ca077a8b9eea69169d53ee664a9427fffa51","text":"Add selectivity estimation functions for contrib/intarray operators to improve plans for queries using those operators (Yury Zhuravlev, Alexander Korotkov)","title":"Add selectivity estimation functions for contrib/intarray operators to improve plans for queries using those operators","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["d6061f83a"],"commit_groups":[["d6061f83a"]],"commits":[],"cves":[],"db_id":"a6d1f16df69322e0864665568d1fb874","html":"\u003cp\u003eMake \u003ca href=\"/docs/9.6/pageinspect.html\"\u003econtrib/pageinspect\u003c/a\u003e's \u003ccode\u003eheap_page_items()\u003c/code\u003e function show the raw data in each tuple, and add new functions \u003ccode\u003etuple_data_split()\u003c/code\u003e and \u003ccode\u003eheap_page_item_attrs()\u003c/code\u003e for inspection of individual tuple fields (Nikolay Shaplov)\u003c/p\u003e","id":"9.6.0-195cb63258f1e25b","identity_text":"Make contrib/pageinspect's heap_page_items() function show the raw data in each tuple, and add new functions tuple_data_split() and heap_page_item_attrs() for inspection of individual tuple fields (Nikolay Shaplov)","part":"changes","patch_ids":["78cccc68e779f9c26e41978ca66243f5"],"related_changes":[],"relations":[],"section":"Additional Modules","section_path":["Additional Modules"],"source_commits":["d6061f83a"],"source_entry_id":"9.6.0/changes/187","source_hash":"ebfcd2d7a8a1e0067250064b22b03fc7d913831b9aa94d8574c240f7f98e15a9","source_url":"/docs/release/9.6.0/#AEN137326","statement_hash":"f65f031bab977d1598da60b3b95cfb70d7e9bba618d02b6defc25112178aaf77","text":"Make contrib/pageinspect's heap_page_items() function show the raw data in each tuple, and add new functions tuple_data_split() and heap_page_item_attrs() for inspection of individual tuple fields (Nikolay Shaplov)","title":"Make contrib/pageinspect's heap_page_items() function show the raw data in each tuple, and add new functions tuple_data_split() and heap_page_item_attrs() for inspection of individual tuple fields","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["188f359d3"],"commit_groups":[["188f359d3"]],"commits":[],"cves":[],"db_id":"4a4d5bf2c07734a0d48d2cc70b375983","html":"\u003cp\u003eAdd an optional S2K iteration count parameter to \u003ca href=\"/docs/9.6/pgcrypto.html\"\u003econtrib/pgcrypto\u003c/a\u003e's \u003ccode\u003epgp_sym_encrypt()\u003c/code\u003e function (Jeff Janes)\u003c/p\u003e","id":"9.6.0-dd72b73404f140fa","identity_text":"Add an optional S2K iteration count parameter to contrib/pgcrypto's pgp_sym_encrypt() function (Jeff Janes)","part":"changes","patch_ids":["c8515b907b155f5ec30921ad87d74e68"],"related_changes":[],"relations":[],"section":"Additional Modules","section_path":["Additional Modules"],"source_commits":["188f359d3"],"source_entry_id":"9.6.0/changes/188","source_hash":"0177a2adeb95f27f2721acffc2cb77720e23d4ec83a5c23143933ea3cfe7c52d","source_url":"/docs/release/9.6.0/#AEN137326","statement_hash":"f96db440de34704fa1a5331bbed92840083dd3d099758bc66372a693d5bb5f0d","text":"Add an optional S2K iteration count parameter to contrib/pgcrypto's pgp_sym_encrypt() function (Jeff Janes)","title":"Add an optional S2K iteration count parameter to contrib/pgcrypto's pgp_sym_encrypt() function","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["f576b17cd"],"commit_groups":[["f576b17cd"]],"commits":[],"cves":[],"db_id":"54aa6514cbcbcbe19e92837484e396d1","html":"\u003cp\u003eAdd support for \u003cspan\u003e\"word similarity\"\u003c/span\u003e to \u003ca href=\"/docs/9.6/pgtrgm.html\"\u003econtrib/pg_trgm\u003c/a\u003e (Alexander Korotkov, Artur Zakirov)\u003c/p\u003e\n\u003cp\u003eThese functions and operators measure the similarity between one string and the most similar single word of another string.\u003c/p\u003e","id":"9.6.0-69f70e5db4ff498f","identity_text":"Add support for word similarity to contrib/pg_trgm (Alexander Korotkov, Artur Zakirov) These functions and operators measure the similarity between one string and the most similar single word of another string.","part":"changes","patch_ids":["0cfbebe3029becafa3dbbe3b51222afb"],"related_changes":[],"relations":[],"section":"Additional Modules","section_path":["Additional Modules"],"source_commits":["f576b17cd"],"source_entry_id":"9.6.0/changes/189","source_hash":"000b39304c9cbffcacbe29c24c2c6ae7e11d5a8316eceea240628562a94bc8b2","source_url":"/docs/release/9.6.0/#AEN137326","statement_hash":"9ce20de072488369887b3dde0362a5b8412b3f514dc196593fb3d217a01e372d","text":"Add support for \"word similarity\" to contrib/pg_trgm (Alexander Korotkov, Artur Zakirov) These functions and operators measure the similarity between one string and the most similar single word of another string.","title":"Add support for \"word similarity\" to contrib/pg_trgm","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["5871b8848","9c852566a"],"commit_groups":[["5871b8848"],["9c852566a"]],"commits":[],"cves":[],"db_id":"df31380e0834580ee6e9887bf5ed6441","html":"\u003cp\u003eAdd configuration parameter pg_trgm.similarity_threshold for contrib/pg_trgm's similarity threshold (Artur Zakirov)\u003c/p\u003e\n\u003cp\u003eThis threshold has always been configurable, but formerly it was controlled by special-purpose functions \u003ccode\u003eset_limit()\u003c/code\u003e and \u003ccode\u003eshow_limit()\u003c/code\u003e. Those are now deprecated.\u003c/p\u003e","id":"9.6.0-48a28d80421534dd","identity_text":"Add configuration parameter pg_trgm.similarity_threshold for contrib/pg_trgm's similarity threshold (Artur Zakirov) This threshold has always been configurable, but formerly it was controlled by special-purpose functions set_limit() and show_limit(). Those are now deprecated.","part":"changes","patch_ids":["14364d9be2444094922a5a95c4e38f37","26443f9474de4ba89162182d3d56d6ba"],"related_changes":[],"relations":[],"section":"Additional Modules","section_path":["Additional Modules"],"source_commits":["5871b8848","9c852566a"],"source_entry_id":"9.6.0/changes/190","source_hash":"6781fb02ef7b4ad10385aab37fb450793b1ff2fe20238d939304a30ae777a770","source_url":"/docs/release/9.6.0/#AEN137326","statement_hash":"09248a2e70492ae6a9158656837dced0620ad2aaa9da34d36dad493f2af13269","text":"Add configuration parameter pg_trgm.similarity_threshold for contrib/pg_trgm's similarity threshold (Artur Zakirov) This threshold has always been configurable, but formerly it was controlled by special-purpose functions set_limit() and show_limit(). Those are now deprecated.","title":"Add configuration parameter pg_trgm.similarity_threshold for contrib/pg_trgm's similarity threshold","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["97f301464"],"commit_groups":[["97f301464"]],"commits":[],"cves":[],"db_id":"5b9591df28114970a4a283e1e18b762f","html":"\u003cp\u003eImprove contrib/pg_trgm's GIN operator class to speed up index searches in which both common and rare keys appear (Jeff Janes)\u003c/p\u003e","id":"9.6.0-91f8690d027a1c3f","identity_text":"Improve contrib/pg_trgm's GIN operator class to speed up index searches in which both common and rare keys appear (Jeff Janes)","part":"changes","patch_ids":["2f05bd90a9f26ab7dcce4c612795dc23"],"related_changes":[],"relations":[],"section":"Additional Modules","section_path":["Additional Modules"],"source_commits":["97f301464"],"source_entry_id":"9.6.0/changes/191","source_hash":"8689b470ab4b4e72e88cec37416db94b73e5f6ca3f7b3233028ae0ba0a0acfea","source_url":"/docs/release/9.6.0/#AEN137326","statement_hash":"dfe3d6bada677d71d7874dfcc5ea1c72ddd1913cea5f45256b0e54cf8b275e85","text":"Improve contrib/pg_trgm's GIN operator class to speed up index searches in which both common and rare keys appear (Jeff Janes)","title":"Improve contrib/pg_trgm's GIN operator class to speed up index searches in which both common and rare keys appear","variants":[],"version":"9.6.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["25bfa7efd"],"commit_groups":[["25bfa7efd"]],"commits":[],"cves":[],"db_id":"250c55da93b3bdf976b686df8452a2a7","html":"\u003cp\u003eImprove performance of similarity searches in contrib/pg_trgm GIN indexes (Christophe Fornaroli)\u003c/p\u003e","id":"9.6.0-e251b87a0d21ece3","identity_text":"Improve performance of similarity searches in contrib/pg_trgm GIN indexes (Christophe Fornaroli)","part":"changes","patch_ids":["0075cd5dbe01c0bf3da8fceb6e57e1b8"],"related_changes":[],"relations":[],"section":"Additional Modules","section_path":["Additional Modules"],"source_commits":["25bfa7efd"],"source_entry_id":"9.6.0/changes/192","source_hash":"74750d55a901ea9a67e341061492cb8f11997775c14dd7cb991b30b54879a676","source_url":"/docs/release/9.6.0/#AEN137326","statement_hash":"ff1f82439ff10a091b0827b181bf114b7c4269f30d725eca926e06a666b7ccab","text":"Improve performance of similarity searches in contrib/pg_trgm GIN indexes (Christophe Fornaroli)","title":"Improve performance of similarity searches in contrib/pg_trgm GIN indexes","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["71d05a2c7","ba0a198fb"],"commit_groups":[["71d05a2c7"],["ba0a198fb"]],"commits":[],"cves":[],"db_id":"ffda91e9a6d67fbe5e29d1753cbf18cc","html":"\u003cp\u003eAdd \u003ca href=\"/docs/9.6/pgvisibility.html\"\u003econtrib/pg_visibility\u003c/a\u003e module to allow examining table visibility maps (Robert Haas)\u003c/p\u003e","id":"9.6.0-540c28778a94af49","identity_text":"Add contrib/pg_visibility module to allow examining table visibility maps (Robert Haas)","part":"changes","patch_ids":["a30ebd5ad3eb4a7e604ba7e017d5ecb7","d7fb4d7edbabfe2836847f45396326c4"],"related_changes":[],"relations":[],"section":"Additional Modules","section_path":["Additional Modules"],"source_commits":["71d05a2c7","ba0a198fb"],"source_entry_id":"9.6.0/changes/193","source_hash":"875523bd9dc3248c5131b63810ada8bf8279631ce8f9812b3d4759381bf58707","source_url":"/docs/release/9.6.0/#AEN137326","statement_hash":"0480605e49ef4aaa1aea6d562fc5e10b150cccdc59ed6efb3712a92fd2f6c57f","text":"Add contrib/pg_visibility module to allow examining table visibility maps (Robert Haas)","title":"Add contrib/pg_visibility module to allow examining table visibility maps","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["49124613f"],"commit_groups":[["49124613f"]],"commits":[],"cves":[],"db_id":"cb60565363bd377b713b647cdd3693f6","html":"\u003cp\u003eAdd \u003ca href=\"/docs/9.6/sslinfo.html\"\u003e\u003ccode\u003essl_extension_info()\u003c/code\u003e\u003c/a\u003e function to contrib/sslinfo, to print information about \u003cacronym\u003eSSL\u003c/acronym\u003e extensions present in the X509 certificate used for the current connection (Dmitry Voronin)\u003c/p\u003e","id":"9.6.0-083f3bdb7f341898","identity_text":"Add ssl_extension_info() function to contrib/sslinfo, to print information about SSL extensions present in the X509 certificate used for the current connection (Dmitry Voronin)","part":"changes","patch_ids":["4c6a14d6416551a086c462622f28077a"],"related_changes":[],"relations":[],"section":"Additional Modules","section_path":["Additional Modules"],"source_commits":["49124613f"],"source_entry_id":"9.6.0/changes/194","source_hash":"f23cc3e35949d17f4140c38e8a6ef67515d8109b1e2b2f418b8c06d258b451d8","source_url":"/docs/release/9.6.0/#AEN137326","statement_hash":"b66cbe28782ca2c984df612f6bd17dd9273e2e066b3ad4d6d3216e07d7313666","text":"Add ssl_extension_info() function to contrib/sslinfo, to print information about SSL extensions present in the X509 certificate used for the current connection (Dmitry Voronin)","title":"Add ssl_extension_info() function to contrib/sslinfo, to print information about SSL extensions present in the X509 certificate used for the current connection","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["d89494166"],"commit_groups":[["d89494166"]],"commits":[],"cves":[],"db_id":"c4578d22874d856fa735e46928c4b5e5","html":"\u003cp\u003eAllow extension-provided operators and functions to be sent for remote execution, if the extension is whitelisted in the foreign server's options (Paul Ramsey)\u003c/p\u003e\n\u003cp\u003eUsers can enable this feature when the extension is known to exist in a compatible version in the remote database. It allows more efficient execution of queries involving extension operators.\u003c/p\u003e","id":"9.6.0-67f90fcabb9d83a9","identity_text":"Allow extension-provided operators and functions to be sent for remote execution, if the extension is whitelisted in the foreign server's options (Paul Ramsey) Users can enable this feature when the extension is known to exist in a compatible version in the remote database. It allows more efficient execution of queries involving extension operators.","part":"changes","patch_ids":["4fd7f051487035c59aa72d2bf40c825d"],"related_changes":[],"relations":[],"section":"Additional Modules / postgres_fdw","section_path":["Additional Modules","postgres_fdw"],"source_commits":["d89494166"],"source_entry_id":"9.6.0/changes/195","source_hash":"b1750b6d0c3360193337c032c6c8580e4f2e5f9844b53124af76b270748717ce","source_url":"/docs/release/9.6.0/#AEN137403","statement_hash":"17acb721c1c3ef618040a116de6cfa05d7955473edb37995e6bcf684d0dadb4d","text":"Allow extension-provided operators and functions to be sent for remote execution, if the extension is whitelisted in the foreign server's options (Paul Ramsey) Users can enable this feature when the extension is known to exist in a compatible version in the remote database. It allows more efficient execution of queries involving extension operators.","title":"Allow extension-provided operators and functions to be sent for remote execution, if the extension is whitelisted in the foreign server's options","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["ccd8f9792","f18c944b6"],"commit_groups":[["ccd8f9792"],["f18c944b6"]],"commits":[],"cves":[],"db_id":"055434100a08ae79566cc1e36ce69ba0","html":"\u003cp\u003eConsider performing sorts on the remote server (Ashutosh Bapat)\u003c/p\u003e","id":"9.6.0-004fefa414ba6d54","identity_text":"Consider performing sorts on the remote server (Ashutosh Bapat)","part":"changes","patch_ids":["8e0521b5877c9d27c9dca0d4d0741a2c","908026520dd9f586b7806956bc3591be"],"related_changes":[],"relations":[],"section":"Additional Modules / postgres_fdw","section_path":["Additional Modules","postgres_fdw"],"source_commits":["ccd8f9792","f18c944b6"],"source_entry_id":"9.6.0/changes/196","source_hash":"dd4b256c6ba805d8c6da38120a0daaa527baf1606e4eb90b9bda0733fb637033","source_url":"/docs/release/9.6.0/#AEN137403","statement_hash":"988446c69735d5b5dc09ea5e6a624d1d53b079dd9194e87e07c1ed3dcc7f4579","text":"Consider performing sorts on the remote server (Ashutosh Bapat)","title":"Consider performing sorts on the remote server","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["aa09cd242","e4106b252"],"commit_groups":[["aa09cd242"],["e4106b252"]],"commits":[],"cves":[],"db_id":"285c761df9e21f4aa666447f243c7bd4","html":"\u003cp\u003eConsider performing joins on the remote server (Shigeru Hanada, Ashutosh Bapat)\u003c/p\u003e","id":"9.6.0-895dd73f50649a25","identity_text":"Consider performing joins on the remote server (Shigeru Hanada, Ashutosh Bapat)","part":"changes","patch_ids":["a37a45b3cc21f731a9a72b873bf142a2","dc4a8a80ab6e1c396a3e33ee665833d4"],"related_changes":[],"relations":[],"section":"Additional Modules / postgres_fdw","section_path":["Additional Modules","postgres_fdw"],"source_commits":["aa09cd242","e4106b252"],"source_entry_id":"9.6.0/changes/197","source_hash":"59f667f12e6717bed803fa6b31cd61ecb6e22d947d419c668389cfc96cee59d8","source_url":"/docs/release/9.6.0/#AEN137403","statement_hash":"694b8e7bcbb79087e060ef3970d1729a3855e87df47c8ef214ea85f484bd2147","text":"Consider performing joins on the remote server (Shigeru Hanada, Ashutosh Bapat)","title":"Consider performing joins on the remote server","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["0bf3ae88a"],"commit_groups":[["0bf3ae88a"]],"commits":[],"cves":[],"db_id":"2e0973867acfeef348a599189a8bb3c7","html":"\u003cp\u003eWhen feasible, perform UPDATE or DELETE entirely on the remote server (Etsuro Fujita)\u003c/p\u003e\n\u003cp\u003eFormerly, remote updates involved sending a SELECT FOR UPDATE command and then updating or deleting the selected rows one-by-one. While that is still necessary if the operation requires any local processing, it can now be done remotely if all elements of the query are safe to send to the remote server.\u003c/p\u003e","id":"9.6.0-719a33dfe182d20b","identity_text":"When feasible, perform UPDATE or DELETE entirely on the remote server (Etsuro Fujita) Formerly, remote updates involved sending a SELECT FOR UPDATE command and then updating or deleting the selected rows one-by-one. While that is still necessary if the operation requires any local processing, it can now be done remotely if all elements of the query are safe to send to the remote server.","part":"changes","patch_ids":["5a36e5a15b72a1bc2d2fb282cc577866"],"related_changes":[],"relations":[],"section":"Additional Modules / postgres_fdw","section_path":["Additional Modules","postgres_fdw"],"source_commits":["0bf3ae88a"],"source_entry_id":"9.6.0/changes/198","source_hash":"24bda9ac6b14791ad633b118b10c514e94b46092f3f4289d003c9e3d0d1fd4fb","source_url":"/docs/release/9.6.0/#AEN137403","statement_hash":"9b0a0578bf7894edfcbb587a8b24b2e5efe9bc9793b8e2510e2fe7699bd9122b","text":"When feasible, perform UPDATE or DELETE entirely on the remote server (Etsuro Fujita) Formerly, remote updates involved sending a SELECT FOR UPDATE command and then updating or deleting the selected rows one-by-one. While that is still necessary if the operation requires any local processing, it can now be done remotely if all elements of the query are safe to send to the remote server.","title":"When feasible, perform UPDATE or DELETE entirely on the remote server","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["dc203dc3a"],"commit_groups":[["dc203dc3a"]],"commits":[],"cves":[],"db_id":"2e3bfde72456761fa2ebb7176e1627d6","html":"\u003cp\u003eAllow the fetch size to be set as a server or table option (Corey Huinker)\u003c/p\u003e\n\u003cp\u003eFormerly, postgres_fdw always fetched 100 rows at a time from remote queries; now that behavior is configurable.\u003c/p\u003e","id":"9.6.0-2520a581d0e9821a","identity_text":"Allow the fetch size to be set as a server or table option (Corey Huinker) Formerly, postgres_fdw always fetched 100 rows at a time from remote queries; now that behavior is configurable.","part":"changes","patch_ids":["262a25a954c7547f16b2dacfe69244f3"],"related_changes":[],"relations":[],"section":"Additional Modules / postgres_fdw","section_path":["Additional Modules","postgres_fdw"],"source_commits":["dc203dc3a"],"source_entry_id":"9.6.0/changes/199","source_hash":"8ed489b492c73014a599ab54f050dd76b6090dce31146b512a59794a1cede28e","source_url":"/docs/release/9.6.0/#AEN137403","statement_hash":"20265f2813b207c9b6a2410d6328b9c16bd84d80ba5b56f32d6ce8fde0dc5681","text":"Allow the fetch size to be set as a server or table option (Corey Huinker) Formerly, postgres_fdw always fetched 100 rows at a time from remote queries; now that behavior is configurable.","title":"Allow the fetch size to be set as a server or table option","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["96198d94c"],"commit_groups":[["96198d94c"]],"commits":[],"cves":[],"db_id":"bafce85fbfd2335329267f50f58f9b2f","html":"\u003cp\u003eUse a single foreign-server connection for local user IDs that all map to the same remote user (Ashutosh Bapat)\u003c/p\u003e","id":"9.6.0-437710793ce68872","identity_text":"Use a single foreign-server connection for local user IDs that all map to the same remote user (Ashutosh Bapat)","part":"changes","patch_ids":["69469ab5d59e3664c3232f3b0c5cf159"],"related_changes":[],"relations":[],"section":"Additional Modules / postgres_fdw","section_path":["Additional Modules","postgres_fdw"],"source_commits":["96198d94c"],"source_entry_id":"9.6.0/changes/200","source_hash":"e780f8183c29ebe897416b3626e1c461ae805afb56de256dd6fb25adffbe085e","source_url":"/docs/release/9.6.0/#AEN137403","statement_hash":"17013ec01cb413274c6c392dce1411285dcb92e8bb4a4f7659114bba83a1a429","text":"Use a single foreign-server connection for local user IDs that all map to the same remote user (Ashutosh Bapat)","title":"Use a single foreign-server connection for local user IDs that all map to the same remote user","variants":[],"version":"9.6.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["1b812afb0","f039eaac7"],"commit_groups":[["1b812afb0"],["f039eaac7"]],"commits":[],"cves":[],"db_id":"19c853c7088a13ef89a354c426345338","html":"\u003cp\u003eTransmit query cancellation requests to the remote server (Michael Paquier, Etsuro Fujita)\u003c/p\u003e\n\u003cp\u003ePreviously, a local query cancellation request did not cause an already-sent remote query to terminate early.\u003c/p\u003e","id":"9.6.0-c788c039e9f8d27d","identity_text":"Transmit query cancellation requests to the remote server (Michael Paquier, Etsuro Fujita) Previously, a local query cancellation request did not cause an already-sent remote query to terminate early.","part":"changes","patch_ids":["229d1d438509a06e397393fe78e485c6","e261523b424157961096e123edcafc40"],"related_changes":[],"relations":[],"section":"Additional Modules / postgres_fdw","section_path":["Additional Modules","postgres_fdw"],"source_commits":["1b812afb0","f039eaac7"],"source_entry_id":"9.6.0/changes/201","source_hash":"b25f6b4665aa366bf5bc9bcceffa59327d9aef8b16922a41a6ec5fbe7bcfebf2","source_url":"/docs/release/9.6.0/#AEN137403","statement_hash":"2a2a12fdbd0cb4fc80ad03bb0acae36ea6c02112b00958ff6624b12d8e8b141e","text":"Transmit query cancellation requests to the remote server (Michael Paquier, Etsuro Fujita) Previously, a local query cancellation request did not cause an already-sent remote query to terminate early.","title":"Transmit query cancellation requests to the remote server","variants":[],"version":"9.6.0"}],"entry_count":214,"eol":"2021-11-11","eol_date":"2021-11-11","label":"9.6","major":"9.6","manual":"9.6","manual_build":"9.6.24","manual_url":"/docs/9.6/release-9-6.html","migration_html":"\u003cp\u003eA dump/restore using \u003ca href=\"/docs/9.6/app-pg-dumpall.html\"\u003e\u003cspan\u003epg_dumpall\u003c/span\u003e\u003c/a\u003e, or use of \u003ca href=\"/docs/9.6/pgupgrade.html\"\u003e\u003cspan\u003epg_upgrade\u003c/span\u003e\u003c/a\u003e, is required for those wishing to migrate data from any previous release.\u003c/p\u003e\n\u003cp\u003eVersion 9.6 contains a number of changes that may affect compatibility with previous releases. Observe the following incompatibilities:\u003c/p\u003e","minor":0,"placeholder":false,"source_as_of":"","source_url":"/docs/release/9.6.0/","status":"stable","status_label":"Historical","support_days":-1840,"supported":false,"version":"9.6.0"}],"mode":"release","release_count":1,"remaining_cves":[],"security_as_of":"2026-09-26","security_regressions":[],"source_as_of":"2026-11-19","stats":[{"count":214,"key":"all","label":"All changes"},{"count":169,"key":"feature","label":"Features"},{"count":6,"key":"bugfix","label":"Bug fixes"},{"count":0,"key":"security","label":"Security"},{"count":26,"key":"performance","label":"Performance"},{"count":13,"key":"compatibility","label":"Compatibility"},{"count":0,"key":"improvement","label":"Improvements"}],"to_release":{"age_days":3709,"build":"9.6.0","changes_count":201,"compatibility_count":13,"content_hash":"6103eb5c3092a5c44c15f5d68f04e785a0b0d6a7dee4a937ff3ef50a77d3442d","date":"2016-09-29","date_text":"2016-09-29","doc_git":"","doc_loaded_at":"2026-09-25T02:22:44.760693","entry_count":214,"eol":"2021-11-11","eol_date":"2021-11-11","label":"9.6","major":"9.6","manual":"9.6","manual_build":"9.6.24","manual_url":"/docs/9.6/release-9-6.html","migration_html":"\u003cp\u003eA dump/restore using \u003ca href=\"/docs/9.6/app-pg-dumpall.html\"\u003e\u003cspan\u003epg_dumpall\u003c/span\u003e\u003c/a\u003e, or use of \u003ca href=\"/docs/9.6/pgupgrade.html\"\u003e\u003cspan\u003epg_upgrade\u003c/span\u003e\u003c/a\u003e, is required for those wishing to migrate data from any previous release.\u003c/p\u003e\n\u003cp\u003eVersion 9.6 contains a number of changes that may affect compatibility with previous releases. Observe the following incompatibilities:\u003c/p\u003e","minor":0,"placeholder":false,"source_as_of":"","source_url":"/docs/release/9.6.0/","status":"stable","status_label":"Historical","support_days":-1840,"supported":false,"version":"9.6.0"},"total":214,"warnings":[]}
