== PostgreSQL Weekly News - May 24, 2020 ==

From: David Fetter <david(at)fetter(dot)org>
To: PostgreSQL Announce <pgsql-announce(at)postgresql(dot)org>
Subject: == PostgreSQL Weekly News - May 24, 2020 ==
Date: 2020-05-24 18:23:00
Message-ID: 20200524182300.GA24014@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-announce

== PostgreSQL Weekly News - May 24, 2020 ==

PostgreSQL 13 Beta 1 released. Test!

== PostgreSQL Product News ==

Joe 0.7.0, a Slack chatbot that helps backend developers and DBAs troubleshoot
and optimize PostgreSQL queries, releaesd.

pg_probackup 2.3.3, a utility to manage backup and recovery of PostgreSQL
database clusters, released.

== PostgreSQL Jobs for May ==


== PostgreSQL Local ==

PGCon 2020 will take place online on May 26-29, 2020.

FOSS4G 2020, will take place in Calgary, Alberta, Canada August 24-29 2020.
the Call for Papers is currently open at https://2020.foss4g.org/speakers/

PGDay Ukraine will take place September 5th, 2020 in Lviv at the Bank Hotel.

pgDay Israel 2020 will take place on September 10, 2020 in Tel Aviv.

PGDay Austria will take place September 18, 2020 at Schloss Schoenbrunn
(Apothekertrakt) in Vienna.

PostgreSQL Conference Europe 2020 will be held on October 20-23, 2020 in Berlin,
Germany. The CfP is open through July 31, 2020 at https://2020.pgconf.eu/callforpapers

PG Day Russia will take place in Saint Petersburg on July 9, 2021.

== PostgreSQL in the News ==

Planet PostgreSQL: http://planet.postgresql.org/

PostgreSQL Weekly News is brought to you this week by David Fetter

Submit news and announcements by Sunday at 3:00pm PST8PDT to david(at)fetter(dot)org(dot)

== Applied Patches ==

Amit Kapila pushed:

- Fix comment in slot.c. Reported-by: Sawada Masahiko Author: Sawada Masahiko
Reviewed-by: Amit Kapila Backpatch-through: 9.5 Discussion:

Magnus Hagander pushed:

- Fix typos in README. Author: Daniel Gustafsson

Peter Eisentraut pushed:

- Translation updates. Source-Git-URL:
https://git.postgresql.org/git/pgtranslation/messages.git Source-Git-Hash:

- Remove unnecessary cast. Probably copied from nearby calls where it is
necessary. But this one also casts away constness, so it was doubly annoying.

Bruce Momjian pushed:

- doc: PG 13 relnotes: fix typos. Reported-by: Daniel Gustafsson Discussion:

- doc: Simplify mention of unique indexes for NULL control. Discussion:
https://postgr.es/m/2304.1586532634@sss.pgh.pa.us Backpatch-through: 9.5

- doc: suggest 1.1 as a random_page_cost value for SSDs. Reported-by: yigong hu
Backpatch-through: 9.5

- doc: PG 13 relnotes: fix FETCH FIRST ... WITH TIES xreflabel. Reported-by:
Erwin Brandstetter Discussion:
Backpatch-through: head

- doc: PG 13 relnotes: Improve FETCH link. Reported-by: Erwin Brandstetter
Backpatch-through: head

Tom Lane pushed:

- Remove unused variables. g_comment_start and g_comment_end have been unused
since commit 30ab5bd43d8f2082659191de8ae19be98c960ad7. Daniel Gustafsson
Discussion: https://postgr.es/m/2CA1BA9F-CDF9-41BE-96A1-2EFD2A3EA6CA@yesql.se

- Stamp 13beta1.

- part_strategy does not need its very own keyword classification. This should
be plain old ColId. Making it so makes the grammar less complicated, and
makes the compiled tables a kilobyte or so smaller (likely because they don't
have to deal with a keyword classification that's not used anyplace else).

Álvaro Herrera pushed:

- WITH TIES: number of rows is optional and defaults to one. FETCH FIRST .. ONLY
implements this correctly, but we missed to include it for FETCH FIRST .. WITH
TIES in commit 357889eb17bb. Author: Vik Fearing Discussion:

- doc: Adding a partition does not require Access Exclusive lock. This doc
update was missed in 898e5e3290a7. Backpatch to 12. Pointed out by Pavel
Luzanov Discussion:

- Fix two typos in a comment. They were introduced in 898e5e3290a7; backpatch to

Peter Geoghegan pushed:

- Reconsider nbtree page deletion assertion. Commit 624686abcf8 added an
assertion that verified that _bt_search successfully relocated the leaf page
undergoing deletion. Page deletion cannot deal with the case where the
descent stack is to the right of the page, so this seemed critical (deletion
can only handle the case where the descent stack is to the left of the
leaf/target page). However, the assertion went a bit too far. Since only a
buffer pin is held on the leaf page throughout the call to _bt_search, nothing
guarantees that it can't have split during this small window. And if does
actually split, _bt_search may end up "relocating" a page to the right of the
original target leaf page. This scenario seems extremely unlikely, but it
must still be considered. Remove the assertion, and document how we cope in
this scenario.

- Doc: Describe CREATE INDEX deduplication strategy. The B-Tree index
deduplication strategy used during CREATE INDEX and REINDEX differs from the
lazy strategy used by retail inserts. Make that clear by adding a new
paragraph to the B-Tree implementation section of the documentation. In
passing, do some copy-editing of nearby deduplication documentation.

Michaël Paquier pushed:

- Doc: Replace reference to pg_stat_wal_receiver.received_lsn by flushed_lsn.
Oversight in 2c8dd05d, where the view's column has been renamed. Reported-by:
Fujii Masao Discussion:

- Doc: Fix description of pg_class.relreplident. The description missed a comma
and lacked an explanation of what happens with REPLICA IDENTITY USING INDEX
when the dependent index is dropped. Author: Marina Polyakova Reviewed-by:
Daniel Gustafsson, Michael Paquier Discussion:
Backpatch-through: 9.5

- Fix MSVC installations with multiple "configure" files detected. When
installing binaries and libraries using the MSVC installation routines, the
operation gets done after moving to the root folder, whose location is
detected by checking if "configure" exists two times in a row. So, calling
the installation script from src/tools/msvc/ with an extra "configure" file
four levels up the root path of the code tree causes the execution to go
further up, leading to a failure in finding the builds. This commit fixes the
issue by moving to the root folder of the code tree only once, when necessary.
Author: Arnold Müller Reviewed-by: Daniel Gustafsson Discussion:
https://postgr.es/m/16343-f638f67e7e52b86c@postgresql.org Backpatch-through:

- Use explicit_bzero() when clearing sslpassword in libpq. Since 74a308c, any
security-sensitive information gets cleared from memory this way. This was
forgotten in 4dc6355. Author: Daniel Gustafsson Reviewed-by: Peter
Eisentraut, Michael Paquier Discussion:

- Add missing invocations to object access hooks. The following commands have
been missing calls to object access hooks InvokeObjectPost{Create|Alter}Hook
normally applied to all commands: - ALTER RULE RENAME TO - ALTER USER MAPPING
- CREATE ACCESS METHOD - CREATE STATISTICS Thanks also to Robert Haas for the
discussion. Author: Mark Dilger Reviewed-by: Álvaro Herrera, Michael Paquier

Noah Misch pushed:

- Clear some style deviations.

Etsuro Fujita pushed:

- Adjust indentation in src/backend/optimizer/README. The previous indentation
of optimizer functions was unclear; adjust the indentation dashes so that a
deeper level of indentation indicates that the outer optimizer function calls
the inner one. Author: Richard Guo, with additional change by me Reviewed-by:
Kyotaro Horiguchi Discussion:

Fujii Masao pushed:

- doc: Add note about I/O timing information in EXPLAIN and pg_stat_database.
Explain that the followings are tracked only when track_io_timing GUC is
enabled. - blk_read_time and blk_write_time in pg_stat_database - time spent
reading and writing data file blocks in EXPLAIN output with BUFFERS option
Whther track_io_timing is enabled affects also blk_read_time and
blk_write_time in pg_stat_statements, but which was already documented.
Author: Atsushi Torikoshi Reviewed-by: Fujii Masao Discussion:

== Pending Patches ==

Pavel Borisov sent in another revision of a patch to fix a bug that manifested
as GIN index search sometimes losing results.

Greg Nancarrow sent in another revision of a patch to enhance libpq
target_session_attrs and add target_server_type.

Joe Wildish sent in a patch to add an edit-and-execute command to psql
analogous to (and called the same way as) to bash's <C>-x <C>-e.

Pavel Stěhule sent in a patch to make it possible to use FOR on an unbound
cursor in PL/pgsql.

Tom Lane sent in a patch to make pq_begintypsend more efficient.

Álvaro Herrera sent in a patch to make CreateCheckPoint return bool.

Masahiko Sawada sent in another revision of a patch to support atomic commit
among multiple foreign servers.

Antonin Houska sent in another revision of a patch to implement aggregate

Daniel Gustafsson sent in a patch to disallow --role combined with
--use-set-session-authorization in pg_restore.

Michaël Paquier sent in two revisions of a patch to expand the use of
check_canonical_path() for more GUCs.

Peter Eisentraut sent in a patch to do some refactoring in the grammar around

Masahiko Sawada sent in another revision of a patch to fix a bug that manifested
as xid wraparound danger due to INDEX_CLEANUP false.

Andy Fan sent in a patch to Add query characters information to
pg_stat_statements, which will be helpful to: find which query is missing an
index more accurately, and find which query is using subplan/subquery which are
usually bad for the optimizer.

Jeff Davis and Tomáš Vondra traded patches to fix some inefficiencies in hashagg
spill I/O pattern and costing.

David Rowley sent in a patch to add a new node type that can handle the caching.

Peter Eisentraut sent in a patch to implement the SEARCH and CYCLE clauses for
recursive CTEs.

Thomas Munro sent in a PoC patch to use larger step sizes for Parallel Seq Scan.

John Naylor sent in a patch to tweak the set of candidate multipliers for
generating perfect hash functions, and use perfect hashing for the NFC and NFKC
Unicode normalization quick checks.

Kyotaro HORIGUCHI and Tatsuro Yamada traded patches to expose the counters of
plancache to pg_prepared_statements.

Pavel Stěhule sent in another revision of a patch to implement schema variables.

David Gilman sent in two more revisions of a patch to remove an unused seek
check in tar dump format, scan all ToCs when restoring a custom dump file
without offsets, and add an integration test for out-of-order ToC requests in

Michaël Paquier sent in a patch to add some more tests with USING INDEX
replident and dropped indexes.

Dilip Kumar sent in another revision of a patch to fix an infelicity between
logical_work_mem and logical streaming of large in-progress transactions.

Thomas Munro sent in a patch to fix a race condition that could corrupt

Amit Khandekar sent in a patch to inline a couple of functions in pl_exec.c.

Julien Rouhaud sent in another revision of a patch to implement collation

Vik Fearing sent in a patch to provide default GUCs for EXPLAIN options.

Browse pgsql-announce by date

  From Date Subject
Next Message Marc Munro 2020-05-25 20:37:23 Veil2 0.9 Beta
Previous Message Jonathan S. Katz 2020-05-21 12:11:39 PostgreSQL 13 Beta 1 Released!