lp:postgresql

Created by Max Bowsher on 2011-01-03 and last modified on 2018-04-26
Get this branch:
bzr branch lp:postgresql

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
VCS imports
Project:
PostgreSQL
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://git.postgresql.org/git/postgresql.git.

The next import is scheduled to run in 2 hours.

Last successful import was 3 hours ago.

Import started 3 hours ago on izar and finished 3 hours ago taking 40 seconds — see the log
Import started 9 hours ago on alnitak and finished 9 hours ago taking 40 seconds — see the log
Import started 15 hours ago on alnitak and finished 15 hours ago taking 40 seconds — see the log
Import started 21 hours ago on izar and finished 21 hours ago taking 40 seconds — see the log
Import started on 2018-04-25 on alnitak and finished on 2018-04-25 taking 40 seconds — see the log
Import started on 2018-04-25 on alnitak and finished on 2018-04-25 taking 50 seconds — see the log
Import started on 2018-04-25 on alnitak and finished on 2018-04-25 taking 40 seconds — see the log
Import started on 2018-04-24 on izar and finished on 2018-04-24 taking 40 seconds — see the log
Import started on 2018-04-24 on alnitak and finished on 2018-04-24 taking 40 seconds — see the log
Import started on 2018-04-24 on izar and finished on 2018-04-24 taking 40 seconds — see the log

Recent revisions

44878. By Noah Misch <email address hidden> 15 hours ago

Correct pg_recvlogical server version test.

The predecessor test boiled down to "PQserverVersion(NULL) >= 100000",
which is always false. No release includes that, so it could not have
reintroduced CVE-2018-1058. Back-patch to 9.4, like the addition of the
predecessor in commit 8d2814f274def85f39fbe997d454b01628cb5667.

Discussion: https://<email address hidden>

44877. By Tom Lane <email address hidden> 20 hours ago

Convert unused_oids and duplicate_oids to use Catalog.pm infrastructure.

unused_oids was previously a shell script, which of course didn't work at
all on Windows. Also, commit 372728b0d introduced some other portability
problems, as complained of by Stas Kelvich. We can improve matters by
converting it to Perl.

While we're at it, let's future-proof both this script and duplicate_oids
to use Catalog.pm rather than having a bunch of ad-hoc logic for parsing
catalog headers and .dat files. These scripts are thereby a bit slower,
which doesn't seem like a problem for typical manual use. It is a little
annoying for buildfarm purposes, but we should be able to fix that case
by having genbki.pl make the check instead of parsing the headers twice.
(That's not done in this commit, though.)

Stas Kelvich, adjusted a bit by me

Discussion: https://<email address hidden>

44876. By Tom Lane <email address hidden> 20 hours ago

Make Catalog.pm's representation of toast and index decls more abstract.

Instead of immediately constructing the string we need to emit into the
.BKI file, preserve the items we extracted from the header file in a hash.
This eases using the info for other purposes.

John Naylor (with cosmetic adjustments by me)

Discussion: https://<email address hidden>

44875. By Robert Haas <email address hidden> 21 hours ago

Prevent generation of bogus subquery scan paths.

Commit 0927d2f46ddd4cf7d6bf2cc84b3be923e0aedc52 didn't check that
consider_parallel was set for the target relation or account for
the possibility that required_outer might be non-empty.

To prevent future bugs of this ilk, add some assertions to
add_partial_path and do a bit of future-proofing of the code
recently added to recurse_set_operations.

Report by Andreas Seltenreich. Patch by Jeevan Chalke. Review
by Amit Kapila and by me.

Discussion: http://<email address hidden>

44874. By Teodor Sigaev 21 hours ago

Add amcheck missing downlink tests.

Also use palloc0() for main amcheck state, and adjust a few comments.

Somehow I pushed old version of patch in commit
4eaf7eaccb291f5d32d9f05284bfca9c5744de9a, so commit the difference.

Peter Geoghegan

44873. By Tom Lane <email address hidden> 22 hours ago

Reindent Perl files with perltidy version 20170521.

Discussion: https://<email address hidden>

44872. By Tom Lane <email address hidden> 22 hours ago

Change pgindent/README to specify that we use perltidy version 20170521.

Per discussion, this is now the project's standard version.
Update the obsolete URL, and explain how to install a specific version.

Discussion: https://<email address hidden>

44871. By Teodor Sigaev on 2018-04-25

Add missing and dangling downlink checks to amcheck

When bt_index_parent_check() is called with the heapallindexed option,
allocate a second Bloom filter to fingerprint block numbers that appear
in the downlinks of internal pages. Use Bloom filter probes when
walking the B-Tree to detect missing downlinks. This can detect subtle
problems with page deletion/VACUUM, such as corruption caused by the bug
just fixed in commit 6db4b499.

The downlink Bloom filter is bound in size by work_mem. Its optimal
size is typically far smaller than that of the regular heapallindexed
Bloom filter, especially when the index has high fan-out.

Author: Peter Geoghegan
Reviewer: Teodor Sigaev
Discussion: https://<email address hidden>

44870. By Magnus Hagander on 2018-04-25

Fix typo

Author: Michael Paquier

44869. By Álvaro Herrera on 2018-04-25

Update ExecInitPartitionInfo comment

Remove the words "if not already done." This obsolete wording
corresponds to an early development version of what became edd44738bc8.

Author: Etsuro Fujita
Reviewed-by: Amit Langote
Discussion: https://<email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.