Alexander Farber <alexander.farber@xxxxxxxxx> writes: > Hello, > > I've created a user and a database both wrongly named "phpbb". > After that I have renamed both to "punbb" using "ALTER DATABASE" > and "ALTER USER". Now everything works fine, except I always > have to specify the database when connecting (both using psql or > the PQconnectdb() from my C-program): > > h754814:afarber {103} psql -U punbb > psql: FATAL: database "phpbb" does not exist psql uses your Unix username as the default database if you don't specify one. -Doug