[COMMITTERS] pgsql: Build HTML documentation using XSLT stylesheets by default

2016-11-15 Thread Peter Eisentraut
Build HTML documentation using XSLT stylesheets by default The old DSSSL build is still available for a while using the make target "oldhtml". Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/e36ddab11735052841b4eff96642187ec9a8a7bc Modified Files -- doc/

[COMMITTERS] pgsql: Check that result tupdesc has exactly 1 column in return_next sc

2016-11-15 Thread Tom Lane
Check that result tupdesc has exactly 1 column in return_next scalar case. This should always be true, but since we're relying on a tuple descriptor passed from outside pltcl itself, let's check. Per a gripe from Coverity. Branch -- master Details --- http://git.postgresql.org/pg/commit

[COMMITTERS] pgsql: Reserve zero as an invalid DSM handle.

2016-11-15 Thread Robert Haas
Reserve zero as an invalid DSM handle. Previously, the handle for the control segment could not be zero, but some other DSM segment could potentially have a handle value of zero. However, that means that if someone wanted to store a dsm_handle that might or might not be valid, they would need a se

[COMMITTERS] pgsql: Allow DOS-style line endings in ~/.pgpass files.

2016-11-15 Thread Tom Lane
Allow DOS-style line endings in ~/.pgpass files. On Windows, libc will mask \r\n line endings for us, since we read the password file in text mode. But that doesn't happen on Unix. People who share password files across both systems might have \r\n line endings in a file they use on Unix, so as

[COMMITTERS] pgsql: Allow DOS-style line endings in ~/.pgpass files.

2016-11-15 Thread Tom Lane
Allow DOS-style line endings in ~/.pgpass files. On Windows, libc will mask \r\n line endings for us, since we read the password file in text mode. But that doesn't happen on Unix. People who share password files across both systems might have \r\n line endings in a file they use on Unix, so as

[COMMITTERS] pgsql: Allow DOS-style line endings in ~/.pgpass files.

2016-11-15 Thread Tom Lane
Allow DOS-style line endings in ~/.pgpass files. On Windows, libc will mask \r\n line endings for us, since we read the password file in text mode. But that doesn't happen on Unix. People who share password files across both systems might have \r\n line endings in a file they use on Unix, so as

[COMMITTERS] pgsql: Allow DOS-style line endings in ~/.pgpass files.

2016-11-15 Thread Tom Lane
Allow DOS-style line endings in ~/.pgpass files. On Windows, libc will mask \r\n line endings for us, since we read the password file in text mode. But that doesn't happen on Unix. People who share password files across both systems might have \r\n line endings in a file they use on Unix, so as

[COMMITTERS] pgsql: Allow DOS-style line endings in ~/.pgpass files.

2016-11-15 Thread Tom Lane
Allow DOS-style line endings in ~/.pgpass files. On Windows, libc will mask \r\n line endings for us, since we read the password file in text mode. But that doesn't happen on Unix. People who share password files across both systems might have \r\n line endings in a file they use on Unix, so as

[COMMITTERS] pgsql: Allow DOS-style line endings in ~/.pgpass files.

2016-11-15 Thread Tom Lane
Allow DOS-style line endings in ~/.pgpass files. On Windows, libc will mask \r\n line endings for us, since we read the password file in text mode. But that doesn't happen on Unix. People who share password files across both systems might have \r\n line endings in a file they use on Unix, so as

[COMMITTERS] pgsql: Account for catalog snapshot in PGXACT->xmin updates.

2016-11-15 Thread Tom Lane
Account for catalog snapshot in PGXACT->xmin updates. The CatalogSnapshot was not plugged into SnapshotResetXmin()'s accounting for whether MyPgXact->xmin could be cleared or advanced. In normal transactions this was masked by the fact that the transaction snapshot would be older, but during back

[COMMITTERS] pgsql: Account for catalog snapshot in PGXACT->xmin updates.

2016-11-15 Thread Tom Lane
Account for catalog snapshot in PGXACT->xmin updates. The CatalogSnapshot was not plugged into SnapshotResetXmin()'s accounting for whether MyPgXact->xmin could be cleared or advanced. In normal transactions this was masked by the fact that the transaction snapshot would be older, but during back

[COMMITTERS] pgsql: Account for catalog snapshot in PGXACT->xmin updates.

2016-11-15 Thread Tom Lane
Account for catalog snapshot in PGXACT->xmin updates. The CatalogSnapshot was not plugged into SnapshotResetXmin()'s accounting for whether MyPgXact->xmin could be cleared or advanced. In normal transactions this was masked by the fact that the transaction snapshot would be older, but during back

[COMMITTERS] pgsql: Account for catalog snapshot in PGXACT->xmin updates.

2016-11-15 Thread Tom Lane
Account for catalog snapshot in PGXACT->xmin updates. The CatalogSnapshot was not plugged into SnapshotResetXmin()'s accounting for whether MyPgXact->xmin could be cleared or advanced. In normal transactions this was masked by the fact that the transaction snapshot would be older, but during back

[COMMITTERS] pgsql: Limit the number of number of tapes used for a sort to 501.

2016-11-15 Thread Robert Haas
Limit the number of number of tapes used for a sort to 501. Gigantic numbers of tapes don't work out well. Original patch by Peter Geoghegan; comments entirely rewritten by me. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/fc19c1801bd2dbee1043b0c0b62e07747d30ea1c

[COMMITTERS] pgsql: Fix broken statement in UCS_to_most.pl.

2016-11-15 Thread Robert Haas
Fix broken statement in UCS_to_most.pl. This has been wrong for a very long time, and it's puzzling to me how it ever worked for anyone. Kyotaro Horiguchi Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/00c6d8077f39191a6f61a847ce7d55073d8f5a6f Modified Files --

[COMMITTERS] pgsql: pgbench: Increase maximum size of log filename from 64 to MAXPGP

2016-11-15 Thread Robert Haas
pgbench: Increase maximum size of log filename from 64 to MAXPGPATH. Commit 41124a91e61fc6d9681c1e8b15ba30494e84d643 allowed the transaction log file prefix to be changed but left in place the existing 64-character limit on the total length of a log file name. It's possible that could be inconveni