pgsql-server/src/backend/catalog index.c

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/backend/catalog index.c
Date: 2002-09-22 23:03:58
Message-ID: 20020922230358.C6CE7475F26@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)postgresql(dot)org 02/09/22 19:03:58

Modified files:
src/backend/catalog: index.c

Log message:
In UpdateStats(), don't bother to update the pg_class row if it already
contains the correct statistics. This is a partial solution for the
problem of allowing concurrent CREATE INDEX commands: unless they commit
at nearly the same instant, the second one will see the first one's
pg_class updates as committed, and won't try to update again, thus
avoiding the 'tuple concurrently updated' failure.

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2002-09-23 00:42:48 pgsql-server/src backend/catalog/index.c backe ...
Previous Message Tom Lane 2002-09-22 21:56:47 pgsql-server/src/pl/plpgsql/src gram.y