27 Commits

Author SHA1 Message Date
Daniele Varrazzo
0e74882429 Had to shorten the tablespace metavar
In the rst docs two spaces are required between option and doc.
2013-04-17 09:17:35 +01:00
Daniele Varrazzo
42c65d16f8 Merge branch 'change-tablespace'
Conflicts:
	bin/pg_repack.c
	doc/pg_repack.rst
2013-04-17 09:07:09 +01:00
Daniele Varrazzo
7617e07f10 Options sorted in a slightly more rational order
--no-order now is almost useless, but list it next to --order-by.
--jobs only specifies how to do something, not what to do. On the
same basis probably --no-analyze should be pushed further up.
2013-04-17 01:44:50 +01:00
Daniele Varrazzo
8efbd9e1c6 Imply --no-order for non-clustered tables
--no-order can still be specified to VACUUM FULL a clustered tables
(not so useful I guess...)

Fixes issue #6.
2013-04-17 01:42:22 +01:00
Daniele Varrazzo
1d62d8d0c5 More helpful error messages in case of conflicting triggers
Closes issue #5.
2013-04-17 00:57:01 +01:00
Daniele Varrazzo
127d5cbfb2 Added missing entries to the pg_repack 1.2 changes 2013-04-16 23:50:52 +01:00
Daniele Varrazzo
b6bd078e92 Added documentation for --tablespace and --moveidx 2013-04-16 23:39:51 +01:00
Josh Kupershmidt
2e4ac733c1 Fix up buggy initialization code for poll() and select().
Also some logging and variable name cleanup.
2012-12-14 18:49:00 -07:00
Josh Kupershmidt
d43ff3cd24 Add description of --jobs to the docs. Also, add missing newline in --help output. 2012-12-14 18:49:00 -07:00
Daniele Varrazzo
c395f72a1c Some docs clarification if you find a stray trigger 2012-12-01 12:50:27 +00:00
Daniele Varrazzo
7e4f811381 Style of definitions lists in the docs improved 2012-11-22 23:23:30 +00:00
Josh Kupershmidt
06a38f4a99 Typofix from last commit. 2012-11-19 07:42:21 -07:00
Daniele Varrazzo
c756d13a55 Docs cleanup by Josh 2012-11-19 11:13:33 +00:00
Daniele Varrazzo
580307f79e Mention Slony fix for pg_repack 1.1.8 (issue #4) 2012-11-16 22:32:59 +00:00
Daniele Varrazzo
deaae7dd72 Added version_sql() function and consistency check of sql version 2012-11-16 21:32:28 +00:00
Daniele Varrazzo
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
Daniele Varrazzo
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
Daniele Varrazzo
8b3f64f0fc Added PGXN URL for download and pgxn client usage docs 2012-11-15 15:40:50 +00:00
Daniele Varrazzo
258ca24986 Docs title and mission uniformed with the README
Also reduced excessive left padding in Contents box.
2012-11-15 12:04:49 +00:00
Daniele Varrazzo
a926623e74 A few doc typos fixed 2012-11-15 00:58:58 +00:00
Daniele Varrazzo
ec28c2772f Mention partial index issue fixed in docs 2012-11-15 00:19:29 +00:00
Daniele Varrazzo
ef2c7da4a5 Doc page reordered in a more logical order
Requirements, Installation, Usage, Examples, etc.
2012-11-13 14:33:08 +00:00
Daniele Varrazzo
4f9269cab8 Improvements to the install section of the docs
Fixed cleanup procedure with EXTENSION, added uninstall section.
2012-11-13 14:07:43 +00:00
Daniele Varrazzo
532be6ea25 Provide a single way to install pg_repack
Provide only CREATE EXTENSION support on PG >= 9.1 and only the sql script on
PG < 9.1.

Also dropped the /echo cruft in the extension script: it is broken on pg 9.1
and 9.1.1, and because the script is not installed on versions that don't
support CREATE EXTENSION it is just not terribly useful.
2012-11-12 01:04:46 +00:00
Daniele Varrazzo
cc622aefae Project homepage set to http://reorg.github.com/pg_repack/ 2012-11-11 02:38:09 +00:00
Daniele Varrazzo
1707d3add2 Dropped mention to PG 8.2 in master 2012-11-11 01:30:12 +00:00
Daniele Varrazzo
b3a86e3fee Documentation converted to reST
I had to drop the Japanese doc, but I'd be happy to restore it in reST format.
2012-11-11 01:30:05 +00:00