Re: Error opening file without suffix

From: "Martin French" <Martin(dot)French(at)romaxtech(dot)com>
To: Michael Shapiro <mshapiro51(at)gmail(dot)com>
Cc: Michal Kozusznik <kozusznik(dot)michal(at)ifortuna(dot)cz>, pgadmin-support(at)postgresql(dot)org, pgadmin-support-owner(at)postgresql(dot)org
Subject: Re: Error opening file without suffix
Date: 2012-07-23 14:20:02
Message-ID: OF53D69E50.EEE5C660-ON80257A44.004E4957-80257A44.004EBE58@LocalDomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

<html><body><p><tt><font size="2">&nbsp;<br>&gt; I can't replicate this problem. It works for me.<br>&gt; I am running pgAdmin 1.14.2, Windows 7<br></font></tt><br><font size="2" face="sans-serif">Replicated on 1.14.3, Windows 7 x64.</font><br><tt><font size="2"><br>&gt; How to reproduce:<br>&gt; 1. create some text file and save it without suffix - make sure OS <br>&gt; doesn't hide suffixes making you think that there is no suffix in a filename<br>&gt; 2. Open query editor window<br>&gt; 3. Select File / Open...<br>&gt; 4. Enter star character (*) into filename field and commit it <br>&gt; hitting enter - in result you will get all files listed in file browser<br>&gt; 5. find your file<br>&gt; 6. select it and open it - this operation will end up with error: <br>&gt; &quot;can't open file&quot;<br></font></tt><br><br><font size="2" face="sans-serif">1. created file: H:\Postgres Scripts\test</font><br><font size="2" face="sans-serif">2. opened editor</font><br><font size="2" face="sans-serif">3. file &gt; open</font><br><font size="2" face="sans-serif">4. typed *, hit enter</font><br><font size="2" face="sans-serif">5. found file &quot; test &quot;</font><br><font size="2" face="sans-serif">6: Brings up:</font><br><br><font size="2" face="sans-serif"> An Error has occurred:</font><br><br><font size="2" face="sans-serif"> Can't open file 'c:\path\test.sql' (error 2: the system cannot find the file specified)</font><br><br><font size="2" face="sans-serif">note that &quot;.sql&quot; has been appended to the name of my test file. Probably as the file spec is set to *.sql. &nbsp;If you use the dropdown and select *.*, then it works fine.</font><br><br><font size="2" face="sans-serif">Cheers</font><br><br><font size="2" face="sans-serif">Martin</font><font face="sans-serif">=============================================

Romax Technology Limited
Rutherford House
Nottingham Science & Technology Park
Nottingham,
NG7 2PZ
England

Telephone numbers:
+44 (0)115 951 88 00 (main)

For other office locations see:
http://www.romaxtech.com/Contact
=================================
===============
E-mail: info(at)romaxtech(dot)com
Website: www.romaxtech.com
=================================

================
Confidentiality Statement
This transmission is for the addressee only and contains information that is confidential and privileged.
Unless you are the named addressee, or authorised to receive it on behalf of the addressee
you may not copy or use it, or disclose it to anyone else.
If you have received this transmission in error please delete from your system and contact the sender. Thank you for your cooperation.
=================================================</font>
</body></html>

Attachment Content-Type Size
unknown_filename text/html 2.7 KB

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Daniel Serodio (lists) 2012-07-23 14:32:39 Re: RFE: Use JOIN instead of WHERE in Graphical Query Builder
Previous Message Michael Shapiro 2012-07-23 10:56:15 Re: Error opening file without suffix