The following bug has been logged on the website:
Bug reference: 6406
Logged by: Aren Cambre
Email address: aren@arencambre.com
PostgreSQL version: 9.1.2
Operating system: Windows 7 x64
Description:=20=20=20=20=20=20=20=20
When I install Postgres, the included pgAdmin III is not set up correctly:
the installer does not associate .sql file extensions with pgAdmin III, so
when I double-click on a .sql file, or even right-click on it and select
"Open with", pgAdmin III doesn't even show as an option.
I checked with pgAdmin III developers, and with them, I confirmed that the
pgAdmin III installer, as downloaded from their own site, indeed sets up
file extensions correctly. Guillaume Lelarge of pgAdmin dev team suspects it
may be a problem with how you've bundled pgAdmin III with Postgres.