Re: Rows missing from table despite FK constraint - Mailing list pgsql-general

From Tom Lane
Subject Re: Rows missing from table despite FK constraint
Date
Msg-id 6974.1262967492@sss.pgh.pa.us
Whole thread Raw
In response to Re: Rows missing from table despite FK constraint  (Konrad Garus <konrad.garus@gmail.com>)
Responses Re: Rows missing from table despite FK constraint  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Konrad Garus <konrad.garus@gmail.com> writes:
> 2010/1/8 Tom Lane <tgl@sss.pgh.pa.us>:
>> So which of these rows are invisible? �According to the flags
>> items 1, 3 and 5 should be visible while 2 and 4 are dead versions
>> (of 3 and 5 respectively).

> All 3 are invisible, and at the same time they are the only 3 rows
> missing from the table.

Huh.  Nothing obviously wrong with the data ... maybe an xid wraparound
issue?  What's your current XID counter?  (pg_controldata is the easiest
way to answer that)

            regards, tom lane

pgsql-general by date:

Previous
From: Konrad Garus
Date:
Subject: Re: Rows missing from table despite FK constraint
Next
From: Tom Lane
Date:
Subject: Re: Rows missing from table despite FK constraint