Re: FK column doesn't exist error message could use more detail

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: decibel <decibel(at)decibel(dot)org>
Cc: PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: FK column doesn't exist error message could use more detail
Date: 2009-01-26 23:52:45
Message-ID: 2011.1233013965@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

decibel <decibel(at)decibel(dot)org> writes:
> How can I tell which FK constraint that's for? Could we have backend/
> tablecmds.c:transformColumnNameList() report the constraint name?

If it has a name at all, the name was probably made up from the given
column names, so this seems a mite useless.

At some point we might get around to propagating error cursor
positioning ability into utility commands, but don't hold your breath...

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-01-27 00:21:41 Re: 8.4 release planning
Previous Message Stephen Frost 2009-01-26 23:23:25 Re: 8.4 release planning