Re: Error opening file without suffix

From: "Martin French" <Martin(dot)French(at)romaxtech(dot)com>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: Michal Kozusznik <kozusznik(dot)michal(at)ifortuna(dot)cz>,Michael Shapiro <mshapiro51(at)gmail(dot)com>, pgadmin-support(at)postgresql(dot)org, pgadmin-support-owner(at)postgresql(dot)org
Subject: Re: Error opening file without suffix
Date: 2012-07-24 06:53:57
Message-ID: OF2C4189FC.D1A7AAA6-ON80257A45.0025B214-80257A45.0025E768@LocalDomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

<html><body><p><tt><font size="2">&gt; <br>&gt; There's not much we can do here. We show the standard dialog, and it<br>&gt; tells us which file the user wants to open. If it tells to open<br>&gt; &quot;test.sql&quot;, we have no way to understand you wanted to open the file<br>&gt; &quot;test&quot;.<br>&gt; </font></tt><br><br><tt><font size="2">I'll pull source and take a look if I get chance. I think that because the filter is set to &quot;sql&quot;, it's assuming that the file has an &quot;sql&quot; extension, and therefore appends it. A pre-parse of the full file name and comparison against the filter may work here? Although that's a very large assumption on my part without seeing the code itself!</font></tt><br><br><tt><font size="2">Cheers</font></tt><br><br><tt><font size="2">Martin <br></font></tt><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 1.7 KB

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Guillaume Lelarge 2012-07-24 08:09:34 Re: Error opening file without suffix
Previous Message Maximilian Tyrtania 2012-07-24 04:37:27 Re: default parameters