Обсуждение: PGAdmin III v1.6.1 bug

Поиск
Список
Период
Сортировка

PGAdmin III v1.6.1 bug

От
"Patrick Headley"
Дата:
<div class="Section1"><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial">PGAdmin III v1.6.1 binary install</span></font><p class="MsoNormal"><font face="Arial"
size="2"><spanstyle="font-size:10.0pt; 
font-family:Arial">Windows XP SP2 with all known patches</span></font><p class="MsoNormal"><font face="Arial"
size="2"><spanstyle="font-size:10.0pt; 
font-family:Arial"> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial">This was an issue in v1.4.2, as well.</span></font><p class="MsoNormal"><font face="Arial"
size="2"><spanstyle="font-size:10.0pt; 
font-family:Arial"> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial">I can backup a PostgreSQL v8.0.4 database with large objects with no problems. However, if I use
PGAdminIIIv1.6.1 to restore the database I receive an error message when pg_restore tries to restore the large objects
andthen the return code is set to 1. I have created a pgpass.conf file in the Application Data folder of the profile
thatI’m logged into when using PGAdminIII but that has no effect. If it’s supposed to then maybe I did something wrong.
Theway I successfully restore the database is to go into a command window on a different machine (Windows Server 2003
inthis case) and run pg_restore from there. At the point where PGAdminIII fails, the command prompt version of
pg_restoreprompts for the password again.</span></font><p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:10.0pt;
font-family:Arial"> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial">I posted this issue before but I didn’t provide as much information because the problem is so easy
toreproduce and because I was very busy at the time. If you need more information on how to reproduce the problem,
pleaselet me know.</span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt; 
font-family:Arial"> </span></font><p class="MsoNormal"><b><i><font face="Times New Roman" size="2"><span
style="font-size:10.0pt;font-weight:bold;font-style:italic">PatrickHeadley<br /></span></font></i></b><font
size="2"><spanstyle="font-size:10.0pt">Linx Consulting, Inc.<br /> (303) 916-5522<br /><a
href="mailto:LinxConsulting@comcast.net">LinxConsulting@comcast.net</a><br/><a
href="http://www.linxco-inc.com">www.linxco-inc.com</a></span></font><pclass="MsoNormal"><font face="Times New Roman"
size="3"><spanstyle="font-size: 
12.0pt"> </span></font></div>

Re: PGAdmin III v1.6.1 bug

От
Dave Page
Дата:
Patrick Headley wrote:
> PGAdmin III v1.6.1 binary install
> 
> Windows XP SP2 with all known patches
> 
>  
> 
> This was an issue in v1.4.2, as well.
> 
>  
> 
> I can backup a PostgreSQL v8.0.4 database with large objects with no 
> problems. However, if I use PGAdminIII v1.6.1 to restore the database I 
> receive an error message when pg_restore tries to restore the large 
> objects and then the return code is set to 1. I have created a 
> pgpass.conf file in the Application Data folder of the profile that I’m 
> logged into when using PGAdminIII but that has no effect. If it’s 
> supposed to then maybe I did something wrong. The way I successfully 
> restore the database is to go into a command window on a different 
> machine (Windows Server 2003 in this case) and run pg_restore from 
> there. At the point where PGAdminIII fails, the command prompt version 
> of pg_restore prompts for the password again.

I cannot reproduce this here. What does your pg_hba.conf entry look like 
for the connection from your workstation? Can you provide a simple test 
case?

Regards, Dave.