Re: How are NULLS stored on disk for PG 7.4?

From: vhikida(at)inreach(dot)com
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How are NULLS stored on disk for PG 7.4?
Date: 2004-01-14 17:52:49
Message-ID: 58455.146.74.1.99.1074102769.squirrel@webmail.inreach.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On Wed, 14 Jan 2004, Yannick Warnier wrote:
>
>> Le mar 13/01/2004 à 00:43, Bruce Momjian a écrit :
>> > Arnold Mavromatis wrote:
>> > > Hi
>> > >
>> > > How are column files in a table that have been assigned null stored
>> on disk
>> > > in Postgresql 7.4?
>> >
>> > Each row has a bitmap showing all the NULL values on that row.
>>
>> Is it the same for PG 7.3?
>
> Yes, Postgresql has done this for quite some time.
>
My understanding is that Oracle has a field showing the size of the column
prior to each column. A column size of of zero means that the column is
null.

I assume that this is why Oracle is unable to make a distinction between a
null and a zero length string but that PostgreSQL can?

Vincent

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rick Gigger 2004-01-14 18:03:01 Re: serverless postgresql
Previous Message Dustin Sallings 2004-01-14 17:47:00 Re: Postgress and MYSQL