Bruce Momjian 
							
						 
					 
					
						
						
							
						
						d8d3d2a4f3 
					 
					
						
						
							
							Fix pg_upgrade of large object permissions by preserving pg_auth.oid,  
						
						... 
						
						
						
						which is stored in pg_largeobject_metadata.
No backpatch to 9.0 because you can't migrate from 9.0 to 9.0 with the
same catversion (because of tablespace conflict), and a pre-9.0
migration to 9.0 has not large object permissions to migrate. 
						
						
					 
					
						2011-01-07 21:59:29 -05:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						2896c87ce4 
					 
					
						
						
							
							Force pg_upgrade's to preserve pg_class.oid, not pg_class.relfilenode.  
						
						... 
						
						
						
						Toast tables have identical pg_class.oid and pg_class.relfilenode, but
for clarity it is good to preserve the pg_class.oid.
Update comments regarding what is preserved, and do some
variable/function renaming for clarity. 
						
						
					 
					
						2011-01-07 21:26:13 -05:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						e66e43988a 
					 
					
						
						
							
							Update pg_upgrade C comments.  
						
						
						
						
					 
					
						2011-01-05 14:09:01 -05:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						a45beaac64 
					 
					
						
						
							
							Fix for recent pg_upgrade commit to fix large objects relfilenode  
						
						... 
						
						
						
						handling.  (metadata user ids still an open issue). 
						
						
					 
					
						2011-01-05 13:52:44 -05:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						5cff5b5779 
					 
					
						
						
							
							Clarify pg_upgrade's creation of the map file structure.  Also clean  
						
						... 
						
						
						
						up pg_dump's calling of pg_upgrade_support functions. 
						
						
					 
					
						2011-01-05 11:37:08 -05:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						3302334b48 
					 
					
						
						
							
							In pg_upgrade, copy pg_largeobject_metadata and its index for 9.0+  
						
						... 
						
						
						
						servers because, like pg_largeobject, it is a system table whose
contents are not dumped by pg_dump --schema-only. 
						
						
					 
					
						2011-01-04 23:35:49 -05:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						25cc7424e3 
					 
					
						
						
							
							Simplify functions and parameters used by pg_upgrade.  
						
						
						
						
					 
					
						2011-01-04 19:11:37 -05:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						5d950e3b0c 
					 
					
						
						
							
							Stamp copyrights for year 2011.  
						
						
						
						
					 
					
						2011-01-01 13:18:15 -05:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						67c9e4442f 
					 
					
						
						
							
							Furter pg_upgrade optimizations to reduce function call argument count.  
						
						
						
						
					 
					
						2011-01-01 12:28:48 -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 
							
						 
					 
					
						
						
							
						
						f82b3e58f8 
					 
					
						
						
							
							In pg_upgrade, rename "CLUSTERNAME" to "CLUSTER_NAME".  
						
						
						
						
					 
					
						2010-12-31 20:42:29 -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 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						a52aa6c6db 
					 
					
						
						
							
							Clean up pg_upgrade cache lookup code;  remove useless NULL pointer tests.  
						
						
						
						
					 
					
						2010-10-20 20:02:37 +00:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						691a67b922 
					 
					
						
						
							
							Rename pg_upgrade 'log' to 'log_opts', to avoid platform naming conflict.  
						
						
						
						
					 
					
						2010-10-20 02:31:17 +00:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						3325c9bddb 
					 
					
						
						
							
							Further speed up pg_upgrade lookups.  
						
						
						
						
					 
					
						2010-10-20 02:06:06 +00:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						1c72614be7 
					 
					
						
						
							
							Fix for new pg_upgrade cache code.  
						
						
						
						
					 
					
						2010-10-20 01:24:31 +00:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						333b4a45f1 
					 
					
						
						
							
							Cache most recent relfilenode lookups, for speed, after report of  
						
						... 
						
						
						
						pg_upgrade slowness for 150k tables. 
						
						
					 
					
						2010-10-20 00:55:16 +00: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 
							
						 
					 
					
						
						
							
						
						6368682788 
					 
					
						
						
							
							In pg_upgrade, test for datallowconn instead of hardcoding template0.  
						
						
						
						
					 
					
						2010-05-24 19:52:33 +00:00 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						3245bd5240 
					 
					
						
						
							
							Simplify pg_upgrade queries by using IN instead of multiple OR clauses  
						
						... 
						
						
						
						comparing the same column to multiple values. 
						
						
					 
					
						2010-05-19 18:56:47 +00:00 
						 
				 
			
				
					
						
							
							
								Tom Lane 
							
						 
					 
					
						
						
							
						
						88fba7089e 
					 
					
						
						
							
							Fix another obvious bug pointed out by a compiler warning.  
						
						
						
						
					 
					
						2010-05-14 00:43:42 +00:00 
						 
				 
			
				
					
						
							
							
								Tom Lane 
							
						 
					 
					
						
						
							
						
						8eac39780d 
					 
					
						
						
							
							Get rid of unsafe sprintf and snprintf usages.  Per compiler warnings.  
						
						
						
						
					 
					
						2010-05-14 00:32:21 +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 
						 
				 
			
				
					
						
							
							
								Bruce Momjian 
							
						 
					 
					
						
						
							
						
						561afa534d 
					 
					
						
						
							
							Small formatting adjustment.  
						
						
						
						
					 
					
						2010-05-12 11:07:24 +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