Re: How to check tablespace

Поиск
Список
Период
Сортировка
От Low Kian Seong
Тема Re: How to check tablespace
Дата
Msg-id 20050519054041.33271.qmail@web31603.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на How to check tablespace  (Low Kian Seong <postgresql_low@yahoo.com>)
Список pgsql-novice
when i do a 'SELECT * FROM pg_tablespace', i see this
:

  spcname   | spcowner |       spclocation
|spcacl
------------+----------+-------------------------+--------
 pg_default |        1 |                         |
 pg_global  |        1 |                         |
 dbspace    |        1 | /usr/local/pgsql/pgsql2 |


but how do i ascertain which spcname it's kept in ?

thanks.


--- Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Low Kian Seong <postgresql_low@yahoo.com> writes:
> > ... how do i check the location of the tablespace
> > where it is kept in the filesystem ?
>
> Look into the pg_tablespace catalog.
>
>             regards, tom lane
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>



__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How to check tablespace
Следующее
От: Keith Worthington
Дата:
Сообщение: Re: database conversion to postgres