Re: Writing values to relation using bytearray ...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kedar Potdar <kedar(dot)potdar(at)gmail(dot)com>
Cc: Greg Stark <stark(at)enterprisedb(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Writing values to relation using bytearray ...
Date: 2009-03-06 15:22:46
Message-ID: 28319.1236352966@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Kedar Potdar <kedar(dot)potdar(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-03-06 15:27:52 Re: Validating problem in the isn contrib module
Previous Message Alvaro Herrera 2009-03-06 15:16:01 Re: [PATCH] Regression test fix for Czech locale