Précédent   Forum du club des développeurs et IT Pro > Bases de données > PostgreSQL > Installation
Installation Forum d'entraide sur les problèmes liés à l'installation de PostgreSQL.
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse
 
Outils de la discussion
Publicité
'
Vieux 22/04/2011, 21h21   #1
Chauve souris
Membre confirmé
 
Avatar de Chauve souris
 
Inscription : novembre 2005
Messages : 232
Détails du profil
Informations forums :
Inscription : novembre 2005
Messages : 232
Points : 258
Points : 258
Par défaut Problème avec pg_upgrade

J'ai installé, sur un serveur Windows 2008 R2, la version 9.0.4 (64 bits) en parallèle avec la version 8.4.4. Le port 5433 sera donc utilisé pour la nouvelle version. Bien que j'ai fait une sauvegarde pg_dumpall avant je voudrais utiliser l'utilitaire pg_upgrade, je lance donc la ligne de commande de test
Citation:
C:\Program Files\PostgreSQL\9.0\bin>pg_upgrade.exe --old-datadir "E:\PostgreSQL - Data" --new-datadir "E:\PostgreSQL - Data\9.0" --old-bindir "C:\Program Files (x86)\PostgreSQL\8.4\bin" --new-bindir "C:\Program Files\PostgreSQL\9.0\bin" --check --new-port=5433
Toutefois j'ai la réponse suivante
Citation:
Performing Consistency Checks
-----------------------------
Checking old data directory (E:\PostgreSQL - Data) ok
Checking old bin directory (C:\Program Files (x86)\PostgreSQL\8.4\bin)ok
Checking new data directory (E:\PostgreSQL - Data\9.0) ok
Checking new bin directory (C:\Program Files\PostgreSQL\9.0\bin)ok
Trying to start old server .................ok

Unable to start old postmaster with the command: ""C:\Program Files (x86)\PostgreSQL\8.4\bin/pg_ctl" -l "nul" -D "E:\PostgreSQL - Data" -o "-p 5432 -c autovacuum=off -c autovacuum_freeze_max_age=2000000000" start >> "nul" 2>&1"
Perhaps pg_hba.conf was not set to "trust".
Je prends donc mon fichier ancien pg_hba.conf et je remplace les options md5 par trust. Mais j'ai exactement la même réponse. Que se passe-t-il ?
Si un érudit des migrations de versions de PostgreSQL pouvait m'éclairer je lui en serais très reconnaissant.
Chauve souris est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse
Outils de la discussion

Navigation rapide


Fuseau horaire GMT +2. Il est actuellement 04h38.


 
 
 
 
Partenaires

Hébergement Web