401 Commits

Author SHA1 Message Date
Nicola Murino
05fac2dac3 fix compilation with msvc
__attribute__ macro is not defined in msvc and it is not essential to
the implementation. All it does  is tell the compiler that this function
is similar to printf, and  expects a printf-like format string
So for MSVC we define __attribute__ as a macro that do nothing
2017-04-19 11:54:46 +01:00
Masahiko Sawada
4d59be0a66 Merge pull request #123 from MasahikoSawada/toast_storage_param
Specify the storage option for TOAST table when create table.
2017-04-13 11:34:49 +09:00
Masahiko Sawada
6de31a1249 Add new item in Japanese doc. 2017-04-11 23:49:10 +09:00
Masahiko Sawada
a6b2b0e82e Fix a mistake of merging.
Also fix regression test failure.
2017-04-11 23:43:21 +09:00
Masahiko Sawada
d55a08fc1e Merge branch 'master' into toast_storage_param 2017-04-11 23:30:27 +09:00
Masahiko Sawada
df96f35345 Merge pull request #122 from MasahikoSawada/col_storage
Set column storage type before first copying table.
2017-04-11 23:13:23 +09:00
Masahiko Sawada
c75a55d229 Update new item in Japanese doc. 2017-04-11 23:10:08 +09:00
Daniele Varrazzo
467389abd6 Report column storage issue fixed in docs
Close #94.
2017-04-10 23:31:52 +01:00
Masahiko Sawada
b6ea2ca3c9 Fix the mix of tabs and space. 2017-04-10 23:26:58 +01:00
Masahiko Sawada
789e819d74 Fix regression test failure. 2017-04-10 23:26:58 +01:00
Masahiko Sawada
5adff6ff0b Set column storage type before first copying table.
Previously, even if the table whose column storage type has been
changed the pg_repack did first copy the data to table without changing
column storage paramater. This cause of that the existing data is
pushed out to its toast table even if actual column storage type is
"main".

Issue #94.
2017-04-10 23:25:49 +01:00
Daniele Varrazzo
3afe19e7c4 Report issue fixed in docs
Close #10
2017-04-10 23:21:26 +01:00
Masahiko Sawada
c44306ba74 Fix regression test failure. 2017-04-10 23:21:26 +01:00
Masahiko Sawada
ca5ca11d4d Specify the storage option for TOAST table when create table.
The storage option such as AUTOVACUUM_VACUUM_SCALE_FACTOR can be
set to both heap table and TOAST table. But the storage parameter
for TOAST table had gone after repacked. This change create new
function get_storage_param which returns all storage paramters
including for TOAST table and OID setting.

Issue #10.
2017-04-10 23:20:50 +01:00
Daniele Varrazzo
6d7b1dbca4 Added test to verify the attribute options are respected 2017-04-10 23:07:40 +01:00
Daniele Varrazzo
cf6fe7d4cf Dropped redundant/wrong pg_config definition
Fix issue #24. The OP reported that the issue is solved by dropping this
assignment. The one in regress has been already dropped in the
refactoring to drop pre-9.1 support.
2017-04-10 22:04:28 +01:00
Daniele Varrazzo
53e8b9ede3 Merge branch 'drop-old-versions' 2017-04-10 20:58:51 +01:00
Daniele Varrazzo
a297acc3b3 Dropped piece of no more relevant news from README 2017-04-10 12:06:26 +01:00
Daniele Varrazzo
7d752f2b4e Dropped C file now unused 2017-04-10 11:58:41 +01:00
Daniele Varrazzo
86eef300f1 Dropped C code used by unsupported PG versions 2017-04-10 11:44:17 +01:00
Daniele Varrazzo
ac1333f9f3 Declare supported versions are 9.1-9.6 2017-04-09 19:23:06 +01:00
Daniele Varrazzo
acb73b5a20 Dropped unneeded test results variants 2017-03-29 04:55:44 +01:00
Daniele Varrazzo
ecb07f1e3f Force Postgres 9.1 in makefile 2017-03-29 04:39:02 +01:00
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
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
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