6c333d464f 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1046  from citusdata/feature/colocate_with  
							
							... 
							
							
							
							Add colocate_with option to create_distributed_table() 
							
						 
						
							2016-12-16 14:33:22 +02:00  
				
					
						
							
							
								 
						
							
							
								20b8f1feeb 
								
							
								 
							
						 
						
							
							
								
								Refactor distribution column type check for colocation  
							
							
							
						 
						
							2016-12-16 15:24:45 +02:00  
				
					
						
							
							
								 
						
							
							
								e2d0bd38f2 
								
							
								 
							
						 
						
							
							
								
								Don't allow tables with different replication models to be colocated  
							
							
							
						 
						
							2016-12-16 15:23:49 +02:00  
				
					
						
							
							
								 
						
							
							
								86cca54857 
								
							
								 
							
						 
						
							
							
								
								Add colocate_with option to create_distributed_table()  
							
							... 
							
							
							
							With this commit, we support three versions of colocate_with: i.default, ii.none
and iii. a specific table name. 
							
						 
						
							2016-12-16 14:53:35 +02:00  
				
					
						
							
							
								 
						
							
							
								edbedbd744 
								
							
								 
							
						 
						
							
							
								
								Move colocation related functions to colocation_utils.c  
							
							
							
						 
						
							2016-12-16 14:52:40 +02:00  
				
					
						
							
							
								 
						
							
							
								b3593442c4 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1042  from citusdata/feature/column_name  
							
							... 
							
							
							
							Expose the column_to_column_name UDF 
							
						 
						
							2016-12-16 11:40:29 +01:00  
				
					
						
							
							
								 
						
							
							
								5714be0da5 
								
							
								 
							
						 
						
							
							
								
								Expose the column_to_column_name UDF to make partkey in pg_dist_partition human-readable  
							
							
							
						 
						
							2016-12-14 10:46:33 +01:00  
				
					
						
							
							
								 
						
							
							
								9d4e586457 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #997  from citusdata/add_sync_metadata_to_node  
							
							... 
							
							
							
							Add sync_metadata_to_node UDF 
							
						 
						
							2016-12-14 10:06:17 +02:00  
				
					
						
							
							
								 
						
							
							
								afbb5ffb31 
								
							
								 
							
						 
						
							
							
								
								Add stop_metadata_sync_to_node UDF  
							
							
							
						 
						
							2016-12-14 10:53:12 +03:00  
				
					
						
							
							
								 
						
							
							
								b94647c3bc 
								
							
								 
							
						 
						
							
							
								
								Propagate CREATE SCHEMA commands with the correct AUTHORIZATION clause in start_metadata_sync_to_node  
							
							
							
						 
						
							2016-12-14 10:53:12 +03:00  
				
					
						
							
							
								 
						
							
							
								fb08093b00 
								
							
								 
							
						 
						
							
							
								
								Make start_metadata_sync_to_node UDF to propagate foreign-key constraints  
							
							
							
						 
						
							2016-12-14 10:53:12 +03:00  
				
					
						
							
							
								 
						
							
							
								5e96e4f60e 
								
							
								 
							
						 
						
							
							
								
								Make truncate triggers propagated on start_metadata_sync_to_node call  
							
							
							
						 
						
							2016-12-14 10:53:10 +03:00  
				
					
						
							
							
								 
						
							
							
								4fd086f0af 
								
							
								 
							
						 
						
							
							
								
								Prevent Transactions in start_metadata_sync_to_node  
							
							
							
						 
						
							2016-12-13 10:48:03 +03:00  
				
					
						
							
							
								 
						
							
							
								c154a91621 
								
							
								 
							
						 
						
							
							
								
								Add Regression Tests For start_metadata_sync_to_node  
							
							
							
						 
						
							2016-12-13 10:48:03 +03:00  
				
					
						
							
							
								 
						
							
							
								9eff968d1f 
								
							
								 
							
						 
						
							
							
								
								Add start_metadata_sync_to_node UDF  
							
							... 
							
							
							
							This change adds `start_metadata_sync_to_node` UDF which copies the metadata about nodes and MX tables
from master to the specified worker, sets its local group ID and marks its hasmetadata to true to
allow it receive future DDL changes. 
							
						 
						
							2016-12-13 10:48:03 +03:00  
				
					
						
							
							
								 
						
							
							
								21effef8b5 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #835  from citusdata/valgrind-support  
							
							... 
							
							
							
							Allow to run regression tests under valgrind 
							
						 
						
							2016-12-12 16:34:58 -08:00  
				
					
						
							
							
								 
						
							
							
								56aaa25cfa 
								
							
								 
							
						 
						
							
							
								
								Add support for running regression tests under valgrind.  
							
							... 
							
							
							
							Note that this only provides infrastructure for running tests under
valgrind - there's some spurious failures due to timeouts. 
							
						 
						
							2016-12-12 15:42:11 -08:00  
				
					
						
							
							
								 
						
							
							
								dd149c3e24 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1020  from citusdata/feature/transaction-management  
							
							... 
							
							
							
							Centralized Transaction Management Infrastructure 
							
						 
						
							2016-12-12 15:27:27 -08:00  
				
					
						
							
							
								 
						
							
							
								80b34a5d6b 
								
							
								 
							
						 
						
							
							
								
								Integrate router executor into transaction management framework.  
							
							... 
							
							
							
							One less place managing remote transactions. It also makes it fairly
easy to use 2PC for certain modifications (e.g. reference tables). Just
issue a CoordinatedTransactionUse2PC(). If every placement failure
should cause the whole transaction to abort, additionally mark the
relevant transactions as critical. 
							
						 
						
							2016-12-12 15:18:12 -08:00  
				
					
						
							
							
								 
						
							
							
								fa5e202403 
								
							
								 
							
						 
						
							
							
								
								Convert multi_shard_transaction.[ch] to new framework.  
							
							
							
						 
						
							2016-12-12 15:18:12 -08:00  
				
					
						
							
							
								 
						
							
							
								fc298ec095 
								
							
								 
							
						 
						
							
							
								
								Coordinated remote transaction management.  
							
							
							
						 
						
							2016-12-12 15:18:12 -08:00  
				
					
						
							
							
								 
						
							
							
								6eeb43af15 
								
							
								 
							
						 
						
							
							
								
								Add PQgetResult() wrapper handling interrupts.  
							
							... 
							
							
							
							This makes it possible to implement cancelling queries blocked on
communication with remote nodes. 
							
						 
						
							2016-12-12 15:18:12 -08:00  
				
					
						
							
							
								 
						
							
							
								5a00de6c62 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1017  from citusdata/vanillatests  
							
							... 
							
							
							
							Add support for running postgres tests against a database with citus loaded 
							
						 
						
							2016-12-12 14:34:20 -08:00  
				
					
						
							
							
								 
						
							
							
								b65814280f 
								
							
								 
							
						 
						
							
							
								
								Add support for running postgres tests against a database with citus loaded.  
							
							... 
							
							
							
							Not that this is not with the citus *extension* loaded, just the shared
library. The former runs (by adding --use-existing to the flags) but
has a bunch of trivial test differences. 
							
						 
						
							2016-12-12 14:25:06 -08:00  
				
					
						
							
							
								 
						
							
							
								a426c50a8c 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1035  from citusdata/tweak_coverage  
							
							... 
							
							
							
							Tweak coverage options
cr: @jasonmp85 
							
						 
						
							2016-12-09 14:19:52 -07:00  
				
					
						
							
							
								 
						
							
							
								2ca9c78540 
								
									
								
							
								 
							
						 
						
							
							
								
								Bump target to 87.5%  
							
							... 
							
							
							
							With the ignore rules in place, we can increase the target. 
							
						 
						
							2016-12-09 14:06:35 -07:00  
				
					
						
							
							
								 
						
							
							
								1e4f5e1a95 
								
									
								
							
								 
							
						 
						
							
							
								
								Format for readability  
							
							
							
						 
						
							2016-12-09 13:33:58 -07:00  
				
					
						
							
							
								 
						
							
							
								145537a5d2 
								
									
								
							
								 
							
						 
						
							
							
								
								Add ignore rules  
							
							
							
						 
						
							2016-12-09 13:03:23 -07:00  
				
					
						
							
							
								 
						
							
							
								14f4dfb242 
								
									
								
							
								 
							
						 
						
							
							
								
								Make patch target 75%  
							
							... 
							
							
							
							If a patch has very bad coverage, reject it. 
							
						 
						
							2016-12-09 13:03:23 -07:00  
				
					
						
							
							
								 
						
							
							
								5bd07b253a 
								
									
								
							
								 
							
						 
						
							
							
								
								Be explicit about coverage project requirements  
							
							... 
							
							
							
							If a change drops coverage (absolutely) beneath 80% or (relatively)
reduces coverage by more than 0.5%, give it a bad status. 
							
						 
						
							2016-12-09 13:03:23 -07:00  
				
					
						
							
							
								 
						
							
							
								26ae8704d6 
								
									
								
							
								 
							
						 
						
							
							
								
								Add default Codecov configuration  
							
							... 
							
							
							
							Will change shortly. 
							
						 
						
							2016-12-09 13:03:23 -07:00  
				
					
						
							
							
								 
						
							
							
								4bea1f621a 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1022  from citusdata/feature/2PCBUMPISM  
							
							... 
							
							
							
							Make prepared transactions available if not configured. 
							
						 
						
							2016-12-08 20:04:00 -08:00  
				
					
						
							
							
								 
						
							
							
								7434fcc6df 
								
							
								 
							
						 
						
							
							
								
								Make prepared transactions available if not configured.  
							
							
							
						 
						
							2016-12-08 19:57:22 -08:00  
				
					
						
							
							
								 
						
							
							
								62b12f413c 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #876  from citusdata/foreign_key_push_down_for_alter_table  
							
							... 
							
							
							
							Add Foreign Key Support to ALTER TABLE commands 
							
						 
						
							2016-12-08 14:11:01 +02:00  
				
					
						
							
							
								 
						
							
							
								8d7cd4d746 
								
							
								 
							
						 
						
							
							
								
								Add Foreign Key Support to ALTER TABLE commands  
							
							... 
							
							
							
							With this PR, we add foreign key support to ALTER TABLE commands. For now,
we only support foreign constraint creation via ALTER TABLE query, if it
is only subcommand in ALTER TABLE subcommand list.
We also only allow foreign key creation if replication factor is 1. 
							
						 
						
							2016-12-08 15:03:25 +02:00  
				
					
						
							
							
								 
						
							
							
								f7d9074aa3 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #863  from citusdata/feature/connection-lifecycle  
							
							... 
							
							
							
							Connection Lifecycle Management Infrastructure 
							
						 
						
							2016-12-07 11:51:02 -08:00  
				
					
						
							
							
								 
						
							
							
								2374905c89 
								
							
								 
							
						 
						
							
							
								
								Move multi_client_executor.[ch] ontop of connection_management.[ch].  
							
							... 
							
							
							
							That way connections can be automatically closed after errors and such,
and the connection management infrastructure gets wider testing.  It
also fixes a few issues around connection string building. 
							
						 
						
							2016-12-07 11:44:24 -08:00  
				
					
						
							
							
								 
						
							
							
								a77cf36778 
								
							
								 
							
						 
						
							
							
								
								Use connection_management.c from within connection_cache.c.  
							
							... 
							
							
							
							This is a temporary step towards removing connection_cache.c. 
							
						 
						
							2016-12-07 11:44:24 -08:00  
				
					
						
							
							
								 
						
							
							
								3505d431cd 
								
							
								 
							
						 
						
							
							
								
								Add initial helpers to make interactions with MultiConnection et al. easier.  
							
							... 
							
							
							
							This includes basic infrastructure for logging of commands sent to
remote/worker nodes. Note that this has no effect as of yet, since no
callers are converted to the new infrastructure. 
							
						 
						
							2016-12-07 11:44:24 -08:00  
				
					
						
							
							
								 
						
							
							
								3223b3c92d 
								
							
								 
							
						 
						
							
							
								
								Centralized Connection Lifetime Management.  
							
							... 
							
							
							
							Connections are tracked and released by integrating into postgres'
transaction handling. That allows to to use connections without having
to resort to having to disable interrupts or using PG_TRY/CATCH blocks
to avoid leaking connections.
This is intended to eventually replace multi_client_executor.c and
connection_cache.c, and to provide the basis of a centralized
transaction management.
The newly introduced transaction hook should, in the future, be the only
one in citus, to allow for proper ordering between operations.  For now
this central handler is responsible for releasing connections and
resetting XactModificationLevel after a transaction. 
							
						 
						
							2016-12-07 11:43:18 -08:00  
				
					
						
							
							
								 
						
							
							
								883af02b54 
								
							
								 
							
						 
						
							
							
								
								Add some basic helpers to make use of dynahash hashtables easier.  
							
							
							
						 
						
							2016-12-06 14:15:36 -08:00  
				
					
						
							
							
								 
						
							
							
								4347daaf4c 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #994  from citusdata/enable-coverage-testing  
							
							... 
							
							
							
							Add coverall support for continuous code coverage testing
cr: @jasonmp85 
							
						 
						
							2016-12-06 11:42:48 -07:00  
				
					
						
							
							
								 
						
							
							
								ac6494a0c3 
								
									
								
							
								 
							
						 
						
							
							
								
								Add comment for otherwise opaque secure value  
							
							
							
						 
						
							2016-12-06 11:30:22 -07:00  
				
					
						
							
							
								 
						
							
							
								29d2b0c49f 
								
									
								
							
								 
							
						 
						
							
							
								
								Enable instrumentation of coverage  
							
							... 
							
							
							
							Adds an --enable-coverage configure option which provides the necessary
flags for coverage instrumentation. A new tools branch uses this flag
during all builds. Coverage reports are uploaded to codecov.io, where
they are publicly visible. 
							
						 
						
							2016-12-06 11:30:22 -07:00  
				
					
						
							
							
								 
						
							
							
								f2d151cfeb 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1006  from citusdata/bugfix/placement_id_readfunc  
							
							... 
							
							
							
							Use READ_UINT64_FIELD for placement ID in ReadShardPlacement 
							
						 
						
							2016-12-05 23:08:27 +01:00  
				
					
						
							
							
								 
						
							
							
								3d09a2e5c2 
								
							
								 
							
						 
						
							
							
								
								Use READ_UINT64_FIELD for placement ID in ReadShardPlacement  
							
							
							
						 
						
							2016-12-05 17:22:23 +01:00  
				
					
						
							
							
								 
						
							
							
								51f2de276e 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #995  from citusdata/fix-870-non-relational-filter  
							
							... 
							
							
							
							Add new tests for non-relational filters in queries 
							
						 
						
							2016-12-05 13:35:46 +02:00  
				
					
						
							
							
								 
						
							
							
								131ed8ca1f 
								
							
								 
							
						 
						
							
							
								
								Add new tests for non-relational filters in queries  
							
							
							
						 
						
							2016-12-05 14:27:36 +03:00  
				
					
						
							
							
								 
						
							
							
								ab982c3ecb 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #911  from citusdata/bugfix/take_metadata_lock  
							
							... 
							
							
							
							Take shard metadata lock in several UDFs 
							
						 
						
							2016-12-02 16:34:44 +01:00  
				
					
						
							
							
								 
						
							
							
								172bb457e6 
								
							
								 
							
						 
						
							
							
								
								Take shard metadata lock in master_append_table_to_shard  
							
							
							
						 
						
							2016-12-02 15:56:30 +01:00