Re: Error opening file without suffix - Mailing list pgadmin-support

From Martin French
Subject Re: Error opening file without suffix
Date
Msg-id OF2C4189FC.D1A7AAA6-ON80257A45.0025B214-80257A45.0025E768@LocalDomain
Whole thread Raw
In response to Re: Error opening file without suffix  (Guillaume Lelarge <guillaume@lelarge.info>)
Responses Re: Error opening file without suffix
List pgadmin-support
<p><tt><font size="2">> <br />> There's not much we can do here. We show the standard dialog, and it<br />>
tellsus which file the user wants to open. If it tells to open<br />> "test.sql", we have no way to understand you
wantedto open the file<br />> "test".<br />> </font></tt><br /><br /><tt><font size="2">I'll pull source and take
alook if I get chance. I think that because the filter is set to "sql", it's assuming that the file has an "sql"
extension,and therefore appends it. A pre-parse of the full file name and comparison against the filter may work here?
Althoughthat'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
officelocations see: http://www.romaxtech.com/Contact ================================= =============== E-mail:
info@romaxtech.comWebsite: www.romaxtech.com ================================= ================ Confidentiality
StatementThis transmission is for the addressee only and contains information that is confidential and privileged.
Unlessyou are the named addressee, or authorised to receive it on behalf of the addressee you may not copy or use it,
ordisclose it to anyone else. If you have received this transmission in error please delete from your system and
contactthe sender. Thank you for your cooperation. =================================================</font> 

pgadmin-support by date:

Previous
From: Maximilian Tyrtania
Date:
Subject: Re: default parameters
Next
From: Guillaume Lelarge
Date:
Subject: Re: Error opening file without suffix