Re: get list of databases and tables in Postgres

Поиск
Список
Период
Сортировка
От Majolee InfoTech
Тема Re: get list of databases and tables in Postgres
Дата
Msg-id 000c01c3ff82$1aa1d270$0100a8c0@MAJOLEE1
обсуждение исходный текст
Ответ на get list of databases and tables in Postgres  (Wim Paulussen <wim@chen.be>)
Ответы Re: get list of databases and tables in Postgres
Список pgsql-php
Use:

select datname from pg_database;

===============
Mihir & Biren
Partners
Majolee InfoTech
===============
----- Original Message -----
From: "Wim Paulussen" <wim@chen.be>
To: <pgsql-php@postgresql.org>
Sent: Monday, March 01, 2004 4:30 PM
Subject: [PHP] get list of databases and tables in Postgres


> LS,
>
> Hope you can help : I am looking for equivalent sql statement for the
> following in MySQL :
> SHOW DATABASES
>
> I found out that for the tables you can connect to a Postgresql specific
> table information_schema.tables , but what is the corresponding table
> for the names of databases under Postgresql ?
>
> All help is highly appreciated.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
>       joining column's datatypes do not match
>
>


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

Предыдущее
От: Wim Paulussen
Дата:
Сообщение: get list of databases and tables in Postgres
Следующее
От: "Chris Boget"
Дата:
Сообщение: Re: get list of databases and tables in Postgres