fcd3f7eaae 
					 
					
						
						
							
							Added pg_repack runs to check the get_order_by definitions work  
						
						
						
						
					 
					
						2012-12-09 12:11:10 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						13cf8679db 
					 
					
						
						
							
							Added support for COLLATE to index keys  
						
						
						
						
					 
					
						2012-12-09 12:02:49 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4bcb7641c9 
					 
					
						
						
							
							Function get_index_keys() renamed to get_order_by()  
						
						... 
						
						
						
						It was a FIXME item in the source. Reasonably so. 
						
						
					 
					
						2012-12-09 11:35:52 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a47686a7ee 
					 
					
						
						
							
							Added support for DESC and NULLS FIRST/LAST to index keys  
						
						... 
						
						
						
						Fixes issue #3  
						
						
					 
					
						2012-12-09 01:11:39 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fbcd24b4e0 
					 
					
						
						
							
							Have the client double-check that it is connected as a database superuser before plowing through initialization steps.  
						
						... 
						
						
						
						Addresses Issue #2 . 
						
						
					 
					
						2012-11-30 20:09:22 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3b856623fd 
					 
					
						
						
							
							Add comment explaining how race condition between CREATE TABLE ... AS SELECT and recording of log entries is avoided.  
						
						
						
						
					 
					
						2012-11-29 20:27:33 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d13f1b141d 
					 
					
						
						
							
							Merge branch 'version_check'  
						
						
						
						
					 
					
						2012-11-16 21:32:45 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						deaae7dd72 
					 
					
						
						
							
							Added version_sql() function and consistency check of sql version  
						
						
						
						
					 
					
						2012-11-16 21:32:28 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e02811689a 
					 
					
						
						
							
							Fixed non-portable use of sed to parse the version from META  
						
						... 
						
						
						
						Patch from Josh, with the help of RhodiumToad. 
						
						
					 
					
						2012-11-16 10:36:16 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1bcaf267b3 
					 
					
						
						
							
							Stop database processing if library version doesn't match the binary  
						
						... 
						
						
						
						Actually this leaves out the case of the SQL schema not consistent with the
library/binary installed, and this is a relatively likely case:
the user has run "make install" but the repack schema was already loaded
from an older version. 
						
						
					 
					
						2012-11-15 23:32:21 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c43b6bdceb 
					 
					
						
						
							
							More consistent error reporting  
						
						... 
						
						
						
						repack_all_database can return an error message: in case of any error different
from "missing schema" return the error and keep processing the other databases
instead of printing and stopping the program.
The output of the program is now something like:
    $ pg_reorg --all
    pg_reorg: reorg database "contrib_regression"
    pg_reorg: reorg database "template1" ... skipped: pg_reorg is not installed in the database 
						
						
					 
					
						2012-11-15 23:32:21 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						292e00835e 
					 
					
						
						
							
							Use correct homepage link in pg_repack --help  
						
						... 
						
						
						
						Also fixed punctuation in help. 
						
						
					 
					
						2012-11-15 11:53:00 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						44bf1543be 
					 
					
						
						
							
							Don't choose a partial index as primary key  
						
						... 
						
						
						
						Fixes  reorg/pg_reorg#22  
					
						2012-11-15 00:16:38 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6f8a8bab6d 
					 
					
						
						
							
							support for ENABLE TRIGGER renamed to enable_trigger from alter_table  
						
						
						
						
					 
					
						2012-11-12 11:51:20 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a92fefab8a 
					 
					
						
						
							
							Silence error message during test  
						
						... 
						
						
						
						It is different across server versions. 
						
						
					 
					
						2012-11-11 23:38:38 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7b84eeb010 
					 
					
						
						
							
							Get the program and library version from the META file  
						
						
						
						
					 
					
						2012-11-11 18:30:27 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						71af7f20be 
					 
					
						
						
							
							Dropped support for building "in tree": always use PGXS  
						
						
						
						
					 
					
						2012-11-11 17:17:41 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1d60a946ff 
					 
					
						
						
							
							Added The Reorg Development Team copyright  
						
						
						
						
					 
					
						2012-11-11 03:00:00 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						db1c554f60 
					 
					
						
						
							
							Dropped executable flags  
						
						
						
						
					 
					
						2012-11-11 02:48:46 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						107a8b1324 
					 
					
						
						
							
							Uppercase help metavars  
						
						
						
						
					 
					
						2012-11-10 23:45:56 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1852775c48 
					 
					
						
						
							
							email and meta updated to pg_repack  
						
						... 
						
						
						
						For the moment we are advertising the pg_reorg email. 
						
						
					 
					
						2012-11-10 22:57:22 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b7799c1782 
					 
					
						
						
							
							Fork the pg_repack extension  
						
						
						
						
					 
					
						2012-11-10 22:33:57 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						41f3c5c0f3 
					 
					
						
						
							
							Ignore temporary test files  
						
						
						
						
					 
					
						2012-11-10 19:52:50 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						16adb3359e 
					 
					
						
						
							
							Fixed cleanup of init test script  
						
						
						
						
					 
					
						2012-11-10 19:52:43 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						69cc976b39 
					 
					
						
						
							
							Updated regression tests to use CREATE EXTENSION for PostgreSQL 9.1 or higher.  
						
						
						
						
					 
					
						2012-11-10 19:51:40 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d603c49b40 
					 
					
						
						
							
							Get rid of unused getint16() function to quiet compiler.  
						
						... 
						
						
						
						Also, small whitespace fixup. 
						
						
					 
					
						2012-11-06 20:30:49 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						841f656012 
					 
					
						
						
							
							Skip bgwriter's lock on newly promoted standby servers  
						
						... 
						
						
						
						Fixes ticket #1 . 
						
						
					 
					
						2012-11-06 01:49:00 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						05111376c8 
					 
					
						
						
							
							Remove TODO comment about ASC/DESC and NULLS FIRST/LAST index options.  
						
						... 
						
						
						
						As far as I can tell, the code already supports these index options, so
put in a small installcheck test exercising these index options and call
it good. 
						
						
					 
					
						2012-10-21 16:54:33 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0942141245 
					 
					
						
						
							
							Fix compiler warnings about appendStringInfoVA and appendStringInfoVA_s.  
						
						... 
						
						
						
						gcc was correctly complaining that these functions should be
declared with the `printf` format attribute. Addresses Issue #14 . 
						
						
					 
					
						2012-10-18 20:32:18 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9f5c4f55c7 
					 
					
						
						
							
							Don't try to rebuild invalid indexes  
						
						... 
						
						
						
						Closes ticket #9  
						
						
					 
					
						2012-10-16 23:29:36 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						df12c37edf 
					 
					
						
						
							
							Add in a call to:  
						
						... 
						
						
						
						ALTER TABLE [table_name] ENABLE ALWAYS TRIGGER z_reorg_trigger
so that pg_reorg and the z_reorg_trigger can properly work in "replica" mode,
as when using pg_reorg on a Slony slave.
Bug report and patch by Norman Yamada. 
						
						
					 
					
						2012-10-14 10:50:05 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						370e572cfc 
					 
					
						
						
							
							Get rid of support for PG versions 8.2 and earlier. These have been unsupported for some time, and the #defines do clutter up the codebase.  
						
						
						
						
					 
					
						2012-09-22 20:00:53 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						59db5d4630 
					 
					
						
						
							
							Make ordering of 'Options' printed by pg_reorg --help alphabetical.  
						
						
						
						
					 
					
						2012-09-22 19:33:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						612495ecd6 
					 
					
						
						
							
							Print a status message while waiting on old transactions to finish, including a backend PID we are waiting on, so that the user knows pg_reorg is hung and can do something about it.  
						
						
						
						
					 
					
						2012-09-22 19:33:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2ba1a575ac 
					 
					
						
						
							
							Add missing PQclear(), and comment touchups.  
						
						... 
						
						
						
						Fixed by Daniele: PQclear already committed, only left the comments touchups. 
						
						
					 
					
						2012-09-22 19:33:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						805c3bb1f7 
					 
					
						
						
							
							Add gitignore entries to ensure folder consistency  
						
						
						
						
					 
					
						2012-09-22 12:43:26 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						55ee42bebf 
					 
					
						
						
							
							Added missing PQclear().  
						
						... 
						
						
						
						reported by josh. 
						
						
					 
					
						2012-09-20 07:17:26 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						aad43aa1ae 
					 
					
						
						
							
							version 1.1.7. Supports 9.2dev.  
						
						
						
						
					 
					
						2011-08-07 04:20:23 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						960930b645 
					 
					
						
						
							
							Fixed database corruption when target tables have dropped columns, and  
						
						... 
						
						
						
						there are views or functions depending on columns after dropped ones.
The issue was reported by depesz, and original patch by Denish Patel.
Improved documentation how to build binaries from source.
COPYRIGHT updated. 
						
						
					 
					
						2011-04-29 05:06:48 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8ec3a085ad 
					 
					
						
						
							
							Added project configuration files for MSVC 2010 32/64bit.  
						
						
						
						
					 
					
						2011-01-25 06:41:12 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						232c9bb6c9 
					 
					
						
						
							
							Use one of not-null unique keys to identify rows when the target table doesn't  
						
						... 
						
						
						
						have a primary key. Some of users want to use not-null unique keys rather than
primary keys because postgres doesn't support REINDEX PRIMARY KEY CONCURRENTLY.
- Support 9.1dev.
- Improve Makefile to use PGXS automatically. 
						
						
					 
					
						2011-01-06 09:35:15 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d8d39cc948 
					 
					
						
						
							
							Fix memory leak and wrong usage of StringInfo in pgut_connect().  
						
						
						
						
					 
					
						2010-10-21 07:36:13 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7865250a19 
					 
					
						
						
							
							Fixed problem with interactive authentication handling.  
						
						... 
						
						
						
						Previous pgut.c didn't handle any user-input during interactive authentication. 
						
						
					 
					
						2010-09-29 07:29:29 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d490a1b458 
					 
					
						
						
							
							Fix -w and -W options. They were inverted.  
						
						
						
						
					 
					
						2010-06-18 01:12:28 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						67a5d7b786 
					 
					
						
						
							
							Fix a bug that pg_reorg cannot parse index definitions with reserved named columns,  
						
						... 
						
						
						
						i.e, it failed to parse quoted column names. (bug #1010828 ) 
						
						
					 
					
						2010-06-14 05:11:26 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						79757ccb62 
					 
					
						
						
							
							version 1.1.2.  
						
						
						
						
					 
					
						2010-06-01 07:35:01 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9bed2e6b2e 
					 
					
						
						
							
							Fix a bug in --username option.  
						
						
						
						
					 
					
						2010-05-25 04:53:23 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6e05a366fa 
					 
					
						
						
							
							Fix double-free bug with -a (--all) option.  
						
						
						
						
					 
					
						2010-05-14 06:52:45 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						78b0a0e374 
					 
					
						
						
							
							Fix two bugs.  
						
						... 
						
						
						
						#1010789  : pg_reorg 1.1.0 and "unexpected toast relations"
#1010790  : reorg.get_index_keys() does not handle composite indexes 
					
						2010-04-21 09:25:20 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f3873ff55b 
					 
					
						
						
							
							pg_reorg version 1.1.0.  
						
						... 
						
						
						
						- Add wait-timeout option and use SET statement_timeout instead of NOWAIT.
  This can avoid infinite NOWAIT loops to reorganize heavily accessed tables.
- Support native build with MSVC on Windows. 
						
						
					 
					
						2010-03-25 07:13:16 +00:00