HeapTupleSatisfiesUpdate result as enum

Поиск
Список
Период
Сортировка
Искать

HeapTupleSatisfiesUpdate result as enum

От:
Alvaro Herrera <alvherre@dcc.uchile.cl>
Дата:
Вложения:
Hackers,

Is there any reason why HeapTupleSatisfiesUpdate return codes are not an
enum, like they are for HeapTupleSatisfiesVacuum?

I tried and came up with this patch.  If there are no objections, please
apply.

-- 
Alvaro Herrera ()
"El día que dejes de cambiar dejarás de vivir"

Re: HeapTupleSatisfiesUpdate result as enum

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Alvaro Herrera  writes:
> Is there any reason why HeapTupleSatisfiesUpdate return codes are not an
> enum, like they are for HeapTupleSatisfiesVacuum?

History only (the enum result convention for HeapTupleSatisfiesVacuum is
much younger code, IIRC).  Seems like a reasonable change to me.

			regards, tom lane

Re: HeapTupleSatisfiesUpdate result as enum

От:
Neil Conway <neilc@samurai.com>
Дата:
Alvaro Herrera wrote:
> Is there any reason why HeapTupleSatisfiesUpdate return codes are not an
> enum, like they are for HeapTupleSatisfiesVacuum?

Applied, thanks.

-Neil
FAQ