Re: Nonexistent NEW relation in some places of rules

Поиск
Список
Период
Сортировка
От Denis Zaitsev
Тема Re: Nonexistent NEW relation in some places of rules
Дата
Msg-id 20030731030252.A2700@natasha.ward.six
обсуждение исходный текст
Ответ на Nonexistent NEW relation in some places of rules  (Denis Zaitsev <zzz@anda.ru>)
Список pgsql-sql
On Tue, Jul 29, 2003 at 06:32:44PM -0400, Tom Lane wrote:
> The problem is that the rule gets expanded into something rather like
> 
>     insert into a select ... from new, produce(new.b);
> 
> and we can't support that.  If we ever add support for SQL99's
> LATERAL(), it might help improve matters.

Thanks.  I was suspecting something like.  Does the presence of this
leak mean that such a selects are needed very rarely?  Or does it mean
that some well-known workaround exists?


В списке pgsql-sql по дате отправления:

Предыдущее
От: Dave Dribin
Дата:
Сообщение: Re: One to many query question
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: One to many query question