Can you post here the output of the following command:
- Code: Select all
psql -U postgres -d postgres -l
This lists all the databases without parsing them.
psql -U postgres -d postgres -l
ROCLASI wrote:Can you post here the output of the following command:
- Code: Select all
psql -U postgres -d postgres -l
This lists all the databases without parsing them.
tgs wrote:I have tried the command in the Terminal, but: -bash: psql: command not found
What exactly shall I do to get the output?
/Library/PostgreSQL/9.0/bin/psql -U postgres -d postgres -l
List of databases
Name | Owner | Encoding | Collation | Ctype | Access privileges
-------------------+----------+----------+-------------+-------------+-----------------------
core_data | postgres | UTF8 | de_DE.UTF-8 | de_DE.UTF-8 |
i18n_data | postgres | UTF8 | de_DE.UTF-8 | de_DE.UTF-8 |
log_data | postgres | UTF8 | de_DE.UTF-8 | de_DE.UTF-8 |
postgres | postgres | UTF8 | de_DE.UTF-8 | de_DE.UTF-8 |
sample_data | postgres | UTF8 | de_DE.UTF-8 | de_DE.UTF-8 |
servoy_repository | postgres | UTF8 | de_DE.UTF-8 | de_DE.UTF-8 |
template0 | postgres | UTF8 | de_DE.UTF-8 | de_DE.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | de_DE.UTF-8 | de_DE.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
tgsproject | postgres | UTF8 | de_DE.UTF-8 | de_DE.UTF-8 |
databases=`$pg_tools/psql $pg_host -U postgres -d postgres -l | sed -n 4,/\eof/p | grep -v rows\) | awk {'print$1'} | grep -v \| | grep -v template | grep -v postgres`
Users browsing this forum: No registered users and 3 guests