Re: postgres 7.0.2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: postgres 7.0.2
Дата
Msg-id 9330.966964007@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: postgres 7.0.2  (Thomas Swan <tswan-lst@tangent.ics.olemiss.edu>)
Список pgsql-hackers
Thomas Swan <tswan-lst@tangent.ics.olemiss.edu> writes:
> Actually, I think I understand the question.  The original person wants to 
> be able to do a query and get a result containing a list of 
> databases.   AFAIK, there isn't a way to do this using standard SQL-like 
> statements.  Somebody correct me if I'm wrong.

SELECT datname FROM pg_database;

I think Tim's real gripe is about having to know enough about the
contents of the system tables to be able to construct such a query.
        regards, tom lane


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

Предыдущее
От: hstenger@adinet.com.uy
Дата:
Сообщение: Re: How Do You Pronounce "PostgreSQL"?
Следующее
От: Tim Perdue
Дата:
Сообщение: Re: postgres 7.0.2