Commit Graph

82 Commits (411b720343005597d042fc1736ce9a3a3ee8a1fe)

Author SHA1 Message Date
Robert Haas 2113ac4cbb Don't use bgw_main even to specify in-core bgworker entrypoints. 9 years ago
Bruce Momjian 1d25779284 Update copyright via script for 2017 9 years ago
Robert Haas b460f5d669 Add max_parallel_workers GUC. 9 years ago
Robert Haas 6f3bd98ebf Extend framework from commit 53be0b1ad to report latch waits. 9 years ago
Tom Lane ea268cdc9a Add macros to make AllocSetContextCreate() calls simpler and safer. 9 years ago
Tom Lane 78dcd027e8 Fix potential memory leakage from HandleParallelMessages(). 9 years ago
Tom Lane fbf28b6b52 Fix logic for adding "parallel worker" context line to worker errors. 9 years ago
Tom Lane b6a97b91ff Block interrupts during HandleParallelMessages(). 10 years ago
Tom Lane a5fe473ad7 Minor cleanup for access/transam/parallel.c. 10 years ago
Robert Haas 10c0558ffe Fix several mistakes around parallel workers and client_encoding. 10 years ago
Robert Haas 292794f82b Remove PID from 'parallel worker' context message. 10 years ago
Tom Lane bfb937427b Fix fuzzy thinking in ReinitializeParallelDSM(). 10 years ago
Tom Lane cae1c788b9 Improve the situation for parallel query versus temp relations. 10 years ago
Robert Haas 4bc424b968 pgindent run for 9.6 10 years ago
Robert Haas 06bd458cb8 Use mul_size when multiplying by the number of parallel workers. 10 years ago
Robert Haas df4685fb0c Minor optimizations based on ParallelContext having nworkers_launched. 10 years ago
Robert Haas 7c944bd903 Introduce a new GUC force_parallel_mode for testing purposes. 10 years ago
Robert Haas a1c1af2a1f Introduce group locking to prevent parallel processes from deadlocking. 10 years ago
Bruce Momjian ee94300446 Update copyright for 2016 10 years ago
Peter Eisentraut 5db837d3f2 Message improvements 10 years ago
Robert Haas 64b2e7ad91 Pass extra data to bgworkers, and use this to fix parallel contexts. 10 years ago
Robert Haas 3a1f8611f2 Update parallel executor support to reuse the same DSM. 10 years ago
Robert Haas 31ba62ce32 Fix typos in comments. 10 years ago
Robert Haas b0b0d84b3d Allow a parallel context to relaunch workers. 10 years ago
Robert Haas a53c06a13e Prohibit parallel query when the isolation level is serializable. 10 years ago
Robert Haas 82b37765c7 Fix a problem with parallel workers being unable to restore role. 10 years ago
Robert Haas 6de6d96d97 Invalidate caches after cranking up a parallel worker transaction. 10 years ago
Robert Haas 2ad5c27bb5 Don't send protocol messages to a shm_mq that no longer exists. 10 years ago
Robert Haas 227d57f358 Don't dump core when destroying an unused ParallelContext. 10 years ago
Bruce Momjian 807b9e0dff pgindent run for 9.5 11 years ago
Robert Haas 1998261034 Avoid using a C++ keyword as a structure member name. 11 years ago
Robert Haas 924bcf4f16 Create an infrastructure for parallel computation in PostgreSQL. 11 years ago