From: Herouth Maoz <herouth@oumail.openu.ac.il>
To: Stephane MONEGER <moneger@NCTech.FR>
To: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] Problem with array of char
Date: Sun, 7 Jun 1998 11:26:28 +0300
Message-ID: <l03110703b19ffcf97ced@[147.233.159.109]> (raw)
In-Reply-To: <357655DB.4905@nctech.fr>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: herouth@oumail.openu.ac.il, moneger@NCTech.FR
Subject: Re: [SQL] Problem with array of char
In-Reply-To: <l03110703b19ffcf97ced@[147.233.159.109]>
References: <357655DB.4905@nctech.fr> <l03110703b19ffcf97ced@[147.233.159.109]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox