John van Zantvoort wrote:
> moin,
>
> I've got a question. I'm scripting against an existing postgresql database
> environment and need to tweak queries based on the columns in the views or
> tables, how can if find these w/o querying the tables or views.
There is a whole section of the manual devoted to the system catalogues:
http://www.postgresql.org/docs/8.2/static/catalogs.html
Or there's the "information schema" which is in a standardised layout
but doesn't include PG-specific details. http://www.postgresql.org/docs/8.2/static/information-schema.html
-- Richard Huxton Archonet Ltd
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера