Re: PostgreSQL Storage: Sorted by Primary Key?

From: Christopher Browne <cbbrowne(at)acm(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL Storage: Sorted by Primary Key?
Date: 2007-10-07 17:01:38
Message-ID: 87sl4mluz1.fsf@wolfe.cbbrowne.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

After takin a swig o' Arrakan spice grog, michi <mutsuzaki(at)gmail(dot)com> belched out:
> Does PostgreSQL store records sorted by primary key?

No. It initially stores tuples based on the order in which they are
inserted.

Behaviour changes later when a table has free space due to deleted
tuples.
--
let name="cbbrowne" and tld="gmail.com" in name ^ "@" ^ tld;;
http://cbbrowne.com/info/emacs.html
"Who is General Failure and why is he reading my hard disk?"
-- <leitner(at)inf(dot)fu-berlin(dot)de>, Felix von Leitner

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ben 2007-10-07 17:40:44 Re: Sql problem
Previous Message Alvaro Herrera 2007-10-07 16:46:25 Re: Install fails on Debian sid