Skip site navigation (1) Skip section navigation (2)

Bug: Overwrites incorrect file

From: David Jarvis <thangalin(at)gmail(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: Bug: Overwrites incorrect file
Date: 2010-06-25 08:25:35
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgadmin-support
./configure --prefix=/usr/local
$ uname -a
Linux jaguar 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010
x86_64 GNU/Linux

$ psql --version
psql (PostgreSQL) 8.4.4

*Reproduce the Problem*

   1. Create an empty directory; put some empty files inside.
   2. Make some empty directories in the formerly empty directory.
   3. In the following steps, make sure you use that empty directory created
   in step 1 or you might lose work.
   4. Click the "Execute arbitrary queries" button
   5. Type in some text
   6. Type: Alt-f
   7. Type: a
   8. Type: Alt-n
   9. Type: joe.sql
   10. Type: Alt-s
   11. Repeat steps 2 - 7, but for step 6 use *joe2.sql*
   12. Type: Alt-f
   13. Type: a
   14. Click joe2.sql
   15. Click Save

*Expected Results*
The file joe2.sql should contain some text.

*Actual Results*
At this point one of two things will happen:

   - another file in the same directory as joe2.sql will be overwritten
   - pgadmin3 will crash:

assertion failed: (had_selection)

Crashing is good. Overwriting other files is... bad.

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.



pgadmin-support by date

Next:From: David JarvisDate: 2010-06-25 08:29:28
Subject: Re: Bug: Overwrites incorrect file
Previous:From: Guillaume LelargeDate: 2010-06-23 16:35:47
Subject: Re: PostgreSQL exception 0xC0000005

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group