Re: How to get partition info for a partition table?

Поиск
Список
Период
Сортировка
От legrand legrand
Тема Re: How to get partition info for a partition table?
Дата
Msg-id 1540645294115-0.post@n3.nabble.com
обсуждение исходный текст
Ответ на How to get partition info for a partition table?  (Yuxia Qiu <yuxiaqiu1@gmail.com>)
Список pgsql-general
see
https://www.postgresql.org/docs/9.5/static/app-psql.html
for psql options an commands:

psql -d ... -U ...
\d+ measurement_year_month

...
Partition key: RANGE (date_part('year'::text, logdate),
date_part('month'::text, logdate))
Number of partitions: 0


if you want to know how postgresql is retrieving those informations
try -E option for ECHO_HIDDEN

psql -d ... -U ... -E
\d+ measurement_year_month



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html


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

Предыдущее
От: GPT
Дата:
Сообщение: Re: rw_redis_fdw: SQL Errors when statement is within a function
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: rw_redis_fdw: SQL Errors when statement is within a function