please check file dialog properties. I'm sure the dialog may return real file name not depended on one of predefined filters selected.
MK 23. 7. 2012 v 22:52, "Guillaume Lelarge" <guilla...@lelarge.info>: > On Mon, 2012-07-23 at 15:20 +0100, Martin French wrote: >> >>> I can't replicate this problem. It works for me. >>> I am running pgAdmin 1.14.2, Windows 7 >> >> Replicated on 1.14.3, Windows 7 x64. >> >>> How to reproduce: >>> 1. create some text file and save it without suffix - make sure OS >>> doesn't hide suffixes making you think that there is no suffix in a >> filename >>> 2. Open query editor window >>> 3. Select File / Open... >>> 4. Enter star character (*) into filename field and commit it >>> hitting enter - in result you will get all files listed in file >> browser >>> 5. find your file >>> 6. select it and open it - this operation will end up with error: >>> "can't open file" >> >> >> 1. created file: H:\Postgres Scripts\test >> 2. opened editor >> 3. file > open >> 4. typed *, hit enter >> 5. found file " test " >> 6: Brings up: >> >> An Error has occurred: >> >> Can't open file 'c:\path\test.sql' (error 2: the system cannot find >> the file specified) >> >> note that ".sql" has been appended to the name of my test file. >> Probably as the file spec is set to *.sql. If you use the dropdown >> and select *.*, then it works fine. >> > > 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". > > > -- > Guillaume > http://blog.guillaume.lelarge.info > http://www.dalibo.com > -- Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-support