Re: Enum on-disk format

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Scott Bailey <artacus(at)comcast(dot)net>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Enum on-disk format
Date: 2009-11-19 12:58:34
Message-ID: 1258635514.21292.66.camel@fsopti579.F-Secure.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On ons, 2009-11-18 at 22:33 -0800, Scott Bailey wrote:
> The only I/O functions I'm aware of are
> send, recv, in and out. What controls converting from/to wire and
> on-disk formats?

send and recv

> And why is wire format little endian and disk big endian?

The wire format is network order (which is big endian), the disk format
is whatever your CPU uses.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thom Brown 2009-11-19 14:22:44 Re: Re: vacuumdb: vacuuming of database "xy" failed: PANIC: corrupted item pointer: 19227
Previous Message Pedro Doria Meunier 2009-11-19 12:53:00 obtaining ARRAY position for a given match