Re: Ask ctid

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Achmad Nizar Hidayanto <nizar(at)cs(dot)ui(dot)ac(dot)id>
Cc: Alban Hertroys <dalroi(at)solfertje(dot)student(dot)utwente(dot)nl>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: Ask ctid
Date: 2008-03-10 13:41:24
Message-ID: 20080310134124.GA7077@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Achmad Nizar Hidayanto wrote:

> The two records are identical. But if i display the ctid, the two
> records differ as they
> have different ctid (suppose i display the ctid in the first column):
> R1: 8888, 1001, 1, 02-25-2008, Present, 1
> R2: 9999, 1001, 1, 02-25-2008, Present, 1

This would be a bug. Please post the unmodified output of

select ctid, xmin, xmax, cmin, cmax, id_absensi, id_user, tanggal
from absensi

The ctid column must differ because it is the physical address of the
tuple.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

  • Re: Ask ctid at 2008-03-10 13:09:17 from Achmad Nizar Hidayanto

Browse pgsql-general by date

  From Date Subject
Next Message Pau Marc Munoz Torres 2008-03-10 14:09:16 pgsql configuration
Previous Message Achmad Nizar Hidayanto 2008-03-10 13:09:17 Re: Ask ctid