How to set default database

Поиск
Список
Период
Сортировка
От Krzysztof Walkiewicz
Тема How to set default database
Дата
Msg-id 4B6B13EA.4070004@op.pl
обсуждение исходный текст
Ответы Re: How to set default database  (Joshua Tolley <eggyknap@gmail.com>)
Список pgsql-novice
Hello!

I created database "krzysztof" for practice postgresql. After few days i
  deleted that database and i created the next one "cwiczebna". Now when
I type "psql" i get strange info, something like: "CRITICAL: base
"krzysztof" don't exist". Now i need to  type "psql cwiczebna" to log in
to new database. How to set the default database or connect
automatically to "cwiczebna" database when I type "psql" in terminal. I
am using Debian Lenny distro.

--
Krzysztof Walkiewicz
-----------------------
bars0@op.pl

В списке pgsql-novice по дате отправления:

Предыдущее
От: "Mohlomi Moloi"
Дата:
Сообщение: Re: Postgres Trainign in RSA
Следующее
От: Hilda Raymond
Дата:
Сообщение: Any way to recover a lost db..