Select a .sql file, right-click (ctrl-click) and choose "Get Info" (or just select the file and hit CMD-I). Expand the "Open With ..." tab, choose "Other" and select the app you want to handle these from your Applications directory.
brian
i am not such a noob :) what i mean is that every time i restart PgAdmin it again grabs the default application handling right for .sql files