Commit Graph

40 Commits (cc5f81366c36b3dd8f02bd9be1cf75b2cc8482bd)

Author SHA1 Message Date
Andres Freund cc5f81366c Add support for coordinating record typmods among parallel workers. 8 years ago
Tom Lane 6708e447ef Clean up shm_mq cleanup. 8 years ago
Tom Lane 382ceffdf7 Phase 3 of pgindent updates. 8 years ago
Tom Lane e3860ffa4d Initial pgindent run with pg_bsd_indent version 2.0. 8 years ago
Andres Freund 9206ced1dc Clean up latch related code. 8 years ago
Tom Lane d466335064 Don't be so trusting that shm_toc_lookup() will always succeed. 8 years ago
Tom Lane b6dd127128 Ensure BackgroundWorker struct contents are well-defined. 8 years ago
Tom Lane 32470825d3 Avoid passing function pointers across process boundaries. 8 years ago
Robert Haas 2113ac4cbb Don't use bgw_main even to specify in-core bgworker entrypoints. 8 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(). 9 years ago
Tom Lane a5fe473ad7 Minor cleanup for access/transam/parallel.c. 9 years ago
Robert Haas 10c0558ffe Fix several mistakes around parallel workers and client_encoding. 9 years ago
Robert Haas 292794f82b Remove PID from 'parallel worker' context message. 9 years ago
Tom Lane bfb937427b Fix fuzzy thinking in ReinitializeParallelDSM(). 9 years ago
Tom Lane cae1c788b9 Improve the situation for parallel query versus temp relations. 9 years ago
Robert Haas 4bc424b968 pgindent run for 9.6 9 years ago
Robert Haas 06bd458cb8 Use mul_size when multiplying by the number of parallel workers. 9 years ago
Robert Haas df4685fb0c Minor optimizations based on ParallelContext having nworkers_launched. 9 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 10 years ago
Robert Haas 1998261034 Avoid using a C++ keyword as a structure member name. 10 years ago
Robert Haas 924bcf4f16 Create an infrastructure for parallel computation in PostgreSQL. 10 years ago