Re: Inserting Data - Mailing list pgsql-general

From Tom Lane
Subject Re: Inserting Data
Date
Msg-id 25561.1156374326@sss.pgh.pa.us
Whole thread Raw
In response to Re: Inserting Data  (Bob Pawley <rjpawley@shaw.ca>)
List pgsql-general
Bob Pawley <rjpawley@shaw.ca> writes:
>  insert into p_id.loops (monitor) values (new.devices_id)
>  where new.device_number = library.devices.device_number
>  and library.devices.type_ = 'mon' ;

Huh?  How did library.devices get into this?  Are you trying to join to
it, and if so why, seeing that the value you want to insert into
p_id.loops is independent of that table?

            regards, tom lane

pgsql-general by date:

Previous
From: "Silvela, Jaime \(Exchange\)"
Date:
Subject: Re: CASCADING could not open relation with OID
Next
From: Tom Lane
Date:
Subject: Re: CASCADING could not open relation with OID