Daniele Varrazzo
2af90dced1
Dropped sql file for non-extension build
2017-03-29 04:39:02 +01:00
Daniele Varrazzo
46dd16a6ed
Dropped doc about non-extension installation
2017-03-29 04:39:02 +01:00
Daniele Varrazzo
329f30e3ce
Streamline tests to run only on supported versions
2017-03-29 04:39:02 +01:00
Daniele Varrazzo
914d1c4b3d
Document supported versions are 9.1 to 9.6
2017-03-29 04:39:02 +01:00
Daniele Varrazzo
8a73172606
Fixed query on PostgreSQL 9.1
2017-03-29 04:38:36 +01:00
Daniele Varrazzo
62b4ad961b
Added tests on pg 9.1
2017-03-29 04:38:35 +01:00
Daniele Varrazzo
2a9ca79772
Added travis configuration for CI tests
2017-03-29 02:34:12 +01:00
Daniele Varrazzo
d0217d81e3
Added output version for Postgres 9.2-9.4
2017-03-29 02:34:12 +01:00
Masahiko Sawada
a8fe1fe1ec
Add new features of release 1.4 to Japanese doc.
2017-03-27 19:04:34 +09:00
Dmitry Ivanov
6d8ff6ba19
extend safety checks for -I
2017-03-24 17:02:12 +03:00
Dmitry Ivanov
839aec7e71
remove blank line
2017-03-24 16:56:27 +03:00
Dmitry Ivanov
4e90fe9b48
resolve conflicts
2017-03-24 16:54:16 +03:00
Masahiko Sawada
6e42b0c0ad
Merge branch 'funbringer-optional_include_extensions'
2017-03-24 17:44:29 +09:00
Masahiko Sawada
bf550706fc
Add --exclude-extension option to new features.
2017-03-24 17:43:21 +09:00
Masahiko Sawada
9422daae7a
Merge branch 'optional_include_extensions' of https://github.com/funbringer/pg_repack into funbringer-optional_include_extensions
2017-03-24 17:38:49 +09:00
Daniele Varrazzo
fe519cf017
Dropped further libs not needed for build
2017-03-23 18:50:22 +00:00
Daniele Varrazzo
81cca1836b
Fixed docs reST formatting
...
In Japanese too! ツ
2017-03-23 18:12:33 +00:00
Daniele Varrazzo
9bef0d4fa7
Added new features to release 1.4
2017-03-23 17:42:39 +00:00
Daniele Varrazzo
3c717c3509
Bump to development line 1.4
2017-03-23 17:32:59 +00:00
Masahiko Sawada
a6cbf0577b
Merge pull request #118 from MasahikoSawada/fix_doc_jp
...
Update pg_repack_jp.rst
2017-03-23 20:07:12 +03:00
Dmitry Ivanov
3419422786
update docs
2017-03-23 16:39:58 +03:00
Dmitry Ivanov
c62488ae13
add regression tests for --exclude-extension (-C)
2017-03-23 16:26:46 +03:00
Dmitry Ivanov
e1f41aa6d8
add new option checks for -C
2017-03-23 16:05:59 +03:00
Dmitry Ivanov
1ecec8ce95
change option to '--exclude-extension'
2017-03-23 15:24:41 +03:00
Dmitry Ivanov
e89559a813
resolve conflicts
2017-03-23 14:14:18 +03:00
Masahiko Sawada
462c37c57e
Update pg_repack_jp.rst
...
Since v1.3.3, when Japanese doc has been introduced, this
file had not been maintained.
2017-03-23 10:50:02 +09:00
Dmitry Ivanov
5507a57d05
improve docs
2017-03-22 16:34:08 +03:00
Dmitry Ivanov
698d1ddfdd
update docs
2017-03-22 16:32:11 +03:00
Dmitry Ivanov
6a51ed209d
add regression tests for '--parent-table' option
2017-03-22 15:04:27 +03:00
Dmitry Ivanov
0e3ed0d5e1
fix typos and formatting, implement -I in repack_all_indexes()
2017-03-22 14:15:48 +03:00
Dmitry Ivanov
68dc592545
introduce option --parent-table (-I, stands for 'inheritance'), fix function repack_one_database(), introduce function repack.get_table_and_inheritors()
2017-03-20 23:05:26 +03:00
masahiko
7c8e272b54
Merge pull request #114 from bossartn/no_superuser_check
...
Introduce --no-superuser-check option.
2017-03-08 10:49:11 +09:00
Nathan Bossart
1f784089a6
Added regression testing for --no-superuser-check option.
2017-03-02 02:58:41 +00:00
bossartn
7471eeaa0c
Merge branch 'master' into no_superuser_check
2017-03-01 08:34:29 -08:00
masahiko
b329f9e143
Merge pull request #108 from MasahikoSawada/dont_kill_backend
...
Introduce --no-kill-backend option.
2017-02-23 09:39:36 +09:00
Masahiko Sawada
9ef8f9f80b
Improve error message more explicitely when time out.
...
This change distinguishes error message between failed to cancel
query due to time out and abandoning to cancel query due to timeout.
2017-02-22 06:03:54 +00:00
Masahiko Sawada
d1d3d774d3
Update Japanese documentation for no-kill-backend option.
2017-02-22 06:03:09 +00:00
Masahiko Sawada
f6c1304c36
Change the option name to no-kill-backend.
...
For consistency with other slimilar option such as no-order,
no-analyze.
2017-02-22 03:49:04 +00:00
masahiko
5781aabb61
Merge pull request #107 from MasahikoSawada/change_to_after_trigger
...
Change trigger type to AFTER trigger.
2017-02-22 12:08:32 +09:00
masahiko
b16886d4ea
Merge pull request #116 from MasahikoSawada/fix_format_ident
...
Change format identifier %lu to UINT64_FORMAT for portability.
2017-02-22 00:06:01 +09:00
Josh Kupershmidt
0ee4dca044
Merge pull request #115 from cpaelzer/fix-feb2017-pg-microrelease
...
Fix 'tablespace' regression test for latest postgres minor releases
2017-02-21 08:52:18 -05:00
Masahiko Sawada
e8d6b6b97f
Change format identifier %lu in pgut.c file.
2017-02-21 12:23:18 +00:00
Masahiko Sawada
b9219be7d8
Change format identifier to UINT64_FORMAT.
...
Change it for portability.
2017-02-21 16:20:38 +09:00
Christian Ehrhardt
02ced4650a
drop Debian specific content from tablespace_2.out
...
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2017-02-20 09:13:58 +01:00
Christian Ehrhardt
b85831ea65
Add a variant expected output for the 'tablespace' regression test
...
The recent stable update changed output for calls to
repack.repack_indexdef with the third arg being NULL.
Output gets an additional "TABLESPACE pg_default". So add
another variant of expected output to cover 9.6.2, 9.5.6,
9.4.11 and 9.3.16.
Stable update at https://www.postgresql.org/about/news/1733/
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2017-02-15 11:30:58 +01:00
Nathan Bossart
168676b3b6
Introduce --no-superuser-check option.
...
The current client checks for superuser before attempting to
execute pg_repack commands. In Amazon RDS, customers are given
access to a psuedo-superuser role called rds_superuser, but they
are not given access to superuser. However, rds_superusers will
otherwise have the ability to execute pg_repack commands in RDS.
This change introduces the --no-superuser-check option in the
client code so that users can disable the client-side superuser
checks.
2017-02-15 03:15:03 +00:00
Josh Kupershmidt
dfbedb63d9
Merge pull request #110 from MasahikoSawada/change_format_identifier
...
Change format identifier of SPI_processed to uint64.
2017-02-02 22:36:47 -05:00
Masahiko Sawada
bacf197a7b
Change format identifier of SPI_processed to uint64.
...
Because commit 23a27b039d94ba359286694831eafe03cd970eef has extended the
type of SPI_processed from uint32 to uint64, pg_repack emit warning when
compiling with PostgreSQL 9.6 or later. To fix that, we cast it to uint64
and change format identifier from %d to %lu.
2017-02-02 23:42:44 +09:00
Masahiko Sawada
ff8cb96c74
Add white space to COUNT_COMPETING_LOCKS sql.
...
Pointed out by schmiddy.
2017-02-02 19:59:18 +09:00
Masahiko Sawada
34c6506f54
Introduce --dont-kill-backend option.
...
pg_repack needs to take an exclusive lock at the end of the
reorganization. If the lock cannot be taken after duration
--wait-timeout option specified and this option is true,
pg_repack gives up to repack a target table instead of
cancelling conflicting backend. False by default.
2017-01-24 14:47:00 +09:00