- 26 7月, 2018 2 次提交
-
-
由 Daniel Gustafsson 提交于
The previous commit backported the PostgreSQL 9.3 pg_upgrade code base and overwrote the hacks to allow for upgrading a Greenplum cluster. This commit brings back the patchsets that were lost, and adapts them to the new pg_upgrade code as well as mildly refactors them to take advantage of new opportunities.
-
由 Daniel Gustafsson 提交于
This overwrites the Greenplum pg_upgrade version with the upstream 9.3.22 sources. No attempt is made to make this compile or at all be even remotely useable. Follow-up commits will re-introduce all functionality which was lost.
-
- 03 1月, 2018 1 次提交
-
-
由 Daniel Gustafsson 提交于
When upgrading the cluster, allow the addition or removal of data checksums on the data pages as they are copied across from the old cluster. This allows for adding checksums without requiring a full dump/restore cycle. The test_gpdb.sh script is extended to support adding/removal of checksums. In the process, also extend to remove gpdemo config files generated when setting up the new cluster, and put them in gitignore as well to keep git status happy during testing. This also fixes a previously incorrect check for checksum version and aligns variable names better with upstream.
-
- 29 6月, 2017 1 次提交
-
-
由 Heikki Linnakangas 提交于
Instead of meticulously recording the OIDs of each object in the pg_dump output, dump and load all OIDs as a separate steps in pg_upgrade. We now only preserve OIDs of types, relations and schemas from the old cluster. Other objects are assigned new OIDs as part of the restore. To ensure the OIDs are consistent between the QD and QEs, we dump the (new) OIDs of all objects to a file, after upgrading the QD node, and use those OIDs when restoring the QE nodes. We were already using a similar mechanism for new array types, but we now do that for all objects.
-
- 20 6月, 2017 1 次提交
-
-
由 Heikki Linnakangas 提交于
-
- 26 3月, 2017 1 次提交
-
-
由 Daniel Gustafsson 提交于
In order for higher-level wrappers around pg_upgrade to know what pg_upgrade does, this adds a trivial file based queue which reports information on the operations performed. When started with -X, or --progress, pg_upgrade will write progress as a set of operations to a logfile. At intervals of either X number of operations, or Y number of seconds, the file will be released and a new created such that the released file can be consumed by a wrapper program. The files will be named <sequence>.inprogress until released when they are renamed to <sequence>.done. The sequence is gapless. Once the file is renamed to <sequence>.done, pg_upgrade will never touch it again and it can at that point be removed. The format of the progress file is a simple semicolon delimited line-based protocol: <timestamp>;<cluster>;<operation>;<message>; timestamp is the number of microseconds since epoch; cluster defines either "new", "old" or "none"; operation defines what actually did happen and message contains the user defined message per report. The timestamp is monotonically increasing for each operation such that reading files in order is less important, operations can still be individually sorted. This commit includes a small set of progress report operations, while not likely to be the final set it's enough to show how more can be added. Discussion: https://groups.google.com/a/greenplum.org/forum/#!topic/gpdb-dev/CVgK36oU5Oo
-
- 20 12月, 2016 1 次提交
-
-
由 Heikki Linnakangas 提交于
This commit just brings in the upstream code for pg_upgrade and pg_upgrade_support as is, with no changes. Subsequent work will change it to work for Greenplum. The goal is to make it usable for upgrading from Greenplum 4.3 to 5.0. pg_upgrade_support is a crucial part of pg_upgrade, but lives in a separate directory to make the build easier.
-
- 10 6月, 2011 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 16 5月, 2011 1 次提交
-
-
由 Bruce Momjian 提交于
checks for PGHOST and PGHOSTADDR.
-
- 11 5月, 2011 2 次提交
-
-
由 Peter Eisentraut 提交于
-
由 Peter Eisentraut 提交于
-
- 07 5月, 2011 1 次提交
-
-
由 Bruce Momjian 提交于
Also adjust some error message capitalization for consistency.
-
- 06 5月, 2011 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 07 4月, 2011 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 02 1月, 2011 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 30 12月, 2010 1 次提交
-
-
由 Tom Lane 提交于
Don't insist on pg_dumpall and psql being present in the old cluster, since they are not needed. Do insist on pg_resetxlog being present (in both old and new), since we need it. Also check for pg_config, but only in the new cluster. Remove the useless attempt to call pg_config in the old cluster; we don't need to know the old value of --pkglibdir. (In the case of a stripped-down migration installation there might be nothing there to look at anyway, so any future change that might reintroduce that need would have to be considered carefully.) Per my attempts to build a minimal previous-version installation to support pg_upgrade.
-
- 15 12月, 2010 1 次提交
-
-
由 Bruce Momjian 提交于
documentation. (Many were left over from the old pg_migrator naming.)
-
- 20 10月, 2010 3 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
than packing everything into 'ctx' and passing that to every function.
-
- 21 9月, 2010 1 次提交
-
-
由 Magnus Hagander 提交于
-
- 14 7月, 2010 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 07 7月, 2010 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 04 7月, 2010 2 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
- 03 7月, 2010 1 次提交
-
-
由 Bruce Momjian 提交于
from Tom.
-
- 23 6月, 2010 1 次提交
-
-
由 Bruce Momjian 提交于
output to the same file, because it is impossible. Also set user name for pg_dumpall in pg_upgrade.
-
- 16 6月, 2010 1 次提交
-
-
由 Bruce Momjian 提交于
Steve Singer
-
- 13 6月, 2010 1 次提交
-
-
由 Bruce Momjian 提交于
than in a subdirectory of the $HOME directory, or $TMP in Windows.
-
- 25 5月, 2010 3 次提交
-
-
由 Bruce Momjian 提交于
in their display of command-line options with other client applications.
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
proper default username.
-
- 14 5月, 2010 1 次提交
-
-
由 Bruce Momjian 提交于
Modify path separators for Win32. Per ideas from Takahiro Itagaki
-
- 12 5月, 2010 1 次提交
-
-
由 Bruce Momjian 提交于
Add documentation. Supports migration from PG 8.3 and 8.4.
-