Re: чем заменить тип byte в informix?

From: Serguei Mokhov <serguei(at)gmail(dot)com>
To: Genix <genix(at)list(dot)ru>
Cc: pgsql-ru-general <pgsql-ru-general(at)postgresql(dot)org>
Subject: Re: чем заменить тип byte в informix?
Date: 2005-08-30 15:45:06
Message-ID: f4c8e9e3050830084515c9c8d1@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ru-general

BYTEA (byte array)

http://www.postgresql.org/docs/8.0/static/datatype.html

-s

On 8/30/05, Genix <genix(at)list(dot)ru> wrote:
> Приветствую!
>
> Подскажите пожалуйста, чем лучше в PG заменить информиксовский тип Byte?
> Вот что о нем говорит документация:
>
> "The BYTE data type stores any kind of binary data in an
> undifferentiated byte
> stream. Binary data typically consists of digitized information, such as
> spreadsheets, program load modules, digitized voice patterns, and so on.
> The term simple large object refers to BYTE and TEXT data types. No more
> than
> 195 columns of the same table can be declared as BYTE and TEXT data types.
>
> The BYTE data type has no maximum size. A BYTE column has a theoretical
> limit of 2^31 bytes and a practical limit that your disk capacity
> determines."
>
> Нашел bytea, но мучают сомнения, почему в разделе документации "Binary
> Data Types" речь идет только об одном типе?
>
>
>
> P.$.: програмисты хотят хранить в этих полях небольшие архивы.
>
> --
> У каждого в башке свои тараканы...
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org
>
>

In response to

Browse pgsql-ru-general by date

  From Date Subject
Next Message Serguei Mokhov 2005-08-30 15:48:42 Re: чем заменить тип byte в informix?
Previous Message Genix 2005-08-30 10:47:49 чем заменить тип byte в informix?