Re: [HACKERS] extension for sql update

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] extension for sql update
Дата
Msg-id 200609030046.k830kJg25624@momjian.us
обсуждение исходный текст
Список pgsql-patches
bruce wrote:
> I have merged your patch into current CVS and applied it; attached.
> There was quite a bit of code drift.  One drift area was the new
> RETURNING clause;  that was easy to fix.  A more complex case is the
> code no longer has values as ResTargets --- it is a simple a_expr list,
> so I changed the critical assignment in gram.y from:
>
>         res_col->val = (Node *)copyObject(res_val->val);
>
> to:
>
>     res_col->val = (Node *)copyObject(res_val);
>
> Hope that is OK.  Without that fix, it crashed.  I also merged your SGML
> syntax and grammer addition into the exiting UPDATE main entry.

The copyObject() is not required.  Removed.

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Backend SSL configuration enhancement
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Change FETCH/MOVE to use int8.