bb5962ee79 
								
									
								
							
								 
							
						 
						
							
							
								
								Early error out when creating citus local from a temp table ( #4592 )  
							
							
							
						 
						
							2021-01-28 14:18:06 +03:00  
				
					
						
							
							
								 
						
							
							
								e96db9b407 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #4581  from citusdata/error-for-alter-table-am-pg11  
							
							... 
							
							
							
							Adds error message to AlterTableSetAccessMethod for below PG12 
							
						 
						
							2021-01-28 12:30:38 +03:00  
				
					
						
							
							
								 
						
							
							
								913aa91449 
								
							
								 
							
						 
						
							
							
								
								Adds error message to AlterTableSetAccessMethod for below PG12  
							
							
							
						 
						
							2021-01-28 11:32:02 +03:00  
				
					
						
							
							
								 
						
							
							
								15297cab49 
								
									
								
							
								 
							
						 
						
							
							
								
								Columnar: add GUC to control qual pushdown. ( #4586 )  
							
							
							
						 
						
							2021-01-27 09:57:40 -08:00  
				
					
						
							
							
								 
						
							
							
								62e0383150 
								
									
								
							
								 
							
						 
						
							
							
								
								Columnar readme. ( #4585 )  
							
							... 
							
							
							
							Co-authored-by: Jeff Davis <jefdavi@microsoft.com> 
							
						 
						
							2021-01-27 09:33:35 -08:00  
				
					
						
							
							
								 
						
							
							
								07d3b4fd04 
								
									
								
							
								 
							
						 
						
							
							
								
								fix NaN cost estimate on empty columnar tables ( #4593 )  
							
							... 
							
							
							
							Fixing a division by zero in the cost calculations for scanning a columnar table.
Due to how the columns in a columnar table are counted an empty table would result in a division by zero. Instead this patch keeps the column selection ratio on zero when this happens, resulting in an accurate cost of zero pages to scan a columnar table.
fixes  #4589  
							
						 
						
							2021-01-27 17:32:17 +01:00  
				
					
						
							
							
								 
						
							
							
								07cf037b13 
								
									
								
							
								 
							
						 
						
							
							
								
								fix parse error on pg11.8 for extension creation ( #4582 )  
							
							... 
							
							
							
							In pg11.8 it seemingly tries to parse the full sql file creating the extension,
since we use syntax introduced in postgres 12 this fails.
This patch rewrites the statement not recognized by pg11.8 to be dynamically
executed from a string literal via `EXECUTE`. 
							
						 
						
							2021-01-27 17:00:29 +01:00  
				
					
						
							
							
								 
						
							
							
								b20615cbbe 
								
									
								
							
								 
							
						 
						
							
							
								
								Advise dropping foreign key in addition to create_reference_table hint ( #4590 )  
							
							
							
						 
						
							2021-01-27 17:59:06 +03:00  
				
					
						
							
							
								 
						
							
							
								a18d4288e9 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #4573  from citusdata/rename-create_citus_local_table  
							
							... 
							
							
							
							Rename create_citus_local_table to citus_add_local_table_to_metadata 
							
						 
						
							2021-01-27 17:45:46 +03:00  
				
					
						
							
							
								 
						
							
							
								8151c4b443 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'origin/master' into rename-create_citus_local_table  
							
							
							
						 
						
							2021-01-27 17:08:58 +03:00  
				
					
						
							
							
								 
						
							
							
								1c7ee10de2 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #4584  from citusdata/fix-dropping-mat-views-when-alter-table  
							
							... 
							
							
							
							Fix dropping materialized views while doing alter table 
							
						 
						
							2021-01-27 17:01:39 +03:00  
				
					
						
							
							
								 
						
							
							
								b2c1bbddd4 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into fix-dropping-mat-views-when-alter-table  
							
							
							
						 
						
							2021-01-27 16:33:10 +03:00  
				
					
						
							
							
								 
						
							
							
								35043c56f1 
								
							
								 
							
						 
						
							
							
								
								Fix dropping materialized views while doing alter table  
							
							
							
						 
						
							2021-01-27 16:32:09 +03:00  
				
					
						
							
							
								 
						
							
							
								93a83d5472 
								
							
								 
							
						 
						
							
							
								
								Rename create_citus_local_table.c to citus_add_local_table_to_metadata.c  
							
							
							
						 
						
							2021-01-27 15:52:37 +03:00  
				
					
						
							
							
								 
						
							
							
								dfcdccd0e7 
								
							
								 
							
						 
						
							
							
								
								Rename udf in regression tests (as per prev commit)  
							
							
							
						 
						
							2021-01-27 15:52:37 +03:00  
				
					
						
							
							
								 
						
							
							
								1a4482a37c 
								
							
								 
							
						 
						
							
							
								
								Get rid of the sql dir for new udf  
							
							
							
						 
						
							2021-01-27 15:52:37 +03:00  
				
					
						
							
							
								 
						
							
							
								2f30be823e 
								
							
								 
							
						 
						
							
							
								
								Rename create_citus_local_table to citus_add_local_table_to_metadata  
							
							... 
							
							
							
							For simplicity in downgrade test in multi_extension, didn't
actually remove create_citus_local_table udf. 
							
						 
						
							2021-01-27 15:52:36 +03:00  
				
					
						
							
							
								 
						
							
							
								cd6f381d3c 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #4567  from citusdata/hide-notice-undis  
							
							... 
							
							
							
							Hide notice messages when implicitly undistributing citus local tables 
							
						 
						
							2021-01-27 13:54:40 +03:00  
				
					
						
							
							
								 
						
							
							
								c06fcc26e5 
								
							
								 
							
						 
						
							
							
								
								Hide notice messages when implicitly undistributing citus local tables  
							
							
							
						 
						
							2021-01-27 13:42:06 +03:00  
				
					
						
							
							
								 
						
							
							
								458a81f93d 
								
							
								 
							
						 
						
							
							
								
								Add suppressNoticeMessages to TableConversionState  
							
							
							
						 
						
							2021-01-27 12:53:58 +03:00  
				
					
						
							
							
								 
						
							
							
								cacb76d2c6 
								
									
								
							
								 
							
						 
						
							
							
								
								Not mention citus local tables in error messages ( #4579 )  
							
							
							
						 
						
							2021-01-27 12:36:53 +03:00  
				
					
						
							
							
								 
						
							
							
								94bc2703bc 
								
									
								
							
								 
							
						 
						
							
							
								
								Make undistribute_table() and citus_create_local_table() work with columnar ( #4563 )  
							
							... 
							
							
							
							* Make undistribute_table() and citus_create_local_table() work with columnar
* Rename and use LocallyExecuteUtilityTask for UDF check
* Remove 'local' references in ExecuteUtilityCommand 
							
						 
						
							2021-01-27 01:17:20 +03:00  
				
					
						
							
							
								 
						
							
							
								9b6ccb313d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #4583  from citusdata/alter-am-to-columnar-notice-names-of-indexes  
							
							... 
							
							
							
							Adds error messages with names of indexes that will be dropped when converting to columnar 
							
						 
						
							2021-01-26 18:46:01 +03:00  
				
					
						
							
							
								 
						
							
							
								bafa692fc1 
								
							
								 
							
						 
						
							
							
								
								Adds error messages with names of indexes that will be dropped  
							
							
							
						 
						
							2021-01-26 18:18:26 +03:00  
				
					
						
							
							
								 
						
							
							
								5659a3b830 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #4574  from citusdata/fix-renaming-index-citus-local-tables  
							
							... 
							
							
							
							Fix index renaming when creating citus local tables 
							
						 
						
							2021-01-26 17:32:45 +03:00  
				
					
						
							
							
								 
						
							
							
								e99f052904 
								
							
								 
							
						 
						
							
							
								
								Fix index renaming when creating citus local tables  
							
							
							
						 
						
							2021-01-26 15:52:48 +03:00  
				
					
						
							
							
								 
						
							
							
								7952100f49 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #4561  from citusdata/fix-maintenance-daemon-crash  
							
							... 
							
							
							
							Remove failing assertions 
							
						 
						
							2021-01-26 15:50:32 +03:00  
				
					
						
							
							
								 
						
							
							
								6cba42a8bc 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into fix-maintenance-daemon-crash  
							
							
							
						 
						
							2021-01-26 13:38:08 +03:00  
				
					
						
							
							
								 
						
							
							
								499e7ed038 
								
									
								
							
								 
							
						 
						
							
							
								
								Update CHANGELOG for 9.5.2 ( #4577 )  
							
							
							
						 
						
							2021-01-26 13:26:30 +03:00  
				
					
						
							
							
								 
						
							
							
								14bf9d85d6 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into fix-maintenance-daemon-crash  
							
							
							
						 
						
							2021-01-26 12:52:28 +03:00  
				
					
						
							
							
								 
						
							
							
								54f0e8619a 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #4566  from citusdata/write-opt  
							
							... 
							
							
							
							Columnar: optimize write path. 
							
						 
						
							2021-01-25 12:00:09 -08:00  
				
					
						
							
							
								 
						
							
							
								d62e54dc09 
								
							
								 
							
						 
						
							
							
								
								Columnar: optimize write path.  
							
							
							
						 
						
							2021-01-25 11:47:21 -08:00  
				
					
						
							
							
								 
						
							
							
								350e0c1d61 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #4565  from citusdata/fix_4555  
							
							... 
							
							
							
							Read chunk row count from catalog tables 
							
						 
						
							2021-01-25 09:04:36 -08:00  
				
					
						
							
							
								 
						
							
							
								639952ffa8 
								
							
								 
							
						 
						
							
							
								
								Read chunk row count from catalog tables  
							
							
							
						 
						
							2021-01-25 08:53:52 -08:00  
				
					
						
							
							
								 
						
							
							
								690f54b4fd 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #4570  from citusdata/fix/downgrade-9.5-notify-dropped  
							
							... 
							
							
							
							Drop notify_constraint_dropped beforehand when downgrading 
							
						 
						
							2021-01-25 19:15:32 +03:00  
				
					
						
							
							
								 
						
							
							
								6a28f62239 
								
							
								 
							
						 
						
							
							
								
								Remove stale comment  
							
							
							
						 
						
							2021-01-25 18:55:57 +03:00  
				
					
						
							
							
								 
						
							
							
								9e0150e9e2 
								
							
								 
							
						 
						
							
							
								
								Drop notify_constraint_dropped beforehand when downgrading  
							
							
							
						 
						
							2021-01-25 18:55:57 +03:00  
				
					
						
							
							
								 
						
							
							
								d127516dc8 
								
									
								
							
								 
							
						 
						
							
							
								
								Mitigate segfault in connection statemachine ( #4551 )  
							
							... 
							
							
							
							As described in the comment, we have observed crashes in production
due to a segfault caused by the dereference of a NULL pointer in our
connection statemachine.
As a mitigation, preventing system crashes, we provide an error with
a small explanation of the issue. Unfortunately the case is not
reliably reproduced yet, hence the inability to add tests.
DESCRIPTION: Prevent segfaults when SAVEPOINT handling cannot recover from connection failures 
							
						 
						
							2021-01-25 15:55:04 +01:00  
				
					
						
							
							
								 
						
							
							
								eed7c17ddf 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #4539  from citusdata/auto-citus-local-when-create-ref  
							
							... 
							
							
							
							Convert postgres tables to citus local when creating reference table having fkeys 
							
						 
						
							2021-01-25 11:11:29 +03:00  
				
					
						
							
							
								 
						
							
							
								215d6630c3 
								
							
								 
							
						 
						
							
							
								
								Update foreign_key_to_reference_table so that test output doesn't change  
							
							
							
						 
						
							2021-01-25 11:03:39 +03:00  
				
					
						
							
							
								 
						
							
							
								b5ea033a0b 
								
							
								 
							
						 
						
							
							
								
								Convert postgres tables to citus local when creating reference table having fkeys  
							
							
							
						 
						
							2021-01-25 11:02:50 +03:00  
				
					
						
							
							
								 
						
							
							
								8e02375aa3 
								
							
								 
							
						 
						
							
							
								
								Some refactor as a preparation  
							
							
							
						 
						
							2021-01-25 11:01:33 +03:00  
				
					
						
							
							
								 
						
							
							
								253c19062a 
								
									
								
							
								 
							
						 
						
							
							
								
								Rename IsCitusInitiatedBackend to IsCitusInitiatedRemoteBackend ( #4562 )  
							
							
							
						 
						
							2021-01-23 01:07:43 +03:00  
				
					
						
							
							
								 
						
							
							
								a4b5da79dd 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #4564  from citusdata/cleanup-cstore  
							
							... 
							
							
							
							Columnar: clean up old references to cstore. 
							
						 
						
							2021-01-22 11:25:53 -08:00  
				
					
						
							
							
								 
						
							
							
								53f7b019d5 
								
							
								 
							
						 
						
							
							
								
								Columnar: clean up old references to cstore.  
							
							
							
						 
						
							2021-01-22 11:08:36 -08:00  
				
					
						
							
							
								 
						
							
							
								941c8fbf32 
								
									
								
							
								 
							
						 
						
							
							
								
								Automatically undistribute citus local tables when no more fkeys with reference tables ( #4538 )  
							
							
							
						 
						
							2021-01-22 18:15:41 +03:00  
				
					
						
							
							
								 
						
							
							
								5022fc8301 
								
							
								 
							
						 
						
							
							
								
								Remove failing assertions  
							
							
							
						 
						
							2021-01-22 17:09:24 +03:00  
				
					
						
							
							
								 
						
							
							
								11083b9987 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #4560  from citusdata/marcocitus/citus-tables-rename  
							
							... 
							
							
							
							Rename citus_tables column names to be query-friendly 
							
						 
						
							2021-01-22 14:13:49 +01:00  
				
					
						
							
							
								 
						
							
							
								6e62a9ea74 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #4529  from citusdata/remove-deprecated-gucs-udfs  
							
							... 
							
							
							
							Remove unused GUCs/UDFs 
							
						 
						
							2021-01-22 13:39:17 +03:00  
				
					
						
							
							
								 
						
							
							
								63fab1b7d9 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into remove-deprecated-gucs-udfs  
							
							
							
						 
						
							2021-01-22 13:29:07 +03:00