a6e50515ce
Merge branch 'master' into change-tablespace
2013-04-16 22:40:43 +01:00
e9339f44ea
Merge branch 'issue-3'
...
Conflicts:
bin/expected/repack.out
bin/sql/repack.sql
2013-04-16 22:36:40 +01:00
c542bf2641
Added tests for the namespace change feature
...
Currently not passing as --moveidx not implemented yet.
2013-04-16 18:33:45 +01:00
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
6fc41e9c1a
Fix 'installcheck', since the last commit broke the expected output when the table is missing a valid primary/unique key.
2012-12-06 21:26:12 -07:00
44bf1543be
Don't choose a partial index as primary key
...
Fixes reorg/pg_reorg#22
2012-11-15 00:16:38 +00:00
a92fefab8a
Silence error message during test
...
It is different across server versions.
2012-11-11 23:38:38 +00:00
db1c554f60
Dropped executable flags
2012-11-11 02:48:46 +00:00
b7799c1782
Fork the pg_repack extension
2012-11-10 22:33:57 +00:00
69cc976b39
Updated regression tests to use CREATE EXTENSION for PostgreSQL 9.1 or higher.
2012-11-10 19:51:40 +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
9f5c4f55c7
Don't try to rebuild invalid indexes
...
Closes ticket #9
2012-10-16 23:29:36 +01: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
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
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
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
a7a42b7bbf
Fix crashes when cluster indexes have storage options (fillfactor, etc).
2010-02-05 03:24:22 +00:00
038c07523a
Support reorganizing tables with non-default operator class.
2009-12-28 08:25:00 +00:00
6155932b60
Fix data corruption bug reported by robjderr ( #1010664 ).
...
pg_reorg broke catalog definition if the target table had any dropped columns.
Now pg_reorg removes dropped columns and renumbers valid columns.
You can use pg_reorg to shrink column definitions if you have many dropped
columns. (without pg_reorg, dropped columns are filled with zero forever)
2009-07-02 09:50:58 +00:00
942180c2d8
workaround with 8.2.
2009-01-27 01:35:53 +00:00
aab19c7db0
Fixed a bug reorganizing tables without toast tables.
2009-01-23 02:33:11 +00:00
24a03c01a5
workaround for toast tables. The bug is reported by Kenny Gorman.
2009-01-21 08:09:22 +00:00