| От | Joe Conway |
|---|---|
| Тема | Re: Custom types and arrays |
| Дата | |
| Msg-id | 3FA5BE71.9080909@joeconway.com обсуждение исходный текст |
| Ответ на | Re: Custom types and arrays ("mlunnon @ RWA" <mlunnon@rwa-net.co.uk>) |
| Список | pgsql-general |
mlunnon @ RWA wrote: > Thanks for your reply tom. I'm sure it is not a mistype, I included the > definition that I used in my script. Perhaps it is something to do with the > cygwin installation of Postgres that I have i will try it on a Linux box. > The type you were referring to is a composite type: CREATE TYPE TEST_TYPE AS (ID INTEGER, CODE VARCHAR(40)); The documentation wording could be improved (perhaps it should say "user-defined *base* types?), but there is no support for arrays of composite types -- or at least if there is, I've never seen it. I know for sure that creation of a user defined composite type will not create a corresponding array type. Joe
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера