Re: char array overhead

Поиск
Список
Период
Сортировка
От Steve Atkins
Тема Re: char array overhead
Дата
Msg-id 748430B7-E4A2-4080-A1F3-8DCE0E969B21@blighty.com
обсуждение исходный текст
Ответ на char array overhead  (Rob Sargent <robjsargent@gmail.com>)
Ответы Re: char array overhead  (Rob Sargent <robjsargent@gmail.com>)
Список pgsql-general
On Mar 31, 2014, at 8:08 AM, Rob Sargent <robjsargent@gmail.com> wrote:

> I'm angling toward using a very wide char(1) array.  Is the one-byte overhead for char(n<126) applied to each element
orto the array? 

Each element, it's a variable length type.

There's probably a better way of storing your data, but if you end up really needing a one-byte long character type,
thereis "char" (with the quotes). 

Cheers,
  Steve



В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [ADMIN]openvz and shared memory trouble
Следующее
От: Paul Jungwirth
Дата:
Сообщение: Re: Alternative to Multi-Master Replication with 2 Data centers??