Tuesday, September 28. 2010What is new in PostgreSQL 9.0 RPMs?Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Do you have something to cover those commands if they are not backwards compatible?
For example, pg_dump/pg_restore isn't that backwards compatible is it? If I run both say 8.1 and 9.0, I can use the 9.0 pg_dump to dump 8.1 only if I want to restore it on 9.0 - if I want to restore it on 8.1, that will break. And I don't think we guarantee something similar won't happen with 9.0->9.x.
Right, by "backward-compatible", I meant that you can use those utilities with back branches. I am referring to the alternatives method there -- you can dump 9.0 using 9.1, and restore it to 9.1. Still, you are right, the wording is a bit ambigiuos.
Whenever I name version-specific things, I always use a separator, usually an underscore, between each number composing the version, so that it is unambiguous when numbers gain a digit. So I would use postgres_9_0 rather than postgres90, for example.
We also renamed 3rd party packages, so using 9_0 would be hard for people, since they would have to type extra 's
Still, I wanted to follow what Red Hat(Tom) did at RHEL 5.5 PostgreSQL 8.4 packages...
I ran a yum update to upgrade from Postgresql 9.0 to 9.0.1 and the common binaries that were installed (pg_dump, psql) are no longer. Is this supposed to happen or did I screw something up?
Could be an issue on your side. Please test latest 9.0.1 (9.0.1-4) RPMs. They are much more stable.
Just to let you know:
On FC13 with postgresql-server-8.4.5 (FC13 version) installed, when trying to install postgresql90-server, I get: Transaction Check Error: file /var/lib/pgsql/.bash_profile from install of postgresql90-server-9.0.1-1PGDG.f13.x86_64 conflicts with file from package postgresql-server-8.4.5-1.fc13.x86_64 I have worked around it by copying off the conflicting file, downloading the rpms, adding --force to the rpm installation command line, and then copying the conflicting file back.
Hello -
I'm having the same problem. I renamed /var/lib/pgsql/.bash_profile, but still get the conflict error. why ? and if I renamed .bash_profile, why would I still need to add --force flag to the install ? thanks joe
I would like to install postgres 9.0 on CentOS 5.5, just like I installed postgres 8.4 pgdg RPM's, and then rebuild vendor SRPM's (like php, httpd, etc.) using the new pg 9.0 libraries.
This new RPM craziness seems to have completely broken vendor integration. Is there a way to build the postgres SRPMS so it will install at /usr just like the old days? I have tried hacking the SPEC file, and one fix leads to another break.
What is one of the error messages?
All you may need is to symlink pg_config under /usr/bin. I don't expect nothing more, but I'd like to see the error first.
I changed this:
%define pgbaseinstdir /usr so I had to change these with include/pgsql/server : mv %{buildroot}%{pgbaseinstdir}/include/pgsql/server/pg_config.h %{buildroot}%{pgbaseinstdir}/include/pgsql/server/pg_config_`uname -i`.h install -m 644 %{SOURCE5} %{buildroot}%{pgbaseinstdir}/include/pgsql/server/ Which leads to shload of File not found errors (and i notice it is not using /usr/lib64/ for standard x86_64 support). Here is a small sampling of errors: RPM build errors: File not found: /var/tmp/postgresql90-9.0.2-1PGDG-root-build/usr/lib/libpqwalreceiver.so File not found: /var/tmp/postgresql90-9.0.2-1PGDG-root-build/usr/share/postgres.bki File not found by glob: /var/tmp/postgresql90-9.0.2-1PGDG-root-build/usr/share/*.sample File not found by glob: /var/tmp/postgresql90-9.0.2-1PGDG-root-build/usr/share/timezonesets/* File not found by glob: /var/tmp/postgresql90-9.0.2-1PGDG-root-build/usr/share/tsearch_data/*.affix File not found: /var/tmp/postgresql90-9.0.2-1PGDG-root-build/usr/lib/dict_int.so File not found: /var/tmp/postgresql90-9.0.2-1PGDG-root-build/usr/lib/dict_snowball.so File not found by glob: /var/tmp/postgresql90-9.0.2-1PGDG-root-build/usr/lib/*and*.so File not found: /var/tmp/postgresql90-9.0.2-1PGDG-root-build/usr/share/conversion_create.sql File not found: /var/tmp/postgresql90-9.0.2-1PGDG-root-build/usr/share/information_schema.sql
Ok, so please install those files under /usr in spec file manually.
yum install postgresql90-server postgresql90-contrib
gives me this error (i am rpm/yum challenged, do you have explicit instructions on how to get around this issue -- centos installation -- I have postgres 8.4.6 installed and running): # yum install postgresql90-server postgresql90-contrib Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile addons: ec2-us-east-mirror1.rightscale.com base: ec2-us-east-mirror1.rightscale.com centosplus: ec2-us-east-mirror1.rightscale.com epel: ec2-us-east-mirror1.rightscale.com extras: ec2-us-east-mirror1.rightscale.com rightscale-epel: ec2-us-east-mirror1.rightscale.com * updates: ec2-us-east-mirror1.rightscale.com rightscale-epel | 951 B 00:00 Excluding Packages from none Finished Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package postgresql90-contrib.x86_64 0:9.0.2-2PGDG.rhel5 set to be updated --> Processing Dependency: postgresql90 = 9.0.2 for package: postgresql90-contrib ---> Package postgresql90-server.x86_64 0:9.0.2-2PGDG.rhel5 set to be updated --> Running transaction check ---> Package postgresql90.x86_64 0:9.0.2-2PGDG.rhel5 set to be updated --> Processing Dependency: postgresql90-libs = 9.0.2-2PGDG.rhel5 for package: postgresql90 --> Running transaction check ---> Package postgresql90-libs.x86_64 0:9.0.2-2PGDG.rhel5 set to be updated --> Processing Conflict: postgresql-server conflicts postgresql < 7.4 --> Finished Dependency Resolution postgresql-server-8.4.6-1PGDG.rhel5.x86_64 from installed has depsolving problems --> postgresql-server conflicts with postgresql90 Error: postgresql-server conflicts with postgresql90 You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest
Unfortunately, this feature is available in 9.0+ installations. The only exception is RHEL 6 -- it has this feature in 8.4+ RPMs.
I have the same "depsolving" error in Centos.
Anything can be checked? Excluding Packages from CentOS-5 - Base Finished Excluding Packages from CentOS-5 - Updates Finished Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package postgresql90.i386 0:9.0.4-1PGDG.rhel5 set to be updated --> Processing Dependency: postgresql90-libs = 9.0.4-1PGDG.rhel5 for package: postgresql90 --> Running transaction check ---> Package postgresql90-libs.i386 0:9.0.4-1PGDG.rhel5 set to be updated --> Processing Conflict: postgresql-server conflicts postgresql < 7.4 --> Finished Dependency Resolution postgresql-server-8.4.4-2PGDG.el5.i386 from installed has depsolving problems --> postgresql-server conflicts with postgresql90 Error: postgresql-server conflicts with postgresql90
I am sorry, but your comment doesn't make sense.
So I cannot install postgresql 9.0 in EL5 while 8.4 is installed? I could do that on a EL4 with an even older postgresql 8.3 installed. And I also do not understand the error ...
Let me rephrase:
This feature is available only for PostgreSQL 9.0+ for ALL distros. The only exception is RHEL 6, and you can install 8.4+ to RHEL6 in parallel. *Using RPMs*, you cannot install this on EL-4 and PostgreSQL 8.3 -- but you can do it using source installation. Is that ok now.? Regards, Devrim
This is still strange:
I have a Redhat EL4 box with hand installed postgresql 8.3 RPMS: postgresql-server-8.3.5-1PGDG.rhel4 and I could install the 9.0 postgresql from the yum repository: postgresql90-server-9.0.2-1PGDG.rhel4 On a RedHat EL5 box I have postgresql 8.4 RPMS installed by hand: postgresql-server-8.4.1-1PGDG.rhel5 but when I try to install the postgresql 9.0 via yum (with the same yum install file provided on the postgresql yum rpm list page) I get the same error as the parent poster. I does not allow me to install postgresql 9.0 because it has some "conflict" with a postgresql < 7.4 ...
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.
That is strange. I need to look at it.
first time seeing postgres and I have to install it
is pgdg-centos91-9.1-4.noarch.rpm the only rpm I need to install to get this going or do I need other rpms? Some blogs have different rpms listed for older versions. I can't seem to find doc for someone just starting out. Secondly, I need to also install PHP and apache and make it work with postfresql. Will appreciate any info Thanks
pgdg-centos91-9.1-4.noarch.rpm is what you need. Other blogs probably refer to the old versions.
|
Calendar
QuicksearchArchivesCategoriesBlog Administration |
|||||||||||||||||||||||||||||||||||||||||||||||||