Commit Graph

  • b6b6a8bfb3 Merge branch 'master' of https://github.com/kotsachin/pg_repack into kotsachin-master Josh Kupershmidt 2015-05-25 10:59:32 -06:00
  • 8a0466e4c2 Some improvements and fixes to previously submitted pull request for cleaning temporary objects kotsachin 2015-05-25 18:14:47 +09:00
  • 13e359171b Remove outdated comment about missing 9.4 support. Josh Kupershmidt 2015-05-23 16:27:47 -04:00
  • 618d2f4783 Merge branch 'terrorobe-patch-1' Josh Kupershmidt 2015-05-19 20:11:01 -04:00
  • 8fe2cf1296 Some further fixes/cleanup/wordsmithing of the doc changes. Josh Kupershmidt 2015-05-19 20:10:25 -04:00
  • c375c2009d wording Michael Renner 2015-05-13 14:47:56 +02:00
  • c28d6624ef Document pg_repack behavior Michael Renner 2015-05-13 11:59:21 +02:00
  • 39cc3b474d Use pgut_strdup() instead of strdup(). Josh Kupershmidt 2015-05-04 21:21:16 -04:00
  • 4e69428700 Merge branch 'master' of https://github.com/kotsachin/pg_repack into kotsachin-master Josh Kupershmidt 2015-05-01 15:30:34 -04:00
  • dec54f05b0 Merge branch 'bwtakacy-change-log-level' Josh Kupershmidt 2015-05-01 15:27:36 -04:00
  • 6afbaaa012 Change log level as noted in documentation. bwtakacy 2015-04-27 15:48:38 +09:00
  • ad109edb5b This patch contains repack_cleanup_callback() which calls to repack_drop() for cleaning temporary objects. repack_cleanup_callback() will be pushed on stack using pgut_atexit_push() at beginning so that it will pop on abort or exit of program. This patch includes one global counter (temp_obj_num) which counts number of temporary objects created by pg_repack. Correct order of deletion of temporary object as per count avoids unintentional error messages. kotsachin 2015-04-17 13:07:01 +09:00
  • f4703be524 Mention PG 9.4 support in the docs Daniele Varrazzo 2015-03-10 16:35:25 +00:00
  • 19d85eb997 Release number bumped to 1.3.1 Daniele Varrazzo 2015-03-10 15:23:10 +00:00
  • 4065470982 Merge branch 'pg94' Daniele Varrazzo 2015-03-10 15:22:00 +00:00
  • f76fef94b6 More complete changes list for release 1.3.0 Daniele Varrazzo 2015-03-10 15:21:06 +00:00
  • 74621ec3f6 Document PG 9.4 is supported Daniele Varrazzo 2015-03-10 14:59:35 +00:00
  • a49bb41822 Dropped use of reltoastidxid field Daniele Varrazzo 2015-03-10 14:53:49 +00:00
  • 564f061beb Use the right appendStringInfoVA interface Daniele Varrazzo 2015-03-10 11:48:16 +00:00
  • 5e47c4c9c0 Dropped makefile guard against PG 9.4 Daniele Varrazzo 2015-03-10 11:23:40 +00:00
  • 779fd82ddb Bump version to 1.3.0 (stable). Josh Kupershmidt 2015-02-26 21:17:49 -05:00
  • 859af29061 Bump version to 1.3.0-beta1 Josh Kupershmidt 2015-01-26 20:45:20 -05:00
  • 493e763fd7 Merge branch 'bwtakacy-develop' Josh Kupershmidt 2015-01-26 19:39:55 -05:00
  • 9beefb6324 Merge branch 'develop' of https://github.com/bwtakacy/pg_repack into bwtakacy-develop Josh Kupershmidt 2015-01-26 19:37:20 -05:00
  • ad5ee75215 Merge branch 'bwtakacy-modify_error_message' Josh Kupershmidt 2015-01-26 19:26:13 -05:00
  • de8853b241 Wordsmith error message when repack_one_database() fails. Josh Kupershmidt 2015-01-26 19:21:27 -05:00
  • 49e542a0b6 Improve error message when repack against non-existing table. bwtakacy 2015-01-16 10:21:17 +09:00
  • aff4610d71 Add a expected out file to run the repack regression test successfully. bwtakacy 2015-01-14 15:47:43 +09:00
  • 3920a5e5cd Freecode is no more Daniele Varrazzo 2015-01-13 16:13:07 +00:00
  • ef4dc5a1fb Tweak apply_log() loop so that we don't wait until getting all the way down to 0 rows processed before performing the table swap step. Josh Kupershmidt 2015-01-11 20:59:13 -05:00
  • 8f61e44efd Tweak logic for when to display: Josh Kupershmidt 2015-01-11 19:31:09 -05:00
  • 0cb40b6204 Add a Makefile check to avoid building against PostgreSQL 9.4+ Josh Kupershmidt 2015-01-11 19:06:20 -05:00
  • 080ebd3ed6 Bump up Copyright notices for 2015 Josh Kupershmidt 2015-01-11 19:01:37 -05:00
  • db4ec04cf2 Do get_indexdef calls while the table is already locked. Andrew Dunstan 2014-12-30 16:48:06 -05:00
  • 9f77a2fd03 Gather index info at the same time as table info, rather than later. Andrew Dunstan 2014-12-30 10:48:35 -05:00
  • 6d3c085b22 Fix up commit 4b3347, where I failed to notice that the initial problem was really about the OID being interpreted as an integer literal upon input, and overflowing its integer space before even making it into pg_try_advisory_lock(). (We do still need to add -2147483648 to make the result fit into an integer, as 4b3347 does.) Josh Kupershmidt 2014-11-20 17:18:15 -05:00
  • 4b334745a3 Ensure that unsigned 4-byte OIDs are able to squeeze into the signed 4-byte int accepted by the two-argument form of pg_try_advisory_lock() we are using. Josh Kupershmidt 2014-11-13 20:54:48 -05:00
  • 649e72c0a4 Add some ORDER BYs to queries fetching lists of tables/indexes to be repacked, in order to ensure consistent installcheck results. Josh Kupershmidt 2014-05-26 20:57:28 -04:00
  • e2c720b89c Perform sql_pop delete in bulk instead of one-at-a-time. Josh Kupershmidt 2014-05-25 22:04:13 -04:00
  • f0cd787bf5 Merge in Pull Request #20 from Steeve Lennmark. Josh Kupershmidt 2014-05-24 15:42:24 -04:00
  • f097982383 A few more fixes to the Releases doc section about 1.2. schmiddy 2014-05-24 00:27:05 -04:00
  • 4eb1cef99e Make the 'repacking index ...' message be displayed for indexes-only repacks (not just when in dry-run mode). schmiddy 2014-05-24 00:09:03 -04:00
  • 69aa4f741d Merge branch 'master' into 21_dryrun schmiddy 2014-05-23 23:35:25 -04:00
  • 08d28df63a Add note urging users to upgrade due to Issue #23. schmiddy 2014-05-22 23:36:06 -04:00
  • 9916c48138 A few tweaks to the README, addressing the state of pg_reorg. schmiddy 2014-05-22 15:08:39 -04:00
  • 3ca9c39dff Added documentation about the release process Daniele Varrazzo 2014-05-19 13:45:29 +01:00
  • a9f3682645 Setting release status to stable Daniele Varrazzo 2014-05-19 12:43:35 +01:00
  • ae6638b581 Releasing version 1.2 Daniele Varrazzo 2014-01-12 12:55:22 +00:00
  • cdcb69a237 Source packages go in the dist directory Daniele Varrazzo 2014-01-12 12:54:46 +00:00
  • 3555c6b81a Added makefile target to create source distribution Daniele Varrazzo 2013-11-14 23:42:53 +00:00
  • 5e9d596bb7 Document issue #23 fixed Daniele Varrazzo 2014-05-19 10:41:44 +01:00
  • 506104686b Fix a nasty data loss/corruption bug from the sql_pop query. Josh Kupershmidt 2014-04-22 10:56:24 -04:00
  • f094795178 Clean up tests and fix regression Steeve Lennmark 2014-01-31 08:22:12 +00:00
  • d16bdc20d2 Add test for --dry-run Steeve Lennmark 2014-01-30 12:53:48 +00:00
  • 5affda20ea Move new log output to inside the dryrun block Steeve Lennmark 2014-01-30 12:53:22 +00:00
  • f10a41c4e1 Add output explaining that repack won't be issued Steeve Lennmark 2014-01-30 12:50:15 +00:00
  • 9b381f5b85 Add second test that tests multiple --schema args Steeve Lennmark 2014-01-30 12:27:32 +00:00
  • e7b6719256 Add test for --schema (-c) Steeve Lennmark 2014-01-30 12:19:21 +00:00
  • c7767ab10b Move --dry-run to 1.3 Steeve Lennmark 2014-01-26 10:28:29 +00:00
  • bf277a4e5f Add support for dry run -N (--dryrun) Steeve Lennmark 2014-01-24 15:15:35 +01:00
  • c2fa3a02ef Add documentation for --schema Steeve Lennmark 2014-01-24 15:14:16 +01:00
  • e16472419f Fix regression while refactoring patch Steeve Lennmark 2014-01-22 14:55:07 +01:00
  • 1a10df9049 Add support for repacking an entire schema Steeve Lennmark 2013-10-15 10:56:34 +02:00
  • 53906c4f18 Bumping version to 1.2.0-beta1 Daniele Varrazzo 2013-11-05 01:42:58 +00:00
  • 18f75951e2 Remove generated blank lines from legacy .sql file Daniele Varrazzo 2013-11-05 01:57:41 +00:00
  • 57922b552c Docs cleanup before releasing 1.2 Daniele Varrazzo 2013-11-05 01:39:07 +00:00
  • 81c99de210 README updated with pg_repack 1.1/1.2 differences Daniele Varrazzo 2013-11-05 01:38:47 +00:00
  • 7487a775d5 skip transactions and locks in other databases when checking pg_locks' entries FIRST man 2013-08-02 15:22:16 +02:00
  • d1ab1f7882 Check "relkind" instead of "reltype" in pg_class for clarity. Josh Kupershmidt 2013-07-08 09:20:40 -04:00
  • 27ea0fabe4 Several documentation updates for the pending 1.2 release: Josh Kupershmidt 2013-07-05 21:02:28 -04:00
  • 03015f8ee8 Regression tests for the new indexes-repacking features. Josh Kupershmidt 2013-07-04 09:47:31 -04:00
  • 3f7a05162f Improved error message distinction for repack_table_indexes(). Josh Kupershmidt 2013-07-03 04:44:59 -04:00
  • cd0b4ebf9d Improved error handling for repack_table_indexes() Josh Kupershmidt 2013-07-01 21:11:37 -04:00
  • fa9af9ddc0 A few more tweaks/fixes to repack_table_indexes() Josh Kupershmidt 2013-06-30 21:18:15 -04:00
  • 1c82aaefd9 Documentation updates for indexes-only mode. Josh Kupershmidt 2013-06-29 10:13:05 -04:00
  • 1e8ac21336 Several more fixes for indexes-only mode: Josh Kupershmidt 2013-06-29 09:41:27 -04:00
  • f0f36688f0 A few fixes to the indexes-only building. Josh Kupershmidt 2013-06-29 09:32:18 -04:00
  • df53964529 Rename --only-index to --only-indexes. Josh Kupershmidt 2013-06-26 21:47:53 -04:00
  • 8337204ae6 Some error handling cleanup for index building. Josh Kupershmidt 2013-06-22 16:45:57 -04:00
  • 61bf8acaf0 Use our own namespace for advisory locks. Josh Kupershmidt 2013-06-22 09:56:44 -04:00
  • bebe6ffb2b Factor out advisory locking code into advisory_lock() Josh Kupershmidt 2013-06-22 09:35:19 -04:00
  • 673eac7b42 Change 'have_error' to 'ret' for simplicity. Josh Kupershmidt 2013-06-22 08:59:47 -04:00
  • d79d342eea Add advisory locking to repack_one_table() Josh Kupershmidt 2013-06-22 08:41:41 -04:00
  • 62b5e4fb11 A few cosmetic fixes to pg_repack.c: * fix old reference to --indexes-only * trailing whitespace and indentation cleanup to match rest of code * XXX note about improving advisory locking Josh Kupershmidt 2013-06-22 06:51:41 -04:00
  • b804c150ac Fix existing 'tablespace' regression test so it passes again. Josh Kupershmidt 2013-06-22 06:47:06 -04:00
  • f3fa2fa563 Fixes and cleanup of the new repack_index_swap(): Josh Kupershmidt 2013-06-21 20:58:54 -04:00
  • ee23ec8ffd Initial import of indexes-only building patch. Josh Kupershmidt 2013-06-21 18:41:09 -04:00
  • 5b6a162996 Shuffle sanity checks into preliminary_checks(). Josh Kupershmidt 2013-06-20 21:11:25 -04:00
  • a942042215 Fix up the --help output for --jobs. Josh Kupershmidt 2013-06-18 19:45:05 -04:00
  • 29023206b5 Fix lock_exclusive()'s behavior during swap step. Josh Kupershmidt 2013-06-16 20:17:24 -04:00
  • 9c8d519415 Kludge to remove -lpam from LIBS in Makefiles. Josh Kupershmidt 2013-05-23 20:31:56 -04:00
  • 95ce24c2a0 More sed tweaks to Makefile for portability. Josh Kupershmidt 2013-05-21 21:45:47 -04:00
  • dc31920616 Move regression tests from ./bin/ to ./regress/ Josh Kupershmidt 2013-05-09 21:15:48 -04:00
  • 20dea46184 Merge remote-tracking branch 'piro/master' Daniele Varrazzo 2013-05-05 00:19:22 +01:00
  • 98d304712c Merge branch 'funky-version-check' Daniele Varrazzo 2013-05-05 00:09:39 +01:00
  • a561c924f7 Parse tablespace/where in parse_indexdef Daniele Varrazzo 2013-05-04 23:59:01 +01:00
  • 2b7e1b2f0c Ignore regression tests output Daniele Varrazzo 2013-05-04 13:31:11 +01:00
  • cc2abf4b25 Fixed tablespace assignment in index with WITH clause Daniele Varrazzo 2013-05-02 23:32:30 +01:00
  • c55c613e44 Update RENAME_REL macro to work with 9.3. We now need to pass the "is_internal" boolean to this function; for our purposes it should be acceptable to always pass true. Josh Kupershmidt 2013-04-23 21:32:30 -04:00
  • f886e0dba6 Fixed --order-by broken by namespaces refactoring Daniele Varrazzo 2013-04-22 11:16:28 +01:00