Re: Writing values to relation using bytearray ... - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Writing values to relation using bytearray ...
Date
Msg-id 805.1236361006@sss.pgh.pa.us
Whole thread Raw
In response to Re: Writing values to relation using bytearray ...  (Kedar Potdar <kedar.potdar@gmail.com>)
List pgsql-hackers
Kedar Potdar <kedar.potdar@gmail.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


pgsql-hackers by date:

Previous
From: Kedar Potdar
Date:
Subject: Re: Writing values to relation using bytearray ...
Next
From: Guillaume Smet
Date:
Subject: Re: small parallel restore optimization