pgsql: Don't try to use a constraint name as domain name - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Don't try to use a constraint name as domain name
Date
Msg-id E1Qdny9-0003Z3-UV@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Don't try to use a constraint name as domain name

The bug that caused this to be discovered is that the code was trying to
dereference a NULL or ill-defined pointer, as reported by Michael Mueller;
but what it was doing was wrong anyway, per Heikki.

This patch is Heikki's suggested fix.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d665162077862ef9e5886f870bf5ce909fc9342c

Modified Files
--------------
src/backend/commands/typecmds.c |    4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Remove unused variable to silence compiler warning
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Move Trigger and TriggerDesc structs out of rel.h into a new rel