[COMMITTERS] pgsql: Implement SortSupport for macaddr data type

2017-03-29 Thread Teodor Sigaev
Implement SortSupport for macaddr data type Introduces a scheme to produce abbreviated keys for the macaddr type. Bump catalog version. Author: Brandur Leach Reviewed-by: Julien Rouhaud, Peter Geoghegan https://commitfest.postgresql.org/13/743/ Branch -- master Details --- http://git.p

[COMMITTERS] pgsql: pg_dump: Remove query truncation in error messages

2017-03-29 Thread Peter Eisentraut
pg_dump: Remove query truncation in error messages Remove the behavior that a query mentioned in an error message would be truncated to 128 characters. The queries that pg_dump runs are often longer than that, and this behavior makes analyzing failures harder unnecessarily. Discussion: https://

[COMMITTERS] pgsql: Update copyright year in recently added files

2017-03-29 Thread Peter Eisentraut
Update copyright year in recently added files Author: Masahiko Sawada Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/4fdb8a82e3c6aaf6ca866c92ee066b6bde82c0b8 Modified Files -- src/backend/replication/logical/tablesync.c | 2 +- src/include/catalog/pg_su

[COMMITTERS] pgsql: Simplify check of modified attributes in heap_update

2017-03-29 Thread Alvaro Herrera
Simplify check of modified attributes in heap_update The old coding was getting more complicated as new things were added, and it would be barely tolerable with upcoming WARM updates and other future features such as indirect indexes. The new coding incurs a small performance cost in synthetic be

[COMMITTERS] pgsql: Mark more functions parallel-restricted.

2017-03-29 Thread Robert Haas
Mark more functions parallel-restricted. Commit 61c2e1a95f94bb904953a6281ce17a18ac38ee6d allowed parallel query to be used in more places, revealing via buildfarm member mandrill that several functions intended to be called from triggers were incorrectly marked parallel-safe rather than parallel-r

[COMMITTERS] pgsql: Plug race in dsa_attach.

2017-03-29 Thread Robert Haas
Plug race in dsa_attach. With sufficiently bad luck, it was possible for a parallel worker to attempt attach to a DSA area after all other backends have detached from it, which is not legal. If the worker had waited a little longer to get started, the DSM itself would have been destroyed, which i

[COMMITTERS] pgsql: Fix hardcoded typeof check result for Windows

2017-03-29 Thread Peter Eisentraut
Fix hardcoded typeof check result for Windows The test result that I had blindly stipulated didn't work out on the build farm, so disable the feature in Windows MSVC for now. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/3582b223d494cd505c6a22da98bcb49f99196645 Mo