>but I'll bet >a nickel your CREATE TYPE says something else --- probably varlena
You win, how can I pay this bet? :) Very very thanks, I was looking for the error in the wrong place! It was so simple and works! But still have another problem, may be related with my output functions!?!? I still get an error while doing a select with order by clause! Any other good bet? The error is: ERROR: cache lookup failed for operator...... Thanks in advance! ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org