Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
85bc3615
Commit
85bc3615
authored
Jan 18, 2002
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable /contrib/pg_upgrade, mention little testing.
parent
1d174c30
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
contrib/pg_upgrade/README
contrib/pg_upgrade/README
+4
-2
contrib/pg_upgrade/pg_upgrade
contrib/pg_upgrade/pg_upgrade
+6
-6
No files found.
contrib/pg_upgrade/README
View file @
85bc3615
pg_upgrade
This is a version of pg_upgrade which will migrate a 7.1 database to 7.2,
or allow a 7.2 to 7.2 migration if you need to perform an initdb.
This is a version of pg_upgrade which will migrate a 7.1 database to
7.2, or allow a 7.2 to 7.2 migration if you need to perform an initdb.
It has been only lightly tested. Please report any problems to the
PostgreSQL lists.
Read the manual page for more information. To view it:
...
...
contrib/pg_upgrade/pg_upgrade
View file @
85bc3615
...
...
@@ -3,7 +3,7 @@
# pg_upgrade: update a database without needing a full dump/reload cycle.
# CAUTION: Read the manual page before trying to use this!
# $Header: /cvsroot/pgsql/contrib/pg_upgrade/Attic/pg_upgrade,v 1.
9 2002/01/15 05:41:55
momjian Exp $
# $Header: /cvsroot/pgsql/contrib/pg_upgrade/Attic/pg_upgrade,v 1.
10 2002/01/18 04:38:46
momjian Exp $
#
# To migrate this to newer versions of PostgreSQL:
# 1) Update the version numbers at the top of the file
...
...
@@ -13,8 +13,12 @@
#set -x
# UPGRADE_VERSION is the expected old database version
UPGRADE_VERSION
=
"7.1"
CUR_VERSION
=
"7.2"
# Set this to "Y" to enable this program
ENABLE
=
"
N
"
ENABLE
=
"
Y
"
if
[
"
$ENABLE
"
!=
"Y"
]
then
...
...
@@ -25,10 +29,6 @@ then
fi
# UPGRADE_VERSION is the expected old database version
UPGRADE_VERSION
=
"7.1"
CUR_VERSION
=
"7.2"
trap
"rm -f /tmp/
$$
.*"
0 1 2 3 15
BASENAME
=
`
basename
"
$0
"
`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment