Re: [HACKERS] Open 6.5 items

From: Vadim Mikheev <vadim(at)krs(dot)ru>
To: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, t-ishii(at)sra(dot)co(dot)jp, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Open 6.5 items
Date: 1999-06-04 08:46:40
Message-ID: 37579270.8839C94F@krs.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hiroshi Inoue wrote:
>
> >
> > 2. It was possible to get two versions of the same row from
> > select. Fixed by moving MyProc->xid assignment from
> > StartTransaction() inside GetNewTransactionId().
> >
> > Thanks, Hiroshi! And please run your tests - I used just
> > 3 sessions and gdb.
> >
>
> Unfortunately,the error still occurs(I changed xact.c as above
> by hand OK ?).

Did you add 2. changes too?
Also, I made some changes in shmem.c:GetSnapshotData() but seems
that they are not relevant. Could you post me your xact.c and
varsup.c or grab current sources?

> It seems there are cases that tuples are updated by older
> transactions than their xmin-s and only some tuples in the middle
> of update chain may be deleted.
>
> I have no idea to fix this now.
> It's OK for me to leave this unsolved because those cases would
> rarely occur.

I would like to see it fixed anyway.

Vadim

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message ZEUGSWETTER Andreas IZ5 1999-06-04 08:49:24 important Re: [HACKERS] Open 6.5 items
Previous Message Hiroshi Inoue 1999-06-04 08:22:00 RE: [HACKERS] Open 6.5 items