"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 (f1 int references v);
ERROR:  42809: referenced relation "v" is not a table
LOCATION:  ATAddForeignKeyConstraint, tablecmds.c:3949

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to