Re: all non-PK columns from information schema

Поиск
Список
Период
Сортировка
От Richard Broersma
Тема Re: all non-PK columns from information schema
Дата
Msg-id CABvLTWEVz=96i+0ubiCkBLVCZRw8M_FP7FvYMpY6sjVRm4wibw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: all non-PK columns from information schema  (Tarlika Elisabeth Schmitz <postgresql6@numerixtechnology.de>)
Ответы Re: all non-PK columns from information schema  (Adam Cornett <adam.cornett@gmail.com>)
Список pgsql-general
On Tue, Nov 15, 2011 at 8:00 AM, Tarlika Elisabeth Schmitz
<postgresql6@numerixtechnology.de> wrote:
> Interesting. I have previously used the information_schema for similar
> queries.
>
> What are the pros and cons for using either pg_catalog or
> information_schema?

My understanding is that pg_catalog tables and views *can* change
between major releases while the information_schema is expected to be
more stable between major releases.

Applications that depend upon the information_schema rather than
pg_catalog are less likely to break when the PostgreSQL server is
upgraded.

--
Regards,
Richard Broersma Jr.

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

Предыдущее
От: LPlateAndy
Дата:
Сообщение: Re: encoding and LC_COLLATE
Следующее
От: Rich Shepard
Дата:
Сообщение: Syntax To Create Table As One In Another Database