Re: some ri_triggers.c cleanup

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: some ri_triggers.c cleanup
Дата
Msg-id 56d791ef-d2c7-f64e-3c62-8ebf1efc7cc6@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: some ri_triggers.c cleanup  (Corey Huinker <corey.huinker@gmail.com>)
Ответы Re: some ri_triggers.c cleanup  (Corey Huinker <corey.huinker@gmail.com>)
Список pgsql-hackers
On 2019-02-24 00:34, Corey Huinker wrote:
> As I suspected, the code for SET NULL and SET DEFAULT are highly similar
> (see .diff), the major difference being two constants, the order of some
> variable declarations, and the recheck in the set-default case.
> 
> The changes were so simple that I felt remiss not adding the patch for
> you (see .patch).

Right, this makes a lot of sense, similar to how ri_restrict() combines
RESTRICT and NO ACTION.

I'll take a closer look at your patch.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: unconstify equivalent for volatile
Следующее
От: "Tsunakawa, Takayuki"
Дата:
Сообщение: RE: Protect syscache from bloating with negative cache entries