Kedar Potdar <kedar(dot)potdar(at)gmail(dot)com> writes:
> I could find a workaround for the issue wherein the value of type
> which is not stored "by value" and has fixed data length, is being
> stored in string format to the relation.
The answer is simple: don't do that. You do not need to, and should
not, convert to string format. Again, please look at how ANALYZE
does it.
regards, tom lane