Bug: Overwrites incorrect file - Mailing list pgadmin-support

From David Jarvis
Subject Bug: Overwrites incorrect file
Date
Msg-id AANLkTilEgdKBsq0kXxfTDPZ5jNWHZvNMo3yXOkOc2yTK@mail.gmail.com
Whole thread Raw
Responses Re: Bug: Overwrites incorrect file
List pgadmin-support
<b>Configuration</b><br />pgAdmin3<br />./configure --prefix=/usr/local<br />$ uname -a<br />Linux jaguar
2.6.32-22-generic#36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux<br /><br />$ psql --version<br />psql
(PostgreSQL)8.4.4<br /><br /><b>Reproduce the Problem</b><br /><ol><li>Create an empty directory; put some empty files
inside.<li>Makesome empty directories in the formerly empty directory.<li>In the following steps, make sure you use
thatempty directory created in step 1 or you might lose work.<br /><li>Click the "Execute arbitrary queries"
button<li>Typein some text<br /><li>Type: Alt-f<li>Type: a<li>Type: Alt-n<li>Type: joe.sql<li>Type: Alt-s<li>Repeat
steps2 - 7, but for step 6 use <b>joe2.sql</b><li>Type: Alt-f<li>Type: a<li>Click joe2.sql<li>Click
Save</ol><b>ExpectedResults</b><br />The file joe2.sql should contain some text.<br /><br /><b>Actual Results</b><br
/>Atthis point one of two things will happen:<br /><ul><li>another file in the same directory as joe2.sql will be
overwritten<li>pgadmin3will crash:</ul><div style="margin-left: 40px;">**<br
/>Gtk:ERROR:/build/buildd/gtk+2.0-2.20.1/gtk/gtkfilechooserdefault.c:8125:get_display_name_from_file_list:assertion
failed:(had_selection)<br /> Aborted<br /></div><br /><b>Addendum</b><br />Crashing is good. Overwriting other files
is...bad.<br /><br />This might not be a pgAdmin error. If it is not, please let me know where I should direct the
problem,as it is quite severe.<br /><br />Dave<br /><br /> 

pgadmin-support by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: PostgreSQL exception 0xC0000005
Next
From: David Jarvis
Date:
Subject: Re: Bug: Overwrites incorrect file