Re: Inserting Data

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Inserting Data
Дата
Msg-id 25561.1156374326@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Inserting Data  (Bob Pawley <rjpawley@shaw.ca>)
Список 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 по дате отправления:

Предыдущее
От: "Silvela, Jaime \(Exchange\)"
Дата:
Сообщение: Re: CASCADING could not open relation with OID
Следующее
От: Tom Lane
Дата:
Сообщение: Re: CASCADING could not open relation with OID