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
| Next: | From: Alvaro Herrera | Date: 2011-07-04 18:38:26 |
| Subject: pgsql: Move Trigger and TriggerDesc structs out of rel.h into a newrel |
| Previous: | From: Peter Eisentraut | Date: 2011-07-04 15:04:01 |
| Subject: pgsql: Remove unused variable to silence compiler warning |