<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/postgresql.git, branch REL9_6_0</title>
<subtitle>git.postgresql.org: git/postgresql.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/'/>
<entry>
<title>Stamp 9.6.0.</title>
<updated>2016-09-26T20:26:58+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2016-09-26T20:26:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=a721a1ba9cf6c86cb52f1bf325d5a27b64e870d6'/>
<id>a721a1ba9cf6c86cb52f1bf325d5a27b64e870d6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Translation updates</title>
<updated>2016-09-26T16:00:00+00:00</updated>
<author>
<name>Peter Eisentraut</name>
<email>peter_e@gmx.net</email>
</author>
<published>2016-09-26T16:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=e77ea9dbd71693c1a26d4962d5bd2f2163c94acc'/>
<id>e77ea9dbd71693c1a26d4962d5bd2f2163c94acc</id>
<content type='text'>
Source-Git-URL: git://git.postgresql.org/git/pgtranslation/messages.git
Source-Git-Hash: 5c283d709ce8368fe710f90429b72048ac4c6349
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Source-Git-URL: git://git.postgresql.org/git/pgtranslation/messages.git
Source-Git-Hash: 5c283d709ce8368fe710f90429b72048ac4c6349
</pre>
</div>
</content>
</entry>
<entry>
<title>Document has_type_privilege().</title>
<updated>2016-09-26T15:50:35+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2016-09-26T15:50:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=1d473b567e43a84c60428a9f70602acd4deac530'/>
<id>1d473b567e43a84c60428a9f70602acd4deac530</id>
<content type='text'>
Evidently an oversight in commit 729205571.  Back-patch to 9.2 where
privileges for types were introduced.

Report: &lt;20160922173517.8214.88959@wrigleys.postgresql.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Evidently an oversight in commit 729205571.  Back-patch to 9.2 where
privileges for types were introduced.

Report: &lt;20160922173517.8214.88959@wrigleys.postgresql.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Do a final round of updates on the 9.6 release notes.</title>
<updated>2016-09-24T20:25:35+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2016-09-24T20:25:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=fc37e2afa04c612c35e33e0ce447be296ba6bb02'/>
<id>fc37e2afa04c612c35e33e0ce447be296ba6bb02</id>
<content type='text'>
Set release date, document a few recent commits, do one last pass of
copy-editing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Set release date, document a few recent commits, do one last pass of
copy-editing.
</pre>
</div>
</content>
</entry>
<entry>
<title>Install TAP test infrastructure so it's available for extension testing.</title>
<updated>2016-09-23T19:50:00+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2016-09-23T19:50:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=5a83e2d4ea7ea064fc5b7d850456bb04db0274ac'/>
<id>5a83e2d4ea7ea064fc5b7d850456bb04db0274ac</id>
<content type='text'>
When configured with --enable-tap-tests, "make install" will now install
the Perl support files for TAP testing where PGXS will find them.
This allows extensions to rely on $(prove_check) even when being built
out-of-tree.  Back-patch to 9.4 where we first started to support TAP
testing, to reduce the number of cases extension makefiles need to
consider.

Craig Ringer

Discussion: &lt;CAMsr+YFXv+2qne6xJW7z_25mYBtktRX5rpkrgrb+DRgQ_FxgHQ@mail.gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When configured with --enable-tap-tests, "make install" will now install
the Perl support files for TAP testing where PGXS will find them.
This allows extensions to rely on $(prove_check) even when being built
out-of-tree.  Back-patch to 9.4 where we first started to support TAP
testing, to reduce the number of cases extension makefiles need to
consider.

Craig Ringer

Discussion: &lt;CAMsr+YFXv+2qne6xJW7z_25mYBtktRX5rpkrgrb+DRgQ_FxgHQ@mail.gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: fix examples of # operators so they actually work.</title>
<updated>2016-09-23T18:22:13+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2016-09-23T18:22:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=94e4cac251927e3ce1f66b3d96a03f1f7c3ba3e7'/>
<id>94e4cac251927e3ce1f66b3d96a03f1f7c3ba3e7</id>
<content type='text'>
These worked as-is until around 7.0, but fail in newer versions because
there are more operators named "#".  Besides it's a bit inconsistent that
only two of the examples on this page lack type names on their constants.

Report: &lt;20160923081530.1517.75670@wrigleys.postgresql.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These worked as-is until around 7.0, but fail in newer versions because
there are more operators named "#".  Besides it's a bit inconsistent that
only two of the examples on this page lack type names on their constants.

Report: &lt;20160923081530.1517.75670@wrigleys.postgresql.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix incorrect logic for excluding range constructor functions in pg_dump.</title>
<updated>2016-09-23T17:49:26+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2016-09-23T17:49:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=7e02476f337990e68c80b7a1395dcc6af111c034'/>
<id>7e02476f337990e68c80b7a1395dcc6af111c034</id>
<content type='text'>
Faulty AND/OR nesting in the WHERE clause of getFuncs' SQL query led to
dumping range constructor functions if they are part of an extension
and we're in binary-upgrade mode.  Actually, we don't want to dump them
separately even then, since CREATE TYPE AS RANGE will create the range's
constructor functions regardless.  Per report from Andrew Dunstan.

It looks like this mistake was introduced by me, in commit b985d4877, in
perhaps-overzealous refactoring to reduce code duplication.  I'm suitably
embarrassed.

Report: &lt;34854939-02d7-f591-5677-ce2994104599@dunslane.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Faulty AND/OR nesting in the WHERE clause of getFuncs' SQL query led to
dumping range constructor functions if they are part of an extension
and we're in binary-upgrade mode.  Actually, we don't want to dump them
separately even then, since CREATE TYPE AS RANGE will create the range's
constructor functions regardless.  Per report from Andrew Dunstan.

It looks like this mistake was introduced by me, in commit b985d4877, in
perhaps-overzealous refactoring to reduce code duplication.  I'm suitably
embarrassed.

Report: &lt;34854939-02d7-f591-5677-ce2994104599@dunslane.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove useless code.</title>
<updated>2016-09-23T14:44:56+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2016-09-23T14:44:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=a20435fe9aa52cd8c62f3b0ed359077a56824830'/>
<id>a20435fe9aa52cd8c62f3b0ed359077a56824830</id>
<content type='text'>
Apparent copy-and-pasteo in standby_desc_invalidations() had two
entries for msg-&gt;id == SHAREDINVALRELMAP_ID.

Aleksander Alekseev

Discussion: &lt;20160923090814.GB1238@e733&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Apparent copy-and-pasteo in standby_desc_invalidations() had two
entries for msg-&gt;id == SHAREDINVALRELMAP_ID.

Aleksander Alekseev

Discussion: &lt;20160923090814.GB1238@e733&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't trust CreateFileMapping() to clear the error code on success.</title>
<updated>2016-09-23T14:09:52+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2016-09-23T14:09:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=e7f5d8ea1c75cc341a966897760a812e437c4668'/>
<id>e7f5d8ea1c75cc341a966897760a812e437c4668</id>
<content type='text'>
We must test GetLastError() even when CreateFileMapping() returns a
non-null handle.  If that value were left over from some previous system
call, we might be fooled into thinking the segment already existed.
Experimentation on Windows 7 suggests that CreateFileMapping() clears
the error code on success, but it is not documented to do so, so let's
not rely on that happening in all Windows releases.

Amit Kapila

Discussion: &lt;20811.1474390987@sss.pgh.pa.us&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We must test GetLastError() even when CreateFileMapping() returns a
non-null handle.  If that value were left over from some previous system
call, we might be fooled into thinking the segment already existed.
Experimentation on Windows 7 suggests that CreateFileMapping() clears
the error code on success, but it is not documented to do so, so let's
not rely on that happening in all Windows releases.

Amit Kapila

Discussion: &lt;20811.1474390987@sss.pgh.pa.us&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid using PostmasterRandom() for DSM control segment ID.</title>
<updated>2016-09-23T13:54:11+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2016-09-23T13:54:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=b251379fb44b4893624999f1ba00986c029f11cf'/>
<id>b251379fb44b4893624999f1ba00986c029f11cf</id>
<content type='text'>
Commits 470d886c3 et al intended to fix the problem that the postmaster
selected the same "random" DSM control segment ID on every start.  But
using PostmasterRandom() for that destroys the intended property that the
delay between random_start_time and random_stop_time will be unpredictable.
(Said delay is probably already more predictable than we could wish, but
that doesn't mean that reducing it by a couple orders of magnitude is OK.)
Revert the previous patch and add a comment warning against misuse of
PostmasterRandom.  Fix the original problem by calling srandom() early in
PostmasterMain, using a low-security seed that will later be overwritten
by PostmasterRandom.

Discussion: &lt;20789.1474390434@sss.pgh.pa.us&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commits 470d886c3 et al intended to fix the problem that the postmaster
selected the same "random" DSM control segment ID on every start.  But
using PostmasterRandom() for that destroys the intended property that the
delay between random_start_time and random_stop_time will be unpredictable.
(Said delay is probably already more predictable than we could wish, but
that doesn't mean that reducing it by a couple orders of magnitude is OK.)
Revert the previous patch and add a comment warning against misuse of
PostmasterRandom.  Fix the original problem by calling srandom() early in
PostmasterMain, using a low-security seed that will later be overwritten
by PostmasterRandom.

Discussion: &lt;20789.1474390434@sss.pgh.pa.us&gt;
</pre>
</div>
</content>
</entry>
</feed>
