Re: Implicit casts to array types
| От | joshua |
|---|---|
| Тема | Re: Implicit casts to array types |
| Дата | |
| Msg-id | 1355499143973-5736588.post@n5.nabble.com обсуждение |
| Ответ на | Re: Implicit casts to array types (Merlin Moncure <mmoncure@gmail.com>) |
| Ответы |
Re: Implicit casts to array types
|
| Список | pgsql-general |
Thanks, that function does help, but it still cannot cast directly to text[];
The point of the functions was only ever to allow for an implicit cast to
text[];
My goal is to be able to copy from a simple csv with nonarray entries
("1,2,3,...") and extract text arrays when the target table calls for it by
creating an array of size 1. I believe this will require a custom implicit
cast from unknown to text[], but if there's a better way to do it, I'd love
to know.
--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Implicit-casts-to-array-types-tp5736582p5736588.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.
В списке pgsql-general по дате отправления: