On 25/10/05 6:41 pm, "Florian G. Pflug" <[EMAIL PROTECTED]> wrote:

> Andreas Pflug wrote:
>> Florian G. Pflug wrote:
>> 
>>> If I save a sql script from the query window, shouldn't ".sql" be
>>> added automatically
>>> to the filename? It isn't added on osx as I just noticed - which got
>>> me wondering
>>> if it is added on other platforms. So - how are things on win32 or linux?
>> 
>> Works on win32 and Linux, so could be a wxWid/OSX problem.
> Hm.. I guess, wx thinks (for historic reasons), that the file -> application
> association happens via Type & Creator (Two 4-character codes saved
> with each file) on OSX. While it's true that this still works on osx, apple
> recommends using extensions now. I'll see if the behaviour of wx can
> be switched - if not, are you okey if an #ifdef OSX in the code?

That's fine.
 
>>> On a related note - Does it work on windows to double-click  a saved
>>> query,
>>> and have pgadmin3 start _and_ open the query in a query window?
>> 
>> No, because pgAdmin can't guess from your script which server it should
>> connect to.
> Well, thats fixed in 1.4 afaik - one can now switch the db-connection of a
> query window, can't one?. The sql-file coul be opened in a query window
>   with no
> selected connection, and the user could chosse the connection afterwards.
> Does this sound reasonable?

Yes.

BTW, I should really backout your earlier patch until after 1.4-STABLE is
branched - I didn't realise you were starting on new functionality, probably
because I didn't get your original email.

Regards, Dave 



---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to