Re: FK type mismatches?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Neil Conway <neilc(at)samurai(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: FK type mismatches?
Date: 2003-09-10 20:17:02
Message-ID: 200309102017.h8AKH2n14495@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut wrote:
> Tom Lane writes:
>
> > If we follow Peter's recently proposed guideline, this would have to be
> > a NOTICE not a WARNING, because the command absolutely is doing what you
> > told it to do. Peter, does that make you uncomfortable?
>
> The message itself makes me a bit uncomfortable right now, but a NOTICE
> absolutely not.

Added to TODO:

* Issue NOTICE if foreign key data type doesn't match primary key

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruno Wolff III 2003-09-10 20:21:44 Re: Broken(?) 'interval' problems. [Was: ISO 8601 "Time Intervals"]
Previous Message Bruce Momjian 2003-09-10 19:57:47 Re: Another small bug (pg_autovacuum)