Thread: PGAdmin crashes on Windows if the file pgpass.conf locally does not exist
PGAdmin crashes on Windows if the file pgpass.conf locally does not exist
From
"Artur Linhart - PostgresQL Comunication"
Date:
<div class="Section1"><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">I installed pgAdmin1.6.3 on Windows XP Czech version</span><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial"> </span><pclass="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">AfterI could log in to the database, the program displayed the message it cannotwrite the file</span><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">"c:\Documentsand Settings\linhart1\Data aplikací\postgresql\pgpass.conf" </span><pclass="MsoNormal"><span style="font-size:10.0pt;font-family:Arial">(The „application data“ directory is localizedto „data aplikací“ on czech windows)</span><p class="MsoNormal"><span style="font-size:10.0pt;font-family:Arial"> </span><pclass="MsoNormal"><span style="font-size:10.0pt;font-family:Arial">Andafter I confirmed this message, the program crashed.</span><p class="MsoNormal"><spanstyle="font-size:10.0pt;font-family:Arial"> </span><p class="MsoNormal"><span style="font-size:10.0pt;font-family:Arial">Thegiven file and not even the directory</span><p class="MsoNormal"><span lang="EN-US"style="font-size:10.0pt;font-family:Arial">c:\Documents and Settings\linhart1\Data aplikací\postgresql</span><pclass="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">existed.</span><pclass="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial"> </span><pclass="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">AfterI created the directory only, it did not helped, but after I created thefile itself</span><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">c:\Documents andSettings\linhart1\Data aplikací\postgresql\pgpass.conf</span><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">withone comment line the bug did not appeared.</span><p class="MsoNormal"><spanlang="EN-US" style="font-size:10.0pt;font-family:Arial"> </span><p class="MsoNormal"><span lang="EN-US"style="font-size:10.0pt;font-family:Arial">This is not a terrible bug, but it could be problem for some lessskilled windows users...</span><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial"> </span><pclass="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial"> With best regards</span><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial"> </span><pclass="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial"> Archie</span><span style="font-size:10.0pt;font-family:Arial"></span></div>
Artur Linhart - PostgresQL Comunication wrote: > I installed pgAdmin 1.6.3 on Windows XP Czech version > > After I could log in to the database, the program displayed the > message it cannot write the file > > "c:\Documents and Settings\linhart1\Data > aplikací\postgresql\pgpass.conf" > > (The „application data“ directory is localized to „data aplikací“ on > czech windows) > > And after I confirmed this message, the program crashed. > > The given file and not even the directory > > c:\Documents and Settings\linhart1\Data aplikací\postgresql > > existed. > > After I created the directory only, it did not helped, but after I > created the file itself > > c:\Documents and Settings\linhart1\Data > aplikací\postgresql\pgpass.conf > > with one comment line the bug did not appeared. I'm sure this was fixed once, but perhaps it was only in the development code. Please test 1.8.0 RC1. Regards. Dave