I have PostgreSQL 9.3 server. Connecting using an JDBC client (Squirrel) and executing
select schema_name from information_schema.schemata
shows me all the schemas on the server.
Connecting the same using psql via an SSH session:
su -l postgres
psql -U postgres -W -p 5432 -h localhost
and the same select shows only a few schemas:
schema_name
--------------------
pg_toast
pg_temp_1
pg_toast_temp_1
pg_catalog
public
information_schema
There is only one DB instance on the server. Username and password are the same. Why is that? Do I need to configure something for psql
?