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 17:36:46
Message-ID: 805.1236361006@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:
> 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Guillaume Smet 2009-03-06 17:58:58 Re: small parallel restore optimization
Previous Message Kedar Potdar 2009-03-06 17:30:31 Re: Writing values to relation using bytearray ...