Re: [ADMIN] Fwd: [BUGS] Fwd: FATAL 1: Database dialup does not exist in pg_database

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: roco <roco(at)rieder(dot)net(dot)py>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [ADMIN] Fwd: [BUGS] Fwd: FATAL 1: Database dialup does not exist in pg_database
Date: 2002-10-31 00:21:58
Message-ID: 200210310021.58495.xzilla@users.sourceforge.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-bugs pgsql-general

On Wednesday 30 October 2002 07:10 pm, you wrote:
> >> ===8<==============Original message text===============
> >> Hello,
> >>
> >> When I execute the command "psql dialup" , I receive this message:
> >>
> >> postgres(at)www:/usr/local/pgsql/data/base/dialup$ psql dialup
> >> Connection to database 'dialup' failed.
> >> FATAL 1: Database dialup does not exist in pg_database
> >>
> >> This data base was using.
> >>
> >> What can I do?
> >>
> >> --
> >> Best regards,
> >> roco mailto:roco(at)rieder(dot)net(dot)py
>
> The output of psql -l is
>
> postgres(at)www:~$ psql -l
> datname |datdba|encoding|datpath
> ---------+------+--------+---------
> template1| 1001| 0|template1
> dialup | 1001| 0|dialup
> prueba | 1001| 0|prueba
> rocio | 1000| 0|rocio
> (4 rows)
>
> pq_recvbuf:unexpected EOF on client connection

I wonder about your encoding, 0 seems strange, did you try building the
database with a specfic encoding? Try connecting to the template1 database
and then doing \c dialup and/or a select * from pg_database. I'm sure I have
seen this before, but the list archives seem unresponsive tonight... you
might want to try a search in the morning... also, can you post your version
and os info.

Robert Treat

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2002-10-31 03:31:29 Re: URGENT: undoing a mistake
Previous Message Josh Goldberg 2002-10-30 22:00:12 Re: Bit string manipulation in Postgresql

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2002-10-31 04:29:46 Re: to_char(date,'YYYYMMDD') bug
Previous Message Jord Tanner 2002-10-30 19:24:11 to_char(date,'YYYYMMDD') bug

Browse pgsql-general by date

  From Date Subject
Next Message Patrick Bakker 2002-10-31 00:36:13 Questions on specifying table relationships
Previous Message Reinoud van Leeuwen 2002-10-31 00:12:27 Re: Database Design tool