pgsql: Before attempting to create a composite type, check whether a

From: petere(at)postgresql(dot)org (Peter Eisentraut)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Before attempting to create a composite type, check whether a
Date: 2010-01-20 05:47:10
Message-ID: 20100120054710.0CC867541B9@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Before attempting to create a composite type, check whether a type of that
name already exists, so we'd get an error message about a "type" instead
of about a "relation", because the composite type code shares code with
relation creation.

Modified Files:
--------------
pgsql/src/backend/commands:
typecmds.c (r1.145 -> r1.146)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/typecmds.c?r1=1.145&r2=1.146)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2010-01-20 09:10:41 pgsql: New Directory
Previous Message Andrew Dunstan 2010-01-20 04:29:07 pgsql: Fix typo in Mkvcbuild.pl