e29ebe57fd 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1632  from citusdata/update_copied_code  
							
							... 
							
							
							
							Add latest PostgreSQL changes to copy-pasted code
cr: @mtuncer 
							
						 
						
							2017-09-08 14:59:14 -06:00  
				
					
						
							
							
								 
						
							
							
								8b2c3fcc15 
								
									
								
							
								 
							
						 
						
							
							
								
								Add clarifying comment to RngVarCallbackForDropIdx  
							
							... 
							
							
							
							We don't need the PARTITION-related logic recently added in PostgreSQL. 
							
						 
						
							2017-09-01 15:57:30 -06:00  
				
					
						
							
							
								 
						
							
							
								ec30ad38ba 
								
									
								
							
								 
							
						 
						
							
							
								
								Update ruleutils_10 with latest PostgreSQL changes  
							
							... 
							
							
							
							See:
	postgres/postgres@21d304dfed 
	postgres/postgres@bb5d6e80b1 
	postgres/postgres@d363d42bb9 
	postgres/postgres@eb145fdfea 
	postgres/postgres@decb08ebdf 
	postgres/postgres@a3ca72ae9a 
	postgres/postgres@bc2d716ad0 
	postgres/postgres@382ceffdf7 
	postgres/postgres@c7b8998ebb 
	postgres/postgres@e3860ffa4d 
	postgres/postgres@76a3df6e5e  
							
						 
						
							2017-09-01 14:26:59 -06:00  
				
					
						
							
							
								 
						
							
							
								ebecde8f6e 
								
									
								
							
								 
							
						 
						
							
							
								
								Update ruleutils_96 with latest PostgreSQL changes  
							
							... 
							
							
							
							See:
	postgres/postgres@41ada83774 
	postgres/postgres@3b0c2dbed0 
	postgres/postgres@ff2d537223  
							
						 
						
							2017-09-01 14:26:53 -06:00  
				
					
						
							
							
								 
						
							
							
								0e134a9178 
								
							
								 
							
						 
						
							
							
								
								Add PG11/master build, bump tools ( #1588 )  
							
							... 
							
							
							
							This build is allowed to fail and finish-fast is enabled, so there is
no negative impact on developers, yet we can now stay better abreast of
upcoming PostgreSQL changes.
The latest citus tools version also adds enable-depend to the flags in
our "custom PG" source-based builds which will result in fewer false
failures due to build caching behavior. 
							
						 
						
							2017-08-30 18:17:28 -06:00  
				
					
						
							
							
								 
						
							
							
								56f98c7300 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1630  from citusdata/bump_citus_version  
							
							... 
							
							
							
							Bump Citus version 
							
						 
						
							2017-08-29 15:13:48 +03:00  
				
					
						
							
							
								 
						
							
							
								273b034720 
								
							
								 
							
						 
						
							
							
								
								Bump Citus version  
							
							
							
						 
						
							2017-08-28 17:56:39 +03:00  
				
					
						
							
							
								 
						
							
							
								b485da9fb1 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1629  from citusdata/add_7.0_changelog_entry  
							
							... 
							
							
							
							Add CHANGELOG entry for 7.0 release 
							
						 
						
							2017-08-28 16:33:12 +03:00  
				
					
						
							
							
								 
						
							
							
								9e89eaa57e 
								
							
								 
							
						 
						
							
							
								
								Add CHANGELOG entry for 7.0 release  
							
							
							
						 
						
							2017-08-28 16:19:24 +03:00  
				
					
						
							
							
								 
						
							
							
								c68bd7efa7 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1621  from citusdata/multi_row_insert_defaults  
							
							... 
							
							
							
							Allow default columns in multi-row INSERTs 
							
						 
						
							2017-08-25 11:32:43 +02:00  
				
					
						
							
							
								 
						
							
							
								0aadbb1760 
								
							
								 
							
						 
						
							
							
								
								Convert multi-row INSERT target list to Vars  
							
							
							
						 
						
							2017-08-25 10:55:56 +02:00  
				
					
						
							
							
								 
						
							
							
								1920390688 
								
							
								 
							
						 
						
							
							
								
								Multi-row INSERTs no longer throw errors in isolation tests  
							
							
							
						 
						
							2017-08-25 10:55:56 +02:00  
				
					
						
							
							
								 
						
							
							
								ae00795dab 
								
							
								 
							
						 
						
							
							
								
								Allow default columns in multi-row INSERTs  
							
							
							
						 
						
							2017-08-25 10:55:56 +02:00  
				
					
						
							
							
								 
						
							
							
								a658f5ecda 
								
							
								 
							
						 
						
							
							
								
								Two more libs I needed to build citus  
							
							
							
						 
						
							2017-08-24 13:04:35 -06:00  
				
					
						
							
							
								 
						
							
							
								b4cc8939fc 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1613  from citusdata/fix_ref_table_multi_row_returning  
							
							... 
							
							
							
							Fix multi-row INSERT with RETURNING on reference tables 
							
						 
						
							2017-08-24 10:56:44 +02:00  
				
					
						
							
							
								 
						
							
							
								c97692f382 
								
							
								 
							
						 
						
							
							
								
								Fix multi-row INSERT with RETURNING on reference tables  
							
							
							
						 
						
							2017-08-24 10:42:12 +02:00  
				
					
						
							
							
								 
						
							
							
								7ce2308dc1 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1616  from citusdata/deadlock_detection_warning  
							
							... 
							
							
							
							Don't error out if deadlock detection fails to connect to worker 
							
						 
						
							2017-08-24 10:31:15 +02:00  
				
					
						
							
							
								 
						
							
							
								dbf18df995 
								
							
								 
							
						 
						
							
							
								
								Don't error out if BuildGlobalWaitGraph fails to connect  
							
							
							
						 
						
							2017-08-23 19:08:03 +02:00  
				
					
						
							
							
								 
						
							
							
								7e59c0b019 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1602  from citusdata/add_isolation_tests  
							
							... 
							
							
							
							Increase coverage of isolation tests - Part 2 
							
						 
						
							2017-08-23 19:44:23 +03:00  
				
					
						
							
							
								 
						
							
							
								5be6eb9ef6 
								
							
								 
							
						 
						
							
							
								
								Increase coverage of isolation tests - Part 2  
							
							... 
							
							
							
							With this PR we add isolation tests for
COPY to reference table vs. other operations
COPY to partitioned table vs. other operations
Multi row INSERTs vs other operations
INSERT/SELECT vs. other operations
UPSERT vs. other operations
DELETE vs. other operations
TRUNCATE vs. other operations
DROP vs. other operations
DDL vs. other operations
other operations consist of basic SQL operations (like SELECT,
INSERT, DELETE, UPSERT, COPY TRUNCATE, CREATE INDEX) as well
as some Citus functionalities (like master_modify_multiple_shards,
master_apply_delete_command, citus_total_relation_size etc.) 
							
						 
						
							2017-08-23 18:23:36 +03:00  
				
					
						
							
							
								 
						
							
							
								75491b9262 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1612  from citusdata/fix_dead_process  
							
							... 
							
							
							
							Prevent maintanince deamon crashes due to dead processes 
							
						 
						
							2017-08-23 15:56:24 +03:00  
				
					
						
							
							
								 
						
							
							
								c7bb29b69e 
								
							
								 
							
						 
						
							
							
								
								Prevent maintanince deamon crashes due to dead processes  
							
							... 
							
							
							
							If after the distributed deadlock detection decides to cancel
a backend, the backend has been terminated/killed/cancelled
externally, we might be accessing to a NULL pointer. This commit
prevents that case by ignoring the current distributed deadlock. 
							
						 
						
							2017-08-23 15:44:09 +03:00  
				
					
						
							
							
								 
						
							
							
								46f81d5531 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1607  from citusdata/remove_source_dump_local  
							
							... 
							
							
							
							Remove source node argument from dump_local_wait_edges 
							
						 
						
							2017-08-23 13:26:06 +02:00  
				
					
						
							
							
								 
						
							
							
								641420d79f 
								
							
								 
							
						 
						
							
							
								
								Remove source node argument from dump_local_wait_edges  
							
							
							
						 
						
							2017-08-23 13:14:00 +02:00  
				
					
						
							
							
								 
						
							
							
								a67d10957f 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1600  from citusdata/fix_multi_row_returning  
							
							... 
							
							
							
							Add alias for target in multi-row INSERTs 
							
						 
						
							2017-08-23 11:00:27 +02:00  
				
					
						
							
							
								 
						
							
							
								8cb69e3a14 
								
							
								 
							
						 
						
							
							
								
								Add alias for target in multi-row INSERTs  
							
							... 
							
							
							
							This is necessary for multi-row INSERTs for the same reasons we use it
in e.g. UPSERTs: if the range table list has more than one entry, then
PostgreSQL's deparse logic requires that vars be prefixed by the name
of their corresponding range table entry. This of course doesn't affect
single-row INSERTs, but since multi-row INSERTs have a VALUE RTE, they
were affected.
The piece of ruleutils which builds range table names wasn't modified
to handle shard extension; instead UPSERT/INSERT INTO ... SELECT added
an alias to the RTE. When present, this alias is favored. Doing the
same in the multi-row INSERT case fixes RETURNING for such commands. 
							
						 
						
							2017-08-23 10:24:00 +02:00  
				
					
						
							
							
								 
						
							
							
								ad1fbbe186 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1608  from citusdata/sequential_multi_row_insert  
							
							... 
							
							
							
							Execute multi-row INSERTs sequentially 
							
						 
						
							2017-08-23 10:17:30 +02:00  
				
					
						
							
							
								 
						
							
							
								4d7927b672 
								
							
								 
							
						 
						
							
							
								
								Execute multi-row INSERTs sequentially  
							
							
							
						 
						
							2017-08-23 10:04:57 +02:00  
				
					
						
							
							
								 
						
							
							
								df6d56c1ed 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1606  from citusdata/fix_copy_dropped_columns  
							
							... 
							
							
							
							Consider dropped columns that precede the partition column in COPY 
							
						 
						
							2017-08-22 13:13:09 +02:00  
				
					
						
							
							
								 
						
							
							
								cf375d6a66 
								
							
								 
							
						 
						
							
							
								
								Consider dropped columns that precede the partition column in COPY  
							
							
							
						 
						
							2017-08-22 13:02:35 +02:00  
				
					
						
							
							
								 
						
							
							
								15af3c5445 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1603  from citusdata/fix_lock_graph_allocs  
							
							... 
							
							
							
							Avoid overflowing PROCStack in BuildWaitGraphForSourceNode 
							
						 
						
							2017-08-22 09:20:48 +02:00  
				
					
						
							
							
								 
						
							
							
								bd6bf29983 
								
							
								 
							
						 
						
							
							
								
								Don't add procs multiple times in BuildWaitGraphForSourceNode  
							
							
							
						 
						
							2017-08-21 16:48:30 +02:00  
				
					
						
							
							
								 
						
							
							
								734aeebc47 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1592  from citusdata/improve_maintanince_deamon  
							
							... 
							
							
							
							Terminate bg worker on drop database 
							
						 
						
							2017-08-18 16:38:25 +03:00  
				
					
						
							
							
								 
						
							
							
								6532b69873 
								
							
								 
							
						 
						
							
							
								
								Kill the maintenance daemon on DROP DATABASE  
							
							
							
						 
						
							2017-08-18 16:03:08 +03:00  
				
					
						
							
							
								 
						
							
							
								b5109028bc 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1598  from citusdata/fix_no_shards_bug  
							
							... 
							
							
							
							Fix a crash on zero-shard tables 
							
						 
						
							2017-08-18 15:15:04 +03:00  
				
					
						
							
							
								 
						
							
							
								0d052e9864 
								
							
								 
							
						 
						
							
							
								
								Fix a crash on zero-shard tables  
							
							
							
						 
						
							2017-08-18 13:53:59 +03:00  
				
					
						
							
							
								 
						
							
							
								96391bea15 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1595  from citusdata/improve_deadlock_detection  
							
							... 
							
							
							
							Improve deadlock detection 
							
						 
						
							2017-08-18 13:28:21 +03:00  
				
					
						
							
							
								 
						
							
							
								b82f886ad3 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into improve_deadlock_detection  
							
							
							
						 
						
							2017-08-18 13:07:18 +03:00  
				
					
						
							
							
								 
						
							
							
								2cc46f3a0c 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1584  from citusdata/fix_drop_extension  
							
							... 
							
							
							
							Maintenance daemon ensures that the extension is valid 
							
						 
						
							2017-08-18 11:32:44 +02:00  
				
					
						
							
							
								 
						
							
							
								7523753a73 
								
							
								 
							
						 
						
							
							
								
								Clear metadata OID cache prior to deadlock detection  
							
							
							
						 
						
							2017-08-18 11:20:24 +02:00  
				
					
						
							
							
								 
						
							
							
								b936bde936 
								
							
								 
							
						 
						
							
							
								
								Take AccessShareLock on the extension prior to running deadlock detection  
							
							
							
						 
						
							2017-08-18 11:20:24 +02:00  
				
					
						
							
							
								 
						
							
							
								20679c9e8b 
								
							
								 
							
						 
						
							
							
								
								Relax assertion on deadlock detection considering  
							
							... 
							
							
							
							self deadlocks. 
							
						 
						
							2017-08-18 11:16:38 +03:00  
				
					
						
							
							
								 
						
							
							
								550a5578d8 
								
							
								 
							
						 
						
							
							
								
								Skip deadlock detection on the workers  
							
							... 
							
							
							
							Do not run distributed deadlock detection
on the worker nodes to prevent errornous
decisions to kill the deadlocks. 
							
						 
						
							2017-08-17 19:43:38 +03:00  
				
					
						
							
							
								 
						
							
							
								0ddcd726c9 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1464  from citusdata/copy_copy_isolation_test  
							
							
							
						 
						
							2017-08-17 17:47:42 +03:00  
				
					
						
							
							
								 
						
							
							
								ae32d786cf 
								
							
								 
							
						 
						
							
							
								
								Add new isolation tests  
							
							
							
						 
						
							2017-08-17 17:46:03 +03:00  
				
					
						
							
							
								 
						
							
							
								131baeda3d 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1585  from citusdata/exit_maintenanced  
							
							... 
							
							
							
							Maintenance daemon dies peacefully when it gets lost finding itself 
							
						 
						
							2017-08-17 09:11:27 +02:00  
				
					
						
							
							
								 
						
							
							
								1eca53ad40 
								
							
								 
							
						 
						
							
							
								
								Exit maintenanced on database crash  
							
							
							
						 
						
							2017-08-16 18:29:44 +02:00  
				
					
						
							
							
								 
						
							
							
								a5d54382ef 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1577  from citusdata/follower_get_active_worker_nodes  
							
							... 
							
							
							
							Return readable nodes in master_get_active_worker_nodes 
							
						 
						
							2017-08-16 14:19:59 +02:00  
				
					
						
							
							
								 
						
							
							
								9e7b1fb858 
								
							
								 
							
						 
						
							
							
								
								Return readable nodes in master_get_active_worker_nodes  
							
							
							
						 
						
							2017-08-16 11:28:47 +02:00  
				
					
						
							
							
								 
						
							
							
								e5fbcf37dd 
								
							
								 
							
						 
						
							
							
								
								Add Savepoint Support ( #1539 )  
							
							... 
							
							
							
							This change adds support for SAVEPOINT, ROLLBACK TO SAVEPOINT, and RELEASE SAVEPOINT.
When transaction connections are not established yet, savepoints are kept in a stack and sent to the worker when the connection is later established. After establishing connections, savepoint commands are sent as they arrive.
This change fixes  #1493  . 
							
						 
						
							2017-08-15 13:02:28 -04:00