Re: Using the internal data dictionary

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Using the internal data dictionary
Дата
Msg-id 4EC5D287.3020806@hogranch.com
обсуждение исходный текст
Ответ на Using the internal data dictionary  (Bill Thoen <bthoen@gisnet.com>)
Список pgsql-general
On 11/17/11 7:17 PM, Bill Thoen wrote:
> I need to assemble a complete data dictionary for project documentation and other purposes and I was wondering about
thepros and cons of using the pg_catalog metadata. But I hesitate to poke around in here because I don't know why it's
keptso out of sight and not much documented. But it seems like an ideal source of information to tap with a program to
generateaccurate, current reports of what's in the database. 
>
> Is this a bad idea (everything I'm thinking of doing would be read only except for the description fields) but I'd
justlike to make sure that there's not some innocent looking table in there that acts as a doomsday device if you so
muchas read its first record, etc.  I'm just not sure why this isn't more widely used or talked about. 

pg_catalog is whats used to extract the data displayed by all the
various \ commands in psql, by pgadmin3, pg_dump, etc....  the sql
standard information_schema is in fact implemented as views into pg_catalog



--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast


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

Предыдущее
От: David Johnston
Дата:
Сообщение: Re: Using the internal data dictionary
Следующее
От: "Good Day Books"
Дата:
Сообщение: Result of ORDER-BY