Kedar Potdar <kedar.pot...@gmail.com> writes:
> The problem here is I need to store values of different types into bytearray
> column of relation.

Perhaps you should study the ANALYZE code.  AFAICS your requirements are
not different from those of the pg_statistic data store.  You should do
things the same way they are done there, if only to reduce the surprise
factor for readers of the code.

                        regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to