Re: 'show databases' in psql way?

Поиск
Список
Период
Сортировка
От Achilleus Mantzios
Тема Re: 'show databases' in psql way?
Дата
Msg-id Pine.LNX.4.44.0411021719450.3790-100000@matrix.gatewaynet.com
обсуждение исходный текст
Ответ на Re: 'show databases' in psql way?  (lorid <lorid@dri.edu>)
Список pgsql-sql
O lorid έγραψε στις Nov 2, 2004 :

> \z   will list the tables in the dbase
> \d tablename will list the columns in the table
> 

or 
foodb=# SELECT oid,* from pg_database ;

> ---------------------
> Erik Wasser wrote:
> 
> >Hi list,
> >
> >how can I list the databases in a postgresish way? I know about the '-l' 
> >switch of 'psql' but is there a DBI/SQL-query way? I don't want to call 
> >an external program only to list the databases. I've googled about this 
> >problem but I only found the '-l'-way to this this.
> >
> >Ideas? Solutions?
> >
> >  
> >
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
>                http://www.postgresql.org/docs/faqs/FAQ.html
> 

-- 
-Achilleus



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

Предыдущее
От: lorid
Дата:
Сообщение: Re: 'show databases' in psql way?
Следующее
От: Markus Schaber
Дата:
Сообщение: Re: Update instead rules on Views