Re: Error opening file without suffix

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Martin French <Martin(dot)French(at)romaxtech(dot)com>
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 08:09:34
Message-ID: 1343117374.2039.28.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Guillaume Lelarge 2012-07-24 08:10:36 Re: default parameters
Previous Message Martin French 2012-07-24 06:53:57 Re: Error opening file without suffix