[COMMITTERS] pgsql: Provide a way to predefine LWLock tranche IDs.

2015-12-15 Thread Robert Haas
Provide a way to predefine LWLock tranche IDs. It's a bit cumbersome to use LWLockNewTrancheId(), because the returned value needs to be shared between backends so that each backend can call LWLockRegisterTranche() with the correct ID. So, for built-in tranches, use a hard-coded value instead.

[COMMITTERS] pgsql: Move buffer I/O and content LWLocks out of the main tranche.

2015-12-15 Thread Robert Haas
Move buffer I/O and content LWLocks out of the main tranche. Move the content lock directly into the BufferDesc, so that locking and pinning a buffer touches only one cache line rather than two. Adjust the definition of BufferDesc slightly so that this doesn't make the BufferDesc any larger than

[COMMITTERS] pgsql: Update 9.5 release notes through today.

2015-12-15 Thread Tom Lane
Update 9.5 release notes through today. Also do another round of copy-editing, and fix up remaining FIXME items. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/bfc7f5dd5dc641b475c27b872d6df21c20c75af1 Modified Files -- doc/src/sgml/release-9.5.sgml |

[COMMITTERS] pgsql: Update 9.5 release notes through today.

2015-12-15 Thread Tom Lane
Update 9.5 release notes through today. Also do another round of copy-editing, and fix up remaining FIXME items. Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/commitdiff/ddd78136764133b72bfe9102e60bbd49fa22b414 Modified Files --

[COMMITTERS] pgsql: Document use of Subject Alternative Names in SSL server certific

2015-12-15 Thread Tom Lane
Document use of Subject Alternative Names in SSL server certificates. Commit acd08d764 did not bother with updating the documentation. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/0625dbb0b96e2ecd557eb5bcdc458679123951db Modified Files --

[COMMITTERS] pgsql: Teach mdnblocks() not to create zero-length files.

2015-12-15 Thread Robert Haas
Teach mdnblocks() not to create zero-length files. It's entirely surprising that mdnblocks() has the side effect of creating new files on disk, so let's make it not do that. One consequence of the old behavior is that, if running on a damaged cluster that is missing a file, mdnblocks() can

[COMMITTERS] pgsql: Document use of Subject Alternative Names in SSL server certific

2015-12-15 Thread Tom Lane
Document use of Subject Alternative Names in SSL server certificates. Commit acd08d764 did not bother with updating the documentation. Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/commitdiff/3ac806ccb5207810c7fe947ee44de4d242d42f97 Modified Files --

[COMMITTERS] pgsql: Stamp 9.5rc1.

2015-12-15 Thread Tom Lane
Stamp 9.5rc1. Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/commitdiff/8abb52fa2971e16844d2a3e61b92fa347dc49d45 Modified Files -- configure | 18 +- configure.in |2 +- doc/bug.template

[COMMITTERS] pgsql: Improve CREATE POLICY documentation

2015-12-15 Thread Stephen Frost
Improve CREATE POLICY documentation Clarify that SELECT policies are now applied when SELECT rights are required for a given query, even if the query is an UPDATE or DELETE query. Pointed out by Noah. Additionally, note the risk regarding concurrently open transactions where a relation which

[COMMITTERS] pgsql: Improve CREATE POLICY documentation

2015-12-15 Thread Stephen Frost
Improve CREATE POLICY documentation Clarify that SELECT policies are now applied when SELECT rights are required for a given query, even if the query is an UPDATE or DELETE query. Pointed out by Noah. Additionally, note the risk regarding concurrently open transactions where a relation which