Bruce Momjian 
							
						 
					 
					
						
						
							
						
						7228d02989 
					 
					
						
						
							
							Throw error for mismatched pg_upgrade clusters  
						
						... 
						
						
						
						If someone removes the 'postgres' database from the old cluster and the
new cluster has a 'postgres' database, the number of databases will not
match.  We actually could upgrade such a setup, but it would violate the
1-to-1 mapping of database counts, so we throw an error instead.
Previously they got an error during the upgrade, and not at the check
stage; PG 9.0.4 does the same. 
						
						
					 
					
						2011-04-19 21:00:29 -04:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						0341944706 
					 
					
						
						
							
							Add C comment  
						
						... 
						
						
						
						Add C comment about why we throw an error if the pg_upgrade old/new
database counts don't match. 
						
						
					 
					
						2011-04-19 19:15:13 -04:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						bf50caf105 
					 
					
						
						
							
							pgindent run before PG 9.1 beta 1.  
						
						
						
						
					 
					
						2011-04-10 11:42:00 -04:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						fe8f15d5d2 
					 
					
						
						
							
							Adjust pg_upgrade error message, array freeing, and add error check.  
						
						
						
						
					 
					
						2011-02-15 15:00:47 -05:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						002c105a07 
					 
					
						
						
							
							In pg_upgrade, remove functions that did sequential array scans looking  
						
						... 
						
						
						
						up relations, but rather order old/new relations and use the same array
index value for both.  This should speed up pg_upgrade for databases
with many relations. 
						
						
					 
					
						2011-01-08 13:44:44 -05:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						f75383e6e8 
					 
					
						
						
							
							In pg_upgrade, track only one copy of namespace/relname in FileNameMap  
						
						... 
						
						
						
						because the old and new values are identical. 
						
						
					 
					
						2011-01-07 22:36:51 -05:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						b1f2a94fa2 
					 
					
						
						
							
							In pg_upgrade, adjust transfer_relfile()'s parameters to be more logical.  
						
						
						
						
					 
					
						2011-01-05 12:07:45 -05:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						0857a84498 
					 
					
						
						
							
							In pg_upgrade, fix backward logging display of link operations.  
						
						
						
						
					 
					
						2011-01-04 21:33:36 -05:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						5d950e3b0c 
					 
					
						
						
							
							Stamp copyrights for year 2011.  
						
						
						
						
					 
					
						2011-01-01 13:18:15 -05:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						6e6bee987f 
					 
					
						
						
							
							In pg_upgrade, remove use of whichCluster, and just pass old/new cluster  
						
						... 
						
						
						
						pointers, which simplifies the code.  This was not possible in 9.0 because
everything was in a single nested struct, but is possible now.
Per suggestion from Tom. 
						
						
					 
					
						2011-01-01 12:06:36 -05:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						16b5e08dec 
					 
					
						
						
							
							Use "upgrade" in preference over "migrate" in pg_upgrade messages and  
						
						... 
						
						
						
						documentation.  (Many were left over from the old pg_migrator naming.) 
						
						
					 
					
						2010-12-15 07:11:31 -05:00 
						 
				 
			
				
					
						
							
							
								Peter Eisentraut 
							
						 
					 
					
						
						
							
						
						fc946c39ae 
					 
					
						
						
							
							Remove useless whitespace at end of lines  
						
						
						
						
					 
					
						2010-11-23 22:34:55 +02:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						ad06db2610 
					 
					
						
						
							
							In pg_upgrade, use cached copy of directory listing, rather than calling  
						
						... 
						
						
						
						scandir() with a pattern for every table.
Optimization after report of pg_upgrade slowness with 150k tables. 
						
						
					 
					
						2010-10-20 00:33:19 +00:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						07456b45e6 
					 
					
						
						
							
							Pgindent run on pg_upgrade source after restructuring.  
						
						
						
						
					 
					
						2010-10-19 22:37:04 +00:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						e13f7e9a71 
					 
					
						
						
							
							Restructure the pg_upgrade code to use several global structures rather  
						
						... 
						
						
						
						than packing everything into 'ctx' and passing that to every function. 
						
						
					 
					
						2010-10-19 21:38:34 +00:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						807005c024 
					 
					
						
						
							
							Use macro atooid() for conversion of strings to oids, per suggestion  
						
						... 
						
						
						
						from Tom. 
						
						
					 
					
						2010-09-28 22:11:39 +00:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						9340fb80b1 
					 
					
						
						
							
							In pg_upgrade, properly handle oids > 2^31 by using strtoul() internally  
						
						... 
						
						
						
						rather than atol().
Per report from Brian Hirt 
						
						
					 
					
						2010-09-28 21:41:03 +00:00 
						 
				 
			
				
					
						
							
							
								Magnus Hagander 
							
						 
					 
					
						
						
							
						
						9f2e211386 
					 
					
						
						
							
							Remove cvs keywords from all files.  
						
						
						
						
					 
					
						2010-09-20 22:08:53 +02:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						239d769e7e 
					 
					
						
						
							
							pgindent run for 9.0, second run  
						
						
						
						
					 
					
						2010-07-06 19:19:02 +00:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						da254e3d16 
					 
					
						
						
							
							Make pg_upgrade copyrights just 2010, not 2010-2010.  
						
						
						
						
					 
					
						2010-07-03 16:33:15 +00:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						de255a6eb1 
					 
					
						
						
							
							Add copyrights to pg_upgrade and pg_upgrade_tools files, per Tom.  
						
						
						
						
					 
					
						2010-07-03 16:25:01 +00:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						ccbe0c14e6 
					 
					
						
						
							
							Add CVS tags to pg_upgrade and pg_upgrade_support files, per request  
						
						... 
						
						
						
						from Tom. 
						
						
					 
					
						2010-07-03 14:23:14 +00:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						8141523e35 
					 
					
						
						
							
							Properly define pg_upgrade global variable, per bug report from Chris  
						
						... 
						
						
						
						Ruprecht on Mac (64 bit). 
						
						
					 
					
						2010-06-15 02:08:01 +00:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						36d3afd2d4 
					 
					
						
						
							
							Remove all mentions of EnterpriseDB Advanced Server from pg_upgrade;  
						
						... 
						
						
						
						EDB must maintain their own patch set for this. 
						
						
					 
					
						2010-05-13 22:51:00 +00:00 
						 
				 
			
				
					
						
							
							
								Tom Lane 
							
						 
					 
					
						
						
							
						
						c9c25a982c 
					 
					
						
						
							
							Clean up unnecessary unportability and compiler warnings by removing the  
						
						... 
						
						
						
						cmp parameter for pg_scandir().  The code failed to support this anyway
for Sun/Windows, so pretending we could accept a parameter other than
NULL was just asking for trouble. 
						
						
					 
					
						2010-05-12 16:50:00 +00:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						c2e9b2f288 
					 
					
						
						
							
							Add pg_upgrade to /contrib;  will be in 9.0 beta2.  
						
						... 
						
						
						
						Add documentation.
Supports migration from PG 8.3 and 8.4. 
						
						
					 
					
						2010-05-12 02:19:11 +00:00