pgsql/src include/catalog/pg_type.h backend/ca ...

From: Tom Lane <tgl(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src include/catalog/pg_type.h backend/ca ...
Date: 2001-02-12 20:07:22
Message-ID: 200102122007.f1CK7Li94132@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: tgl(at)hub(dot)org 01/02/12 15:07:21

Modified files:
src/include/catalog: pg_type.h
src/backend/catalog: pg_type.c heap.c
src/backend/commands: define.c

Log message:
Rearrange order of operations in heap_create_with_catalog so that if
two transactions create the same table name concurrently, the one that
fails will complain about unique index pg_class_relname_index, rather than
about pg_type_typname_index which'll confuse most people. Free side
benefit: pg_class.reltype is correctly linked to the pg_type entry now.
It's been zero in all but the preloaded pg_class entries since who knows
when.

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2001-02-12 21:03:04 pgsql/src/backend/nodes readfuncs.c
Previous Message Bruce Momjian - CVS 2001-02-12 18:46:41 pgsql/src/backend/optimizer/util clauses.c