Re: [GENERAL] foreign key on views

2007-09-21 Thread Tom Lane
"Josh Harrison" <[EMAIL PROTECTED]> writes: > I just wanted to know where is this error message thrown in the source > code.? "\set VERBOSITY verbose" would help... regression=# create view v as select * from int4_tbl; CREATE VIEW regression=# \set VERBOSITY verbose regression=# create table t (f

[GENERAL] foreign key on views

2007-09-21 Thread Josh Harrison
Hi, Where in the source code can I see the error message that says foreign key to a view is not allowed The exact error message as it appears when I try foreign key reference on a view is referenced relation "xyz_view" is not a table I just wanted to know where is this error message thrown