| От | Tom Lane |
|---|---|
| Тема | Re: Array detection in pg_dump |
| Дата | |
| Msg-id | 7639.1249600523@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Array detection in pg_dump (Bruce Momjian <bruce@momjian.us>) |
| Ответы |
Re: Array detection in pg_dump
|
| Список | pgsql-hackers |
Bruce Momjian <bruce@momjian.us> writes:
> Is there a reason we don't use pg_type.typcategory to detect arrays in
> Postgres 8.4? Right now I see this in pg_dump.c:
typcategory is user-assignable and thus not too reliable; furthermore
it wouldn't prove that the type is the array type for its typelem.
(Consider things like point and name --- there can be multiple types
with the same typelem, but only one is the real array type for that
typelem.) The typelem back-link check is much safer.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера