mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Mark a few parallelism-related variables with PGDLLIMPORT.
Back-patch commit09a65f5a2into the 9.6 and 10 branches. Needed to support back-patch of commit2cd4e8357on Windows. Discussion: http://postgr.es/m/20190604011354.GD1529@paquier.xyz
This commit is contained in:
		@@ -47,8 +47,8 @@ typedef struct ParallelContext
 | 
				
			|||||||
} ParallelContext;
 | 
					} ParallelContext;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
extern volatile bool ParallelMessagePending;
 | 
					extern volatile bool ParallelMessagePending;
 | 
				
			||||||
extern int	ParallelWorkerNumber;
 | 
					extern PGDLLIMPORT int ParallelWorkerNumber;
 | 
				
			||||||
extern bool InitializingParallelWorker;
 | 
					extern PGDLLIMPORT bool InitializingParallelWorker;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define		IsParallelWorker()		(ParallelWorkerNumber >= 0)
 | 
					#define		IsParallelWorker()		(ParallelWorkerNumber >= 0)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user