Friday, October 15. 2010Upgrading from 8.4 to 9.0 on Fedora / Red Hat / CentOS using RPMsTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Hi, nice explanation, but is there any way to upgrade postgres 8.3.7 "online" to 9.0 without a downtime higher than some seconds?
First I am thinking of Slony-I, but maybe you know a better way?
The only way is Slony. You can use pg_migrator to migrate from 8.3 to 8.4, and then pg_upgrade from 8.4 to 9.0, but given that pg_migrator has some caveats, I'd go with Slony or dump/restore...
There's a bug here -- pg_upgrade needs pg_config binaries to be available for both old and new versions of PostgreSQL, or it fails horribly (dereferencing a pointer with an uninitialized value during a string formatting operation).
However, the contrib package doesn't have a dependency on both -devel packages... and, arguably, nor should it -- having postgresql90-contrib depend on postgresql84-devel would be enormously hinky. Even so, something probably ought to be done here.
When are you going to push that change so that yum installs correctly with 8.4 installed?
Explanation are good and allow me to install PostgreSQL 9.0.7 on RedHat 5.3 ... but ... :o) ... impossible then to install PLJava on the new version because of conflict between libs of RedHat and pljava version needed for PostgreSQL 9.0
Did someone have the same need as I have with RedHat 5 ? |
About meI am a PostgreSQL, Red Hat, and Fedora contributor working as Principal Systems Engineer at EDB
Maintaining the PostgreSQL YUM repository, PostgreSQL ZYPP repository, and maintain several packages in Fedora and EPEL. QuicksearchPowered byBlog AdministrationRecent Entries
Powered byCommentsThu, 24.05.2012 15:06
Explanation are good and
allow me to install
PostgreSQL 9.0.7 on RedHat
5.3 ... but ... :o) ...
impossible then to [...]
Wed, 25.04.2012 07:36
You need to modify the
/var/lib/pgsql/data/pg_hba.co
nf on cPanel severrs:I
believe you need to replace
this:# loc [...]
Sat, 22.10.2011 08:51
pgdg-centos91-9.1-4.noarch.rpm
is what you need. Other
blogs probably refer to the
old versions.
Tue, 18.10.2011 20:01
first time seeing postgres
and I have to install
it
is
pgdg-centos91-9.1-4.noarch.rp
m the only rpm I need to in
[...]
Fri, 20.05.2011 18:25
You need to remove old
packages first (and take
backup)
Wed, 11.05.2011 18:55
That is strange. I need to
look at it.
Wed, 11.05.2011 11:04
Yes, on the EL4 box both
deamons run w/o any issues.
Only problem was that the
port was hard set in the
init file.
Wed, 11.05.2011 10:56
Are both deamons running w/o
any issues?
Wed, 11.05.2011 10:52
This is still strange:
I
have a Redhat EL4 box with
hand installed postgresql
8.3
RPMS:
postgresql-server-8.3.
[...]
Wed, 11.05.2011 10:48
Let me rephrase:
This
feature is available only
for PostgreSQL 9.0+ for
ALL distros. The only
exception is RH [...]
Wed, 11.05.2011 09:04
I am sorry, but your comment
doesn't make sense.
So I
cannot install postgresql
9.0 in EL5 while 8.4 is
install [...]
Tue, 03.05.2011 13:58
I have the same "depsolving"
error in Centos.
Anything
can be
checked?
Excluding
Packages from CentOS-5 - Ba
[...]
Wed, 06.04.2011 05:40
When are you going to push
that change so that yum
installs correctly with 8.4
installed?
Mon, 07.02.2011 11:18
Unfortunately, this feature
is available in 9.0+
installations. The only
exception is RHEL 6 -- it
has this featur [...]
Sun, 06.02.2011 13:06
yum install
postgresql90-server
postgresql90-contrib
gives
me this error (i am rpm/yum
challenged, do you have
[...]
QuicksearchPowered byBlog Administration |