>>>ERROR: column "my_array" is of type character varying[] but _expression_ is of type textplease try this below, may be this should helpCREATE CAST (text AS varchar) WITH INOUT AS IMPLICIT;just for info:actually this should be available in default
What is the point of doing this? Did you do this and then run the OP's query and see if it solved the problem? Do you understand the "type[]" means "array version of type"?
David J.
View this message in context: Re: Array string casts with SELECT but not SELECT DISTINCT
Sent from the PostgreSQL - general mailing list archive at Nabble.com.