Re: cannot use result of (insert..returning)

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: cannot use result of (insert..returning)
Дата
Msg-id 200806120050.m5C0o4O22459@momjian.us
обсуждение исходный текст
Ответ на Re: cannot use result of (insert..returning)  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Ответы Re: cannot use result of (insert..returning)
Список pgsql-hackers
Heikki Linnakangas wrote:
> dvs wrote:
> > Hello,
> > 
> > I need to use query like:
> >    select (insert into test (a) values (x) returning b),c from anytable 
> > where condition
> > but it say
> >    ERROR: syntax error at or near "into"
> > 
> > Is this a bug?
> 
> No, it's a known limitation.

Is there a TODO item for this?  I don't see one, do you?


--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Overhauling GUCS
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Overhauling GUCS