"Moginraj Mohandas" <moginmo@gmail.com> writes:
> Does anybody have any idea on "out of memory" error while inserting
> into a table in psql. I was trying to test the working of my C code which
> adds a new data type called expression to Postgres. When I try to insert
> into the table which has two columns (one integer and the other expression)=
> ,
> it gives me this error.
Sounds to me like a bug in your C code --- most likely, that you haven't
correctly set the length word of a variable-length value.
regards, tom lane