mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Remove useless whitespace at end of lines
This commit is contained in:
@ -13,7 +13,7 @@ old data. If you have a lot of data, that can take a considerable amount
|
||||
of time. If you have too much data, you may have to buy more storage
|
||||
since you need enough room to hold the original data plus the exported
|
||||
data. pg_upgrade can reduce the amount of time and disk space required
|
||||
for many upgrades.
|
||||
for many upgrades.
|
||||
|
||||
The URL http://momjian.us/main/writings/pgsql/pg_upgrade.pdf contains a
|
||||
presentation about pg_upgrade internals that mirrors the text
|
||||
|
@ -35,10 +35,10 @@ Here are the steps needed to create a regression database dump file:
|
||||
b) For pre-9.0, remove 'regex_flavor'
|
||||
|
||||
f) For pre-9.0, adjust extra_float_digits
|
||||
Postgres 9.0 pg_dump uses extra_float_digits=-2 for pre-9.0
|
||||
databases, and extra_float_digits=-3 for >= 9.0 databases.
|
||||
It is necessary to modify 9.0 pg_dump to always use -3, and
|
||||
modify the pre-9.0 old server to accept extra_float_digits=-3.
|
||||
Postgres 9.0 pg_dump uses extra_float_digits=-2 for pre-9.0
|
||||
databases, and extra_float_digits=-3 for >= 9.0 databases.
|
||||
It is necessary to modify 9.0 pg_dump to always use -3, and
|
||||
modify the pre-9.0 old server to accept extra_float_digits=-3.
|
||||
|
||||
Once the dump is created, it can be repeatedly loaded into the old
|
||||
database, upgraded, and dumped out of the new database, and then
|
||||
@ -52,7 +52,7 @@ steps:
|
||||
|
||||
3) Create the regression database in the old server.
|
||||
|
||||
4) Load the dump file created above into the regression database;
|
||||
4) Load the dump file created above into the regression database;
|
||||
check for errors while loading.
|
||||
|
||||
5) Upgrade the old database to the new major version, as outlined in
|
||||
|
@ -171,7 +171,7 @@ transfer_single_new_db(pageCnvCtx *pageConverter,
|
||||
namelist[fileno]->d_name);
|
||||
snprintf(new_file, sizeof(new_file), "%s/%u%s", maps[mapnum].new_dir,
|
||||
maps[mapnum].new_relfilenode, strchr(namelist[fileno]->d_name, '_'));
|
||||
|
||||
|
||||
unlink(new_file);
|
||||
transfer_relfile(pageConverter, old_file, new_file,
|
||||
maps[mapnum].old_nspname, maps[mapnum].old_relname,
|
||||
|
Reference in New Issue
Block a user