Re: [SQL] Problem with array of char

Herouth Maoz <herouth@oumail.openu.ac.il>

From: Herouth Maoz <herouth@oumail.openu.ac.il>
To: Stephane MONEGER <moneger@NCTech.FR>, pgsql-sql@postgreSQL.org
Date: 1998-06-07T08:26:28Z
Lists: pgsql-sql
At 11:07 +0300 on 4/6/98, Stephane MONEGER wrote:


> Do you have an idea? A solution? I have very large tables and char[][]
> is the only way I found to save values of 1 byte (as thin int are not
> supported by PostgreSQL).

I'm not sure if it's any help, but PostgreSQL has a built-in type called
"bytea", which is a variable-length array of bytes. Maybe you should play
around with it. I'm not sure how values are inserted to it - it seems to
behave very much like the text type.

Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma