Re: dumb question: how to get a list of databases?

Поиск
Список
Период
Сортировка
От monika.koenig@bonn.de (M.König)
Тема Re: dumb question: how to get a list of databases?
Дата
Msg-id cba90948.0212030334.5f813266@posting.google.com
обсуждение исходный текст
Список pgsql-admin
Jack Flak <jack@jackflak.net> wrote in message news:<9MEG9.2902$PK6.160071979@newssvr14.news.prodigy.com>...
> Greetings group,
>
> How do I get a list of current, existing databases (catalogs) for my
> current installation?
>
> Also: how do I find out my current version in linux?  I ran this:
>
>    /usr/local/pgsql/bin/psql --version
>
> and I got this:
>
>    psql (PostgreSQL) 7.1
>
> So it looks like I'm currently running 7.1.  Is this the only way to
> find out?
>
> Thanks for your time.
>
>
> (Email address is invalid to prevent more spam)
you can use a simple sql to find it out.

try: select datname from pg_database ;

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

Предыдущее
От: Harry Yau
Дата:
Сообщение: Re: [GENERAL] Problem of Null Ordering
Следующее
От: "Devinder K Rajput"
Дата:
Сообщение: Command for restart in the contrib/linux script