syncwrap 2.4.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/History.rdoc +5 -0
- data/README.rdoc +1 -1
- data/bin/syncwrap +1 -1
- data/examples/jruby.rb +1 -1
- data/lib/syncwrap/amazon_ec2.rb +1 -1
- data/lib/syncwrap/amazon_ws.rb +1 -1
- data/lib/syncwrap/base.rb +2 -2
- data/lib/syncwrap/cli.rb +1 -1
- data/lib/syncwrap/component.rb +8 -4
- data/lib/syncwrap/components/amazon_linux.rb +2 -2
- data/lib/syncwrap/components/arch.rb +1 -1
- data/lib/syncwrap/components/bundle.rb +1 -1
- data/lib/syncwrap/components/bundled_iyyov_daemon.rb +1 -1
- data/lib/syncwrap/components/bundler_gem.rb +1 -1
- data/lib/syncwrap/components/centos.rb +1 -1
- data/lib/syncwrap/components/commercial_jdk.rb +1 -1
- data/lib/syncwrap/components/cruby_vm.rb +1 -1
- data/lib/syncwrap/components/debian.rb +1 -1
- data/lib/syncwrap/components/etc_hosts.rb +1 -1
- data/lib/syncwrap/components/geminabox.rb +1 -1
- data/lib/syncwrap/components/hashdot.rb +1 -1
- data/lib/syncwrap/components/iyyov.rb +1 -1
- data/lib/syncwrap/components/iyyov_daemon.rb +1 -1
- data/lib/syncwrap/components/jruby_vm.rb +3 -3
- data/lib/syncwrap/components/mdraid.rb +1 -1
- data/lib/syncwrap/components/network.rb +1 -1
- data/lib/syncwrap/components/open_jdk.rb +1 -1
- data/lib/syncwrap/components/postgresql.rb +6 -3
- data/lib/syncwrap/components/puma.rb +1 -1
- data/lib/syncwrap/components/qpid.rb +1 -1
- data/lib/syncwrap/components/rake_gem.rb +1 -1
- data/lib/syncwrap/components/rhel.rb +1 -1
- data/lib/syncwrap/components/run_user.rb +1 -1
- data/lib/syncwrap/components/source_tree.rb +15 -3
- data/lib/syncwrap/components/tarpit_gem.rb +1 -1
- data/lib/syncwrap/components/ubuntu.rb +1 -1
- data/lib/syncwrap/components/users.rb +1 -1
- data/lib/syncwrap/context.rb +1 -1
- data/lib/syncwrap/distro.rb +1 -1
- data/lib/syncwrap/formatter.rb +1 -1
- data/lib/syncwrap/git_help.rb +1 -1
- data/lib/syncwrap/host.rb +1 -1
- data/lib/syncwrap/main.rb +1 -1
- data/lib/syncwrap/path_util.rb +1 -1
- data/lib/syncwrap/rsync.rb +5 -2
- data/lib/syncwrap/ruby_support.rb +1 -1
- data/lib/syncwrap/shell.rb +1 -1
- data/lib/syncwrap/version_support.rb +1 -1
- data/lib/syncwrap.rb +1 -1
- data/sync/postgresql/pg_hba.conf.erb +1 -1
- data/sync/postgresql/postgresql.conf.erb +27 -12
- data/test/setup.rb +1 -1
- data/test/test_components.rb +1 -1
- data/test/test_context.rb +1 -1
- data/test/test_context_rput.rb +1 -1
- data/test/test_rsync.rb +1 -1
- data/test/test_shell.rb +1 -1
- data/test/test_space.rb +1 -1
- data/test/test_space_main.rb +1 -1
- data/test/test_version_support.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 521c163fcf6e3d89223fbc6dc5791b4f9010978d
|
|
4
|
+
data.tar.gz: 9842766eb24481a03bad1c8b21dfcc2ed7cedd77
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 97ef2d6fadd8dd574f121392e6d93f12af4f30eec886e9c9cc327ef3c63ba5b229cf60d35e8ab6c31aa8ca8138c10de9701fd15782192b453d96db35fd1c7118
|
|
7
|
+
data.tar.gz: 831d26efc475c9ce0ceaa79f13342d4bf324bdde23cd2f57a465e8a358bbf0afef9b4f0a087967b13d46910622b46feaa1cdd7aa70038681e5c57e7b9582833e
|
data/History.rdoc
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
=== 2.5.0 (2015-3-20)
|
|
2
|
+
* Merge 9.4 release postgresql.conf additions (comments only).
|
|
3
|
+
* Add :manifest option to rput and SourceTree (with ./Manifest.txt default)
|
|
4
|
+
* Upgrade SyncWrap::JRubyVM default version to 1.7.19
|
|
5
|
+
|
|
1
6
|
=== 2.4.0 (2015-1-2)
|
|
2
7
|
* Upgrade SyncWrap::CRubyVM default version to 2.1.5 and add libffi as
|
|
3
8
|
build dependency.
|
data/README.rdoc
CHANGED
|
@@ -138,7 +138,7 @@ privacy of your own office.
|
|
|
138
138
|
|
|
139
139
|
== License
|
|
140
140
|
|
|
141
|
-
Copyright (c) 2011-
|
|
141
|
+
Copyright (c) 2011-2015 David Kellum
|
|
142
142
|
|
|
143
143
|
Licensed under the Apache License, Version 2.0 (the "License"); you
|
|
144
144
|
may not use this file except in compliance with the License. You
|
data/bin/syncwrap
CHANGED
data/examples/jruby.rb
CHANGED
data/lib/syncwrap/amazon_ec2.rb
CHANGED
data/lib/syncwrap/amazon_ws.rb
CHANGED
data/lib/syncwrap/base.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#--
|
|
2
|
-
# Copyright (c) 2011-
|
|
2
|
+
# Copyright (c) 2011-2015 David Kellum
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
|
5
5
|
# may not use this file except in compliance with the License. You may
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
#++
|
|
16
16
|
|
|
17
17
|
module SyncWrap
|
|
18
|
-
VERSION='2.
|
|
18
|
+
VERSION='2.5.0'
|
|
19
19
|
|
|
20
20
|
GEM_ROOT = File.dirname(File.dirname(File.dirname(__FILE__))) # :nodoc:
|
|
21
21
|
end
|
data/lib/syncwrap/cli.rb
CHANGED
data/lib/syncwrap/component.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#--
|
|
2
|
-
# Copyright (c) 2011-
|
|
2
|
+
# Copyright (c) 2011-2015 David Kellum
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
|
5
5
|
# may not use this file except in compliance with the License. You
|
|
@@ -350,7 +350,12 @@ module SyncWrap
|
|
|
350
350
|
# :dryrun:: Don't actually make any changes, but report files
|
|
351
351
|
# that would be changed. (default: false)
|
|
352
352
|
#
|
|
353
|
-
# :recursive:: Recurse into sub-directories (default: true
|
|
353
|
+
# :recursive:: Recurse into sub-directories (default: true unless
|
|
354
|
+
# :manifest is specified)
|
|
355
|
+
#
|
|
356
|
+
# :manifest:: Use the specified file (full path) as an explicit
|
|
357
|
+
# list of files to transfer, as via rsync
|
|
358
|
+
# `--files-from`. (default: none)
|
|
354
359
|
#
|
|
355
360
|
# :links:: Recreate symlinks on the destination (default: true)
|
|
356
361
|
#
|
|
@@ -381,8 +386,7 @@ module SyncWrap
|
|
|
381
386
|
# `rsync --perms --chmod=VALUE`
|
|
382
387
|
#
|
|
383
388
|
# :sync_paths:: Array of one or more local directories in which to
|
|
384
|
-
# find source files.
|
|
385
|
-
# Effectively required.
|
|
389
|
+
# find source files. Effectively required.
|
|
386
390
|
#
|
|
387
391
|
# :verbose:: Output stdout/stderr from rsync (default: false)
|
|
388
392
|
#
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#--
|
|
2
|
-
# Copyright (c) 2011-
|
|
2
|
+
# Copyright (c) 2011-2015 David Kellum
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
|
5
5
|
# may not use this file except in compliance with the License. You may
|
|
@@ -21,7 +21,7 @@ module SyncWrap
|
|
|
21
21
|
# Customizations for Amazon Linux.
|
|
22
22
|
class AmazonLinux < RHEL
|
|
23
23
|
|
|
24
|
-
# Amazon Linux version, i.e. '2014.
|
|
24
|
+
# Amazon Linux version, i.e. '2014.09.1'. No default value.
|
|
25
25
|
attr_accessor :amazon_version
|
|
26
26
|
|
|
27
27
|
alias :distro_version :amazon_version
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#--
|
|
2
|
-
# Copyright (c) 2011-
|
|
2
|
+
# Copyright (c) 2011-2015 David Kellum
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
|
5
5
|
# may not use this file except in compliance with the License. You may
|
|
@@ -29,11 +29,11 @@ module SyncWrap
|
|
|
29
29
|
include VersionSupport
|
|
30
30
|
include RubySupport
|
|
31
31
|
|
|
32
|
-
# JRuby version to install (default: 1.7.
|
|
32
|
+
# JRuby version to install (default: 1.7.19)
|
|
33
33
|
attr_accessor :jruby_version
|
|
34
34
|
|
|
35
35
|
def initialize( opts = {} )
|
|
36
|
-
@jruby_version = '1.7.
|
|
36
|
+
@jruby_version = '1.7.19'
|
|
37
37
|
|
|
38
38
|
super( { ruby_command: 'jruby',
|
|
39
39
|
gem_command: 'jgem' }.merge( opts ) )
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#--
|
|
2
|
-
# Copyright (c) 2011-
|
|
2
|
+
# Copyright (c) 2011-2015 David Kellum
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
|
5
5
|
# may not use this file except in compliance with the License. You may
|
|
@@ -38,7 +38,8 @@ module SyncWrap
|
|
|
38
38
|
#
|
|
39
39
|
# * RHEL, CentOS 6: 8.4
|
|
40
40
|
# * RHEL, CentOS 7: 9.2
|
|
41
|
-
# * AmazonLinux 2013.03: 8.4
|
|
41
|
+
# * AmazonLinux 2013.03: 8.4 9.2
|
|
42
|
+
# * AmazonLinux 2014.09: 8.4 9.2 9.3
|
|
42
43
|
# * Debian 7: 9.1
|
|
43
44
|
# * Ubuntu 14: 9.3
|
|
44
45
|
#
|
|
@@ -126,7 +127,9 @@ module SyncWrap
|
|
|
126
127
|
def package_names
|
|
127
128
|
( @package_names ||
|
|
128
129
|
( distro.is_a?( Debian ) && [ "postgresql-#{pg_version}" ] ) ||
|
|
129
|
-
( distro.is_a?( AmazonLinux ) &&
|
|
130
|
+
( distro.is_a?( AmazonLinux ) &&
|
|
131
|
+
( ( version_gte?( amazon_version, [2014,9] ) && [ "postgresql92-server" ] ) ||
|
|
132
|
+
[ "postgresql9-server" ] ) ) ||
|
|
130
133
|
[ "postgresql-server" ] )
|
|
131
134
|
end
|
|
132
135
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#--
|
|
2
|
-
# Copyright (c) 2011-
|
|
2
|
+
# Copyright (c) 2011-2015 David Kellum
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
|
5
5
|
# may not use this file except in compliance with the License. You may
|
|
@@ -71,6 +71,11 @@ module SyncWrap
|
|
|
71
71
|
# Any additional options for the rput (Default: {} -> none)
|
|
72
72
|
attr_accessor :rput_options
|
|
73
73
|
|
|
74
|
+
# A file name found at the root of source_dir containing the
|
|
75
|
+
# complete list of files to transfer. The value `true` is a synonym
|
|
76
|
+
# for 'Manifest.txt'. (Default: nil -> none)
|
|
77
|
+
attr_accessor :manifest
|
|
78
|
+
|
|
74
79
|
public
|
|
75
80
|
|
|
76
81
|
def initialize( opts = {} )
|
|
@@ -83,6 +88,7 @@ module SyncWrap
|
|
|
83
88
|
@require_clean = true
|
|
84
89
|
@rput_options = {}
|
|
85
90
|
@change_key = :source_tree
|
|
91
|
+
@manifest = nil
|
|
86
92
|
super
|
|
87
93
|
|
|
88
94
|
raise "SourceTree#source_dir not set" unless source_dir
|
|
@@ -119,8 +125,14 @@ module SyncWrap
|
|
|
119
125
|
opts = { erb_process: false,
|
|
120
126
|
excludes: [ :dev, '.bundle/' ],
|
|
121
127
|
user: run_user,
|
|
122
|
-
sync_paths: [ local_source_root ] }
|
|
123
|
-
|
|
128
|
+
sync_paths: [ local_source_root ] }
|
|
129
|
+
mf = manifest
|
|
130
|
+
if mf
|
|
131
|
+
mf = 'Manifest.txt' if mf == true
|
|
132
|
+
mf = File.join( local_source_root, source_dir, mf )
|
|
133
|
+
opts[:manifest] = mf
|
|
134
|
+
end
|
|
135
|
+
opts.merge!( rput_options )
|
|
124
136
|
rput( source_dir + '/', remote_source_path, opts )
|
|
125
137
|
end
|
|
126
138
|
|
data/lib/syncwrap/context.rb
CHANGED
data/lib/syncwrap/distro.rb
CHANGED
data/lib/syncwrap/formatter.rb
CHANGED
data/lib/syncwrap/git_help.rb
CHANGED
data/lib/syncwrap/host.rb
CHANGED
data/lib/syncwrap/main.rb
CHANGED
data/lib/syncwrap/path_util.rb
CHANGED
data/lib/syncwrap/rsync.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#--
|
|
2
|
-
# Copyright (c) 2011-
|
|
2
|
+
# Copyright (c) 2011-2015 David Kellum
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
|
5
5
|
# may not use this file except in compliance with the License. You may
|
|
@@ -37,7 +37,10 @@ module SyncWrap
|
|
|
37
37
|
flags = %w[ -i ]
|
|
38
38
|
|
|
39
39
|
# -r --recursive
|
|
40
|
-
flags << '-r'
|
|
40
|
+
flags << '-r' if ( opts[:recursive] ||
|
|
41
|
+
( !opts[:manifest] && ( opts[:recursive] != false ) ) )
|
|
42
|
+
|
|
43
|
+
flags << "--files-from=#{opts[:manifest]}" if opts[:manifest]
|
|
41
44
|
|
|
42
45
|
# -l --links (recreate symlinks on the destination)
|
|
43
46
|
flags << '-l' unless opts[:links] == false
|
data/lib/syncwrap/shell.rb
CHANGED
data/lib/syncwrap.rb
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
# directly connected to.
|
|
44
44
|
#
|
|
45
45
|
# METHOD can be "trust", "reject", "md5", "password", "gss", "sspi",
|
|
46
|
-
# "
|
|
46
|
+
# "ident", "peer", "pam", "ldap", "radius" or "cert". Note that
|
|
47
47
|
# "password" sends passwords in clear text; "md5" is preferred since
|
|
48
48
|
# it sends encrypted passwords.
|
|
49
49
|
#
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
# Memory units: kB = kilobytes Time units: ms = milliseconds
|
|
28
28
|
# MB = megabytes s = seconds
|
|
29
29
|
# GB = gigabytes min = minutes
|
|
30
|
-
#
|
|
30
|
+
# TB = terabytes h = hours
|
|
31
31
|
# d = days
|
|
32
32
|
|
|
33
33
|
#------------------------------------------------------------------------------
|
|
@@ -87,7 +87,7 @@ max_connections = 100 # (change requires restart)
|
|
|
87
87
|
#superuser_reserved_connections = 3 # (change requires restart)
|
|
88
88
|
#unix_socket_directory = '/var/run/postgresql' # < 9.3
|
|
89
89
|
#unix_socket_directories = '/var/run/postgresql, /tmp'
|
|
90
|
-
# comma-separated list of directories (9.3)
|
|
90
|
+
# comma-separated list of directories (9.3+)
|
|
91
91
|
# (change requires restart)
|
|
92
92
|
#unix_socket_group = '' # (change requires restart)
|
|
93
93
|
#unix_socket_permissions = 0777 # begin with 0 to use octal notation
|
|
@@ -101,8 +101,10 @@ max_connections = 100 # (change requires restart)
|
|
|
101
101
|
|
|
102
102
|
#authentication_timeout = 1min # 1s-600s
|
|
103
103
|
#ssl = off # (change requires restart)
|
|
104
|
-
#ssl_ciphers = '
|
|
104
|
+
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
|
105
105
|
# (change requires restart)
|
|
106
|
+
#ssl_prefer_server_ciphers = on # (change requires restart) (9.4+)
|
|
107
|
+
#ssl_ecdh_curve = 'prime256v1' # (change requires restart) (9.4+)
|
|
106
108
|
#ssl_renegotiation_limit = 512MB # amount of data between renegotiations
|
|
107
109
|
#ssl_cert_file = 'server.crt' # (change requires restart)
|
|
108
110
|
#ssl_key_file = 'server.key' # (change requires restart)
|
|
@@ -111,9 +113,8 @@ max_connections = 100 # (change requires restart)
|
|
|
111
113
|
#password_encryption = on
|
|
112
114
|
#db_user_namespace = off
|
|
113
115
|
|
|
114
|
-
#
|
|
116
|
+
# GSSAPI using Kerberos
|
|
115
117
|
#krb_server_keyfile = ''
|
|
116
|
-
#krb_srvname = 'postgres' # (Kerberos only)
|
|
117
118
|
#krb_caseins_users = off
|
|
118
119
|
|
|
119
120
|
# - TCP Keepalives -
|
|
@@ -134,6 +135,7 @@ max_connections = 100 # (change requires restart)
|
|
|
134
135
|
|
|
135
136
|
shared_buffers = <%= shared_buffers %> # min 128kB
|
|
136
137
|
# (change requires restart)
|
|
138
|
+
#huge_pages = try # on, off, or try (9.4+)
|
|
137
139
|
#temp_buffers = 8MB # min 800kB
|
|
138
140
|
#max_prepared_transactions = 0 # zero disables the feature
|
|
139
141
|
# (change requires restart)
|
|
@@ -144,6 +146,13 @@ shared_buffers = <%= shared_buffers %> # min 128kB
|
|
|
144
146
|
work_mem = <%= work_mem %> # min 64kB
|
|
145
147
|
maintenance_work_mem = <%= maintenance_work_mem %> # min 1MB
|
|
146
148
|
max_stack_depth = <%= max_stack_depth %> # min 100kB
|
|
149
|
+
#dynamic_shared_memory_type = posix # the default is the first option (9.4+)
|
|
150
|
+
# supported by the operating system:
|
|
151
|
+
# posix
|
|
152
|
+
# sysv
|
|
153
|
+
# windows
|
|
154
|
+
# mmap
|
|
155
|
+
# use none to disable dynamic shared memory
|
|
147
156
|
|
|
148
157
|
# - Disk -
|
|
149
158
|
|
|
@@ -173,7 +182,8 @@ max_stack_depth = <%= max_stack_depth %> # min 100kB
|
|
|
173
182
|
# - Asynchronous Behavior -
|
|
174
183
|
|
|
175
184
|
effective_io_concurrency = <%= effective_io_concurrency %>
|
|
176
|
-
# 1-1000
|
|
185
|
+
# 1-1000; 0 disables prefetching
|
|
186
|
+
#max_worker_processes = 8 # (9.4+)
|
|
177
187
|
|
|
178
188
|
#------------------------------------------------------------------------------
|
|
179
189
|
# WRITE AHEAD LOG
|
|
@@ -181,7 +191,7 @@ effective_io_concurrency = <%= effective_io_concurrency %>
|
|
|
181
191
|
|
|
182
192
|
# - Settings -
|
|
183
193
|
|
|
184
|
-
#wal_level = minimal # minimal, archive, or
|
|
194
|
+
#wal_level = minimal # minimal, archive, hot_standby, or logical
|
|
185
195
|
# (change requires restart)
|
|
186
196
|
#fsync = on # turns forced synchronization on or off
|
|
187
197
|
synchronous_commit = <%= synchronous_commit %> # synchronization level;
|
|
@@ -194,6 +204,8 @@ synchronous_commit = <%= synchronous_commit %> # synchronization level;
|
|
|
194
204
|
# fsync_writethrough
|
|
195
205
|
# open_sync
|
|
196
206
|
#full_page_writes = on # recover from partial page writes
|
|
207
|
+
#wal_log_hints = off # also do full page writes of non-critical updates
|
|
208
|
+
# (change requires restart) (9.4+)
|
|
197
209
|
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
|
198
210
|
# (change requires restart)
|
|
199
211
|
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
|
@@ -203,7 +215,7 @@ commit_delay = <%= commit_delay %> # range 0-100000, in microseconds
|
|
|
203
215
|
|
|
204
216
|
# - Checkpoints -
|
|
205
217
|
|
|
206
|
-
checkpoint_segments = <%= checkpoint_segments %> # in logfile segments
|
|
218
|
+
checkpoint_segments = <%= checkpoint_segments %> # in logfile segments, min 1, 16MB each
|
|
207
219
|
#checkpoint_timeout = 5min # range 30s-1h
|
|
208
220
|
#checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0
|
|
209
221
|
#checkpoint_warning = 30s # 0 disables
|
|
@@ -231,7 +243,9 @@ checkpoint_segments = <%= checkpoint_segments %> # in logfile segments (16MB eac
|
|
|
231
243
|
# (change requires restart)
|
|
232
244
|
#wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
|
|
233
245
|
#replication_timeout = 60s # < 9.3
|
|
234
|
-
#wal_sender_timeout = 60s # in milliseconds; 0 disables (9.3)
|
|
246
|
+
#wal_sender_timeout = 60s # in milliseconds; 0 disables (9.3+)
|
|
247
|
+
#max_replication_slots = 0 # max number of replication slots
|
|
248
|
+
# (change requires restart) (9.4+)
|
|
235
249
|
|
|
236
250
|
# - Master Server -
|
|
237
251
|
|
|
@@ -287,7 +301,7 @@ checkpoint_segments = <%= checkpoint_segments %> # in logfile segments (16MB eac
|
|
|
287
301
|
#cpu_tuple_cost = 0.01 # same scale as above
|
|
288
302
|
#cpu_index_tuple_cost = 0.005 # same scale as above
|
|
289
303
|
#cpu_operator_cost = 0.0025 # same scale as above
|
|
290
|
-
#effective_cache_size = 128MB
|
|
304
|
+
#effective_cache_size = 4GB # 128MB default < 9.4
|
|
291
305
|
|
|
292
306
|
# - Genetic Query Optimizer -
|
|
293
307
|
|
|
@@ -480,7 +494,7 @@ log_timezone = 'UTC'
|
|
|
480
494
|
#autovacuum_analyze_scale_factor = 0.1 # fraction of table size before analyze
|
|
481
495
|
#autovacuum_freeze_max_age = 200000000 # maximum XID age before forced vacuum
|
|
482
496
|
# (change requires restart)
|
|
483
|
-
#autovacuum_multixact_freeze_max_age = 400000000 # maximum
|
|
497
|
+
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
|
484
498
|
# before forced vacuum
|
|
485
499
|
# (change requires restart)
|
|
486
500
|
#autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
|
|
@@ -523,7 +537,7 @@ timezone = 'UTC'
|
|
|
523
537
|
#timezone_abbreviations = 'Default' # Select the set of available time zone
|
|
524
538
|
# abbreviations. Currently, there are
|
|
525
539
|
# Default
|
|
526
|
-
# Australia
|
|
540
|
+
# Australia (historical usage)
|
|
527
541
|
# India
|
|
528
542
|
# You can create your own file in
|
|
529
543
|
# share/timezonesets/.
|
|
@@ -545,6 +559,7 @@ default_text_search_config = 'pg_catalog.english'
|
|
|
545
559
|
|
|
546
560
|
#dynamic_library_path = '$libdir'
|
|
547
561
|
#local_preload_libraries = ''
|
|
562
|
+
#session_preload_libraries = '' # (9.4+)
|
|
548
563
|
|
|
549
564
|
#------------------------------------------------------------------------------
|
|
550
565
|
# LOCK MANAGEMENT
|
data/test/setup.rb
CHANGED
data/test/test_components.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#.hashdot.profile += jruby-shortlived
|
|
3
3
|
|
|
4
4
|
#--
|
|
5
|
-
# Copyright (c) 2011-
|
|
5
|
+
# Copyright (c) 2011-2015 David Kellum
|
|
6
6
|
#
|
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
|
8
8
|
# may not use this file except in compliance with the License. You
|
data/test/test_context.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#.hashdot.profile += jruby-shortlived
|
|
3
3
|
|
|
4
4
|
#--
|
|
5
|
-
# Copyright (c) 2011-
|
|
5
|
+
# Copyright (c) 2011-2015 David Kellum
|
|
6
6
|
#
|
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
|
8
8
|
# may not use this file except in compliance with the License. You
|
data/test/test_context_rput.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#.hashdot.profile += jruby-shortlived
|
|
3
3
|
|
|
4
4
|
#--
|
|
5
|
-
# Copyright (c) 2011-
|
|
5
|
+
# Copyright (c) 2011-2015 David Kellum
|
|
6
6
|
#
|
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
|
8
8
|
# may not use this file except in compliance with the License. You
|
data/test/test_rsync.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#.hashdot.profile += jruby-shortlived
|
|
3
3
|
|
|
4
4
|
#--
|
|
5
|
-
# Copyright (c) 2011-
|
|
5
|
+
# Copyright (c) 2011-2015 David Kellum
|
|
6
6
|
#
|
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
|
8
8
|
# may not use this file except in compliance with the License. You
|
data/test/test_shell.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#.hashdot.profile += jruby-shortlived
|
|
3
3
|
|
|
4
4
|
#--
|
|
5
|
-
# Copyright (c) 2011-
|
|
5
|
+
# Copyright (c) 2011-2015 David Kellum
|
|
6
6
|
#
|
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
|
8
8
|
# may not use this file except in compliance with the License. You
|
data/test/test_space.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#.hashdot.profile += jruby-shortlived
|
|
3
3
|
|
|
4
4
|
#--
|
|
5
|
-
# Copyright (c) 2011-
|
|
5
|
+
# Copyright (c) 2011-2015 David Kellum
|
|
6
6
|
#
|
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
|
8
8
|
# may not use this file except in compliance with the License. You
|
data/test/test_space_main.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#.hashdot.profile += jruby-shortlived
|
|
3
3
|
|
|
4
4
|
#--
|
|
5
|
-
# Copyright (c) 2011-
|
|
5
|
+
# Copyright (c) 2011-2015 David Kellum
|
|
6
6
|
#
|
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
|
8
8
|
# may not use this file except in compliance with the License. You
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#.hashdot.profile += jruby-shortlived
|
|
3
3
|
|
|
4
4
|
#--
|
|
5
|
-
# Copyright (c) 2011-
|
|
5
|
+
# Copyright (c) 2011-2015 David Kellum
|
|
6
6
|
#
|
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
|
8
8
|
# may not use this file except in compliance with the License. You
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: syncwrap
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Kellum
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-03-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: term-ansicolor
|