Re: PG vs MySQL

Поиск
Список
Период
Сортировка
От Mike Nolan
Тема Re: PG vs MySQL
Дата
Msg-id 200403290437.i2T4bgTZ005495@gw.tssi.com
обсуждение исходный текст
Ответ на Re: PG vs MySQL  ("Marc G. Fournier" <scrappy@postgresql.org>)
Ответы Re: PG vs MySQL
Список pgsql-general
> > Perhaps, but it isn't obvious which directory has which database.  I'm not
> > not sure which system catalogs provide that information, something that
> > wasn't obvious from the online docs, either.
>
> SELECT oid FROM pg_database WHERE datname = '<database>';

Thanks.  That should be easier to find in the documentation, perhaps it
should be mentioned in the docs for the pg_database system catalog.

From an ISP's or DBA's point of view, it would be preferable if there was
a way to determine which directory held which database without having
to actually log into the database.  I can envision circumstances under
which postmaster might not be running when that information is needed.
--
Mike Nolan

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

Предыдущее
От: "Uwe C. Schroeder"
Дата:
Сообщение: Re: PG vs MySQL
Следующее
От: David Garamond
Дата:
Сообщение: Re: Index usage for BYTEA column in OR/IN clause