[COMMITTERS] pgsql: Replace use of credential control messages with getsockopt(LOCAL

2011-05-31 Thread Tom Lane
Replace use of credential control messages with getsockopt(LOCAL_PEERCRED). It turns out the reason we hadn't found out about the portability issues with our credential-control-message code is that almost no modern platforms use that code at all; the ones that used to need it now offer getpeereid(

[COMMITTERS] pgsql: Recode non-ASCII characters in source to UTF-8

2011-05-31 Thread Peter Eisentraut
Recode non-ASCII characters in source to UTF-8 For consistency, have all non-ASCII characters from contributors' names in the source be in UTF-8. But remove some other more gratuitous uses of non-ASCII characters. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/ba4c

[COMMITTERS] pgsql: Use entities to encode non-ASCII characters in SGML documentatio

2011-05-31 Thread Peter Eisentraut
Use entities to encode non-ASCII characters in SGML documentation This has already been the case for the most part; just some cases had slipped through. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/85ffed431ae6fff0d5fbafd9a48b330542f2f4d9 Modified Files -

[COMMITTERS] pgsql: Protect GIST logic that assumes penalty values can't be negative

2011-05-31 Thread Tom Lane
Protect GIST logic that assumes penalty values can't be negative. Apparently sane-looking penalty code might return small negative values, for example because of roundoff error. This will confuse places like gistchoose(). Prevent problems by clamping negative penalty values to zero. (Just to be

[COMMITTERS] pgsql: Protect GIST logic that assumes penalty values can't be negative

2011-05-31 Thread Tom Lane
Protect GIST logic that assumes penalty values can't be negative. Apparently sane-looking penalty code might return small negative values, for example because of roundoff error. This will confuse places like gistchoose(). Prevent problems by clamping negative penalty values to zero. (Just to be

[COMMITTERS] pgsql: Protect GIST logic that assumes penalty values can't be negative

2011-05-31 Thread Tom Lane
Protect GIST logic that assumes penalty values can't be negative. Apparently sane-looking penalty code might return small negative values, for example because of roundoff error. This will confuse places like gistchoose(). Prevent problems by clamping negative penalty values to zero. (Just to be

[COMMITTERS] pgsql: Protect GIST logic that assumes penalty values can't be negative

2011-05-31 Thread Tom Lane
Protect GIST logic that assumes penalty values can't be negative. Apparently sane-looking penalty code might return small negative values, for example because of roundoff error. This will confuse places like gistchoose(). Prevent problems by clamping negative penalty values to zero. (Just to be

[COMMITTERS] pgsql: Protect GIST logic that assumes penalty values can't be negative

2011-05-31 Thread Tom Lane
Protect GIST logic that assumes penalty values can't be negative. Apparently sane-looking penalty code might return small negative values, for example because of roundoff error. This will confuse places like gistchoose(). Prevent problems by clamping negative penalty values to zero. (Just to be