

Line to pg_hba.conf and then sudo -u postgres psql (assuming your PostgreSQL server runs as user postgres) to get an interactive psql session without using a password. On unix systems it's more secure to prepend a local all all peer This might require you to set yourself as the owner of the file.

To edit it you'll have to use the security tab to give yourself read/write permissions (via a UAC prompt). By default it'll be %PROGRAMFILES%\PostgreSQL\9.3\data.

Anyone who can connect to the PostgreSQL server can control it.
