cannot find source of "add missing from" error - Mailing list pgsql-general

From Karsten Hilbert
Subject cannot find source of "add missing from" error
Date
Msg-id 20051207091038.GQ5968@merkur.hilbert.loc
Whole thread Raw
Responses Re: cannot find source of "add missing from" error
List pgsql-general
Hello,

I have a slightly involved view that draws from other views.
Upon insertion into the database (creation) it complains of

ERROR:  missing FROM-clause entry in subquery for table "v_basic_person"

and I can't for the life of it find why (I know I can work
around this with a postgresql.conf option).

The view that's erroring out and the view that's being
complained about is found in the attachments. The whole lot
of other tables and functions is found here:

http://savannah.gnu.org/cgi-bin/viewcvs/gnumed/gnumed/gnumed/server/sql/

(the function _() is found in gmI18N.sql BTW)

Can anyone help me pinpoint which relation is missing in
what FROM clause ?

(This project is a medical practice management system.)

Thanks,
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

Attachment

pgsql-general by date:

Previous
From: "A. Kretschmer"
Date:
Subject: Re: MySQL dump
Next
From: Richard van den Berg
Date:
Subject: Character encoding and string matches