| От | Andrew Dunstan |
|---|---|
| Тема | Re: iterating over relation's attributes |
| Дата | |
| Msg-id | 463CE245.7010700@dunslane.net обсуждение исходный текст |
| Ответ на | Re: iterating over relation's attributes (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: iterating over relation's attributes
|
| Список | pgsql-hackers |
Tom Lane wrote: > Andrew Dunstan <andrew@dunslane.net> writes: > >> What is the approved way to iterate over a relation's attributes? >> > > Most places scan through the relation's tuple descriptor, rather > than expending multiple catalog lookups in pg_attribute. > > > Doesn't that require me to open the relation? Is that a good thing if I wouldn't otherwise be doing that? This is in the context of making CheckAttributeType recurse into composite types. cheers andrew
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера