0388324fbe 
								
							
								 
							
						 
						
							
							
								
								Expand planner readme  
							
							
							
						 
						
							2018-12-04 09:55:19 +01:00  
				
					
						
							
							
								 
						
							
							
								d1b182de7d 
								
							
								 
							
						 
						
							
							
								
								Replace calls to unsafe functions like memcpy and sscanf  
							
							... 
							
							
							
							In answer to a security audit, we double check buffer sizes and avoid
known-dangerous operations such as sscanf. 
							
						 
						
							2018-12-04 08:54:43 +01:00  
				
					
						
							
							
								 
						
							
							
								621ccf3946 
								
							
								 
							
						 
						
							
							
								
								Ensure to use initialized MaxBackends  
							
							... 
							
							
							
							Postgresql loads shared libraries before calculating MaxBackends.
However, Citus relies on MaxBackends being set. Thus, with this
commit we use the same steps to calculate MaxBackends while
Citus is being loaded (e.g., PG_Init is called).
Note that this is safe since all the elements that are used to
calculate MaxBackends are PGC_POSTMASTER gucs and a constant
value. 
							
						 
						
							2018-12-03 13:25:51 +03:00  
				
					
						
							
							
								 
						
							
							
								b6ebd791a6 
								
							
								 
							
						 
						
							
							
								
								Sort task list for multi-task explain outputs  
							
							... 
							
							
							
							This is purely for ensuring that regression tests do not randomly fail. 
							
						 
						
							2018-11-30 11:19:37 -07:00  
				
					
						
							
							
								 
						
							
							
								89d32af3ad 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2509  from citusdata/fix_partitioning_test  
							
							... 
							
							
							
							Make sure the explain output for partition wise join is stable 
							
						 
						
							2018-11-30 15:16:01 +01:00  
				
					
						
							
							
								 
						
							
							
								18c9badff5 
								
							
								 
							
						 
						
							
							
								
								Make sure the explain output for partition wise join is stable  
							
							... 
							
							
							
							We disable bunch of planning options on the workers. This might be
risky if any concurrent test relies on EXPLAIN OUTPUT as well. Still,
we want to keep this test, so we should try to not parallelize this
test with such test. 
							
						 
						
							2018-11-30 16:44:57 +03:00  
				
					
						
							
							
								 
						
							
							
								e2c4efbaa4 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2305  from citusdata/insert_select_onconflict  
							
							... 
							
							
							
							INSERT...SELECT via coordinator with ON CONFLICT/RETURNING 
							
						 
						
							2018-11-30 16:23:49 +03:00  
				
					
						
							
							
								 
						
							
							
								8893cc141d 
								
							
								 
							
						 
						
							
							
								
								Support INSERT...SELECT with ON CONFLICT or RETURNING via coordinator  
							
							... 
							
							
							
							Before this commit, Citus supported INSERT...SELECT queries with
ON CONFLICT or RETURNING clauses only for pushdownable ones, since
queries supported via coordinator were utilizing COPY infrastructure
of PG to send selected tuples to the target worker nodes.
After this PR, INSERT...SELECT queries with ON CONFLICT or RETURNING
clauses will be performed in two phases via coordinator. In the first
phase selected tuples will be saved to the intermediate table which
is colocated with target table of the INSERT...SELECT query. Note that,
a utility function to save results to the colocated intermediate result
also implemented as a part of this commit. In the second phase, INSERT..
SELECT query is directly run on the worker node using the intermediate
table as the source table. 
							
						 
						
							2018-11-30 15:29:12 +03:00  
				
					
						
							
							
								 
						
							
							
								a9c299473b 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2507  from citusdata/error_out_grouping_sets_in_subqueries  
							
							... 
							
							
							
							Error out when a subquery has grouping set clause 
							
						 
						
							2018-11-30 15:14:45 +03:00  
				
					
						
							
							
								 
						
							
							
								088a2ef66a 
								
							
								 
							
						 
						
							
							
								
								throw an error when a subquery has grouping set clause  
							
							
							
						 
						
							2018-11-30 13:11:32 +03:00  
				
					
						
							
							
								 
						
							
							
								5a8c79430e 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2508  from citusdata/fix_citus_stat_activity  
							
							... 
							
							
							
							Ensure that citus_dist_activity test outputs do not change 
							
						 
						
							2018-11-30 10:19:27 +01:00  
				
					
						
							
							
								 
						
							
							
								a15f168ce4 
								
							
								 
							
						 
						
							
							
								
								Ensure that citus_dist_activity test outputs do not change  
							
							... 
							
							
							
							Since there is no lock ordering among the query that is executed
and the select from the view, we prefer to add a timeout before
priting the activity. 
							
						 
						
							2018-11-30 11:46:17 +03:00  
				
					
						
							
							
								 
						
							
							
								e17d98b0e3 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2486  from citusdata/fix/create-distributed-table-as-owner  
							
							... 
							
							
							
							Fix create_distributed_table as non-table-owner 
							
						 
						
							2018-11-29 16:16:34 +01:00  
				
					
						
							
							
								 
						
							
							
								9309e63156 
								
									
								
							
								 
							
						 
						
							
							
								
								create_distributed_table as user, change table ownership during create  
							
							
							
						 
						
							2018-11-29 14:20:42 +01:00  
				
					
						
							
							
								 
						
							
							
								6aa191f72c 
								
									
								
							
								 
							
						 
						
							
							
								
								remove table_ddl_command_array and test master_get_table_ddl_events  
							
							
							
						 
						
							2018-11-29 14:20:42 +01:00  
				
					
						
							
							
								 
						
							
							
								cc2422efee 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2505  from citusdata/fix_stat_statements_view  
							
							... 
							
							
							
							Fix citus_stat_statements view 
							
						 
						
							2018-11-29 16:16:52 +03:00  
				
					
						
							
							
								 
						
							
							
								fd868ec268 
								
							
								 
							
						 
						
							
							
								
								Fix citus_stat_statements view  
							
							... 
							
							
							
							Join between pg_stat_statements and citus_query_stats should
include queryid, dbid, userid instead of just queryid. 
							
						 
						
							2018-11-29 14:49:16 +03:00  
				
					
						
							
							
								 
						
							
							
								a378a11da0 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2493  from citusdata/allow-adding-node-in-any-group  
							
							... 
							
							
							
							Refrain from having a strong opinion on maxGroupId. 
							
						 
						
							2018-11-28 16:25:15 +01:00  
				
					
						
							
							
								 
						
							
							
								435a036328 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2494  from citusdata/notsolocky  
							
							... 
							
							
							
							Relax multi-shard modify locks when enable_deadlock_prevention is disabled 
							
						 
						
							2018-11-28 15:21:44 +01:00  
				
					
						
							
							
								 
						
							
							
								e8f3b32b64 
								
									
								
							
								 
							
						 
						
							
							
								
								Add changelog entry for 8.0.1  
							
							
							
						 
						
							2018-11-27 23:09:41 -07:00  
				
					
						
							
							
								 
						
							
							
								70a65c0d10 
								
							
								 
							
						 
						
							
							
								
								Add changelog entry for 7.5.3  
							
							
							
						 
						
							2018-11-27 21:28:50 -07:00  
				
					
						
							
							
								 
						
							
							
								5ae2d03881 
								
							
								 
							
						 
						
							
							
								
								Refrain from having a strong opinion on maxGroupId.  
							
							... 
							
							
							
							When initializing a Citus formation automatically from an external piece of
software such as Citus-HA, the following process process may be used:
  - decide on the groupId in the external software
  - SELECT * FROM master_add_inactive_node('localhost', 9701, groupid => X)
When Citus checks for maxGroupId, it forbids other software to pick their
own group Ids to ues with the master_add_inactive_node() API.
This patch removes the extra testing around maxGroupId. 
							
						 
						
							2018-11-28 04:29:15 +01:00  
				
					
						
							
							
								 
						
							
							
								0393910c65 
								
							
								 
							
						 
						
							
							
								
								Shard IDs in isolation_citus_dist_stat_activity output changed  
							
							
							
						 
						
							2018-11-28 02:59:50 +01:00  
				
					
						
							
							
								 
						
							
							
								aff37cf1bc 
								
							
								 
							
						 
						
							
							
								
								Control multi-shard modify locks with enable_deadlock_prevention  
							
							
							
						 
						
							2018-11-28 02:59:50 +01:00  
				
					
						
							
							
								 
						
							
							
								6fd5c73444 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2492  from citusdata/udf_cleanup  
							
							... 
							
							
							
							Clean up UDFs and revoke unnecessary permissions 
							
						 
						
							2018-11-26 14:21:34 +01:00  
				
					
						
							
							
								 
						
							
							
								1ec5b6c890 
								
							
								 
							
						 
						
							
							
								
								Remove old worker_hash_partition_table API  
							
							
							
						 
						
							2018-11-26 14:40:37 +01:00  
				
					
						
							
							
								 
						
							
							
								5a63deab2e 
								
							
								 
							
						 
						
							
							
								
								Clean up UDFs and remove unnecessary permissions  
							
							
							
						 
						
							2018-11-26 14:40:37 +01:00  
				
					
						
							
							
								 
						
							
							
								27930aa462 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2488  from citusdata/validate_constraint  
							
							... 
							
							
							
							Validate Constraint Support 
							
						 
						
							2018-11-26 15:20:01 +03:00  
				
					
						
							
							
								 
						
							
							
								448b241ab4 
								
							
								 
							
						 
						
							
							
								
								validate query isolation tests  
							
							
							
						 
						
							2018-11-26 14:04:51 +03:00  
				
					
						
							
							
								 
						
							
							
								4edb193f25 
								
							
								 
							
						 
						
							
							
								
								make the tests parallelizeable  
							
							... 
							
							
							
							helper view table_fkeys_in_workers now allows filtering by schema so that a test case can print out foreign keys in its schema only 
							
						 
						
							2018-11-26 14:04:51 +03:00  
				
					
						
							
							
								 
						
							
							
								b3d897039a 
								
							
								 
							
						 
						
							
							
								
								constraint validation regression tests  
							
							
							
						 
						
							2018-11-26 14:04:51 +03:00  
				
					
						
							
							
								 
						
							
							
								7db6991dc0 
								
							
								 
							
						 
						
							
							
								
								propagate validate queries to workers  
							
							
							
						 
						
							2018-11-26 14:04:51 +03:00  
				
					
						
							
							
								 
						
							
							
								2afbb89673 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2490  from citusdata/fix_tt_protocol  
							
							... 
							
							
							
							Check ownership in task-tracker protocol functions 
							
						 
						
							2018-11-26 11:45:50 +01:00  
				
					
						
							
							
								 
						
							
							
								e8e956aa9f 
								
							
								 
							
						 
						
							
							
								
								Require superuser when using non-existent job schema in worker_merge_files_into_table  
							
							
							
						 
						
							2018-11-24 02:57:16 +01:00  
				
					
						
							
							
								 
						
							
							
								711eef611f 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2489  from citusdata/task_tracker_suffix  
							
							... 
							
							
							
							Add user ID suffix to intermediate files in task-tracker 
							
						 
						
							2018-11-23 14:17:37 +01:00  
				
					
						
							
							
								 
						
							
							
								c4ad899dd8 
								
							
								 
							
						 
						
							
							
								
								Check schema ownership in worker_merge_* functions  
							
							
							
						 
						
							2018-11-23 11:05:09 +01:00  
				
					
						
							
							
								 
						
							
							
								e9a7295ead 
								
							
								 
							
						 
						
							
							
								
								Add multi-user tests for task-tracker protocol functions  
							
							
							
						 
						
							2018-11-23 11:05:09 +01:00  
				
					
						
							
							
								 
						
							
							
								8e93fe5870 
								
							
								 
							
						 
						
							
							
								
								Check schema owner in task_tracker_assign_task  
							
							
							
						 
						
							2018-11-23 11:05:09 +01:00  
				
					
						
							
							
								 
						
							
							
								ec957a833a 
								
							
								 
							
						 
						
							
							
								
								Check permission in task_tracker_task_status  
							
							
							
						 
						
							2018-11-23 11:04:58 +01:00  
				
					
						
							
							
								 
						
							
							
								4245032849 
								
							
								 
							
						 
						
							
							
								
								Add user ID suffixes to filenames in check-worker tests  
							
							
							
						 
						
							2018-11-23 08:36:12 +01:00  
				
					
						
							
							
								 
						
							
							
								6aa5592e52 
								
							
								 
							
						 
						
							
							
								
								Add user ID suffix to intermediate files in re-partition jobs  
							
							
							
						 
						
							2018-11-23 08:36:11 +01:00  
				
					
						
							
							
								 
						
							
							
								f608739b4f 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2487  from citusdata/task_result_udf  
							
							... 
							
							
							
							Execute SQL tasks using worker_execute_sql_task UDF when using task-tracker 
							
						 
						
							2018-11-22 18:10:04 +01:00  
				
					
						
							
							
								 
						
							
							
								a59bf31c76 
								
							
								 
							
						 
						
							
							
								
								Use worker_execute_sql_task UDF in task-tracker executor  
							
							
							
						 
						
							2018-11-22 18:15:33 +01:00  
				
					
						
							
							
								 
						
							
							
								30bad7e66f 
								
							
								 
							
						 
						
							
							
								
								Add worker_execute_sql_task UDF  
							
							
							
						 
						
							2018-11-22 18:15:33 +01:00  
				
					
						
							
							
								 
						
							
							
								e3521ce320 
								
							
								 
							
						 
						
							
							
								
								Test current user in task-tracker queries  
							
							
							
						 
						
							2018-11-22 18:15:33 +01:00  
				
					
						
							
							
								 
						
							
							
								caf402d506 
								
							
								 
							
						 
						
							
							
								
								COPY to a task file no longer switches to superuser  
							
							
							
						 
						
							2018-11-22 18:15:33 +01:00  
				
					
						
							
							
								 
						
							
							
								9ff6f1c552 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2483  from citusdata/fix_udf_permissions  
							
							... 
							
							
							
							Fix permissions checks in lesser-known UDFs 
							
						 
						
							2018-11-20 14:51:57 +01:00  
				
					
						
							
							
								 
						
							
							
								e17025e1d4 
								
							
								 
							
						 
						
							
							
								
								Check table ownership in mark_tables_colocated  
							
							
							
						 
						
							2018-11-18 00:11:38 +01:00  
				
					
						
							
							
								 
						
							
							
								18acd00553 
								
							
								 
							
						 
						
							
							
								
								Check permissions in lock_relation_if_exists  
							
							
							
						 
						
							2018-11-18 00:11:38 +01:00  
				
					
						
							
							
								 
						
							
							
								aab9f623eb 
								
							
								 
							
						 
						
							
							
								
								Check table ownership in upgrade_to_reference_table  
							
							
							
						 
						
							2018-11-16 23:27:34 +01:00