2814028ce5 
								
									
								
							
								 
							
						 
						
							
							
								
								Add experimental support for PyPy. ( #9123 )  
							
							... 
							
							
							
							* Adds proper dependencies.
* Minor fixes in database layer. 
							
						 
						
							2021-02-04 08:29:47 -05:00  
				
					
						
							
							
								 
						
							
							
								132b673dbe 
								
									
								
							
								 
							
						 
						
							
							
								
								Add some type annotations in `synapse.storage` ( #6987 )  
							
							... 
							
							
							
							I cracked, and added some type definitions in synapse.storage. 
							
						 
						
							2020-02-27 11:53:40 +00:00  
				
					
						
							
							
								 
						
							
							
								7efd1d87c2 
								
							
								 
							
						 
						
							
							
								
								Run black on the rest of the storage module ( #4996 )  
							
							
							
						 
						
							2019-04-03 10:07:29 +01:00  
				
					
						
							
							
								 
						
							
							
								58f6c48183 
								
									
								
							
								 
							
						 
						
							
							
								
								Use native UPSERTs where possible ( #4306 )  
							
							
							
						 
						
							2019-01-24 21:31:54 +11:00  
				
					
						
							
							
								 
						
							
							
								49af402019 
								
							
								 
							
						 
						
							
							
								
								run isort  
							
							
							
						 
						
							2018-07-09 16:09:20 +10:00  
				
					
						
							
							
								 
						
							
							
								d1e56cfcd1 
								
							
								 
							
						 
						
							
							
								
								Fix pep8 error on psycopg2cffi hack  
							
							
							
						 
						
							2018-04-10 11:35:29 +02:00  
				
					
						
							
							
								 
						
							
							
								89de934981 
								
							
								 
							
						 
						
							
							
								
								Use psycopg2cffi module instead of psycopg2 if running on pypy  
							
							... 
							
							
							
							The psycopg2 package isn't available for PyPy.  This commit adds a check
if the runtime is PyPy, and if it is uses psycopg2cffi module in favor
of psycopg2. This is almost a drop-in replacement, except for one place
where an additional cast to string is required. 
							
						 
						
							2018-04-10 11:29:52 +02:00  
				
					
						
							
							
								 
						
							
							
								d5fb561709 
								
							
								 
							
						 
						
							
							
								
								Optionally make committing to postgres asynchronous.  
							
							... 
							
							
							
							Useful when running tests when you don't care whether the server
will lose data that it claims that it has committed. 
							
						 
						
							2016-06-20 17:53:38 +01:00  
				
					
						
							
							
								 
						
							
							
								8aab9d87fa 
								
							
								 
							
						 
						
							
							
								
								Don't require config to create database  
							
							
							
						 
						
							2016-04-06 14:15:45 +01:00  
				
					
						
							
							
								 
						
							
							
								763360594d 
								
							
								 
							
						 
						
							
							
								
								Mark AS users with their AS's ID  
							
							
							
						 
						
							2016-02-11 17:26:42 +00:00  
				
					
						
							
							
								 
						
							
							
								6c28ac260c 
								
							
								 
							
						 
						
							
							
								
								copyrights  
							
							
							
						 
						
							2016-01-07 04:26:29 +00:00  
				
					
						
							
							
								 
						
							
							
								4932a7e2d9 
								
							
								 
							
						 
						
							
							
								
								Use __all__ instead of assert to stop pyflakes from warning about unused import in __init__  
							
							
							
						 
						
							2015-04-29 12:12:25 +01:00  
				
					
						
							
							
								 
						
							
							
								a08bf11138 
								
							
								 
							
						 
						
							
							
								
								Appease PEP8  
							
							
							
						 
						
							2015-04-29 11:44:48 +01:00  
				
					
						
							
							
								 
						
							
							
								204132a998 
								
							
								 
							
						 
						
							
							
								
								Check that postgres database has correct charset set  
							
							
							
						 
						
							2015-04-29 11:42:28 +01:00  
				
					
						
							
							
								 
						
							
							
								ffad75bd62 
								
							
								 
							
						 
						
							
							
								
								Remove mysql/maria support  
							
							
							
						 
						
							2015-04-15 17:00:50 +01:00  
				
					
						
							
							
								 
						
							
							
								58d8339966 
								
							
								 
							
						 
						
							
							
								
								Add support for postgres instead of mysql. Change sql accourdingly. blob + varbinary -> bytea. No support for UNSIGNED or CREATE INDEX IF NOT EXISTS.  
							
							
							
						 
						
							2015-04-14 13:53:20 +01:00  
				
					
						
							
							
								 
						
							
							
								779f7b0f44 
								
							
								 
							
						 
						
							
							
								
								Fix unicode support  
							
							
							
						 
						
							2015-04-02 10:06:22 +01:00  
				
					
						
							
							
								 
						
							
							
								9236136f3a 
								
							
								 
							
						 
						
							
							
								
								Make work in both Maria and SQLite. Fix tests  
							
							
							
						 
						
							2015-04-01 14:12:33 +01:00