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

From Guillaume Lelarge
Subject Re: Error opening file without suffix
Date
Msg-id 1343117374.2039.28.camel@localhost.localdomain
Whole thread Raw
In response to Re: Error opening file without suffix  ("Martin French" <Martin.French@romaxtech.com>)
Responses Re: Error opening file without suffix
List pgadmin-support
On Tue, 2012-07-24 at 07:53 +0100, Martin French wrote:
> > 
> > There's not much we can do here. We show the standard dialog, and it
> > tells us which file the user wants to open. If it tells to open
> > "test.sql", we have no way to understand you wanted to open the file
> > "test".
> > 
> 
> I'll pull source and take a look 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? Although that's a
> very large assumption on my part without seeing the code itself!
> 

You sure can get a look at it. And I welcome any patches that would fix
any *actual* issue.


-- 
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com



pgadmin-support by date:

Previous
From: "Martin French"
Date:
Subject: Re: Error opening file without suffix
Next
From: Guillaume Lelarge
Date:
Subject: Re: default parameters