IntArray in c.h

Поиск
Список
Период
Сортировка
От Hitoshi Harada
Тема IntArray in c.h
Дата
Msg-id e08cc0400912290150x67586acaq8ddf7e83b1e35ab0@mail.gmail.com
обсуждение исходный текст
Ответы Re: IntArray in c.h  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I found the struct IntArray defined in c.h is actually used only in
execQual.c. ISTM the definition should be at least moved to the right
place.

Attached is a trivial fix. Addition to the explanation above,  I
replaced IntArray by simple int array bounded with MAXDIM and remove
local variable lIndex in ExecEvalArrayRef  because the usage of the
variable doesn't seem good to me.

Regression passed and various manual tests like "UPDATE t SET
a[1:2][1] = 1" didn't fail.


Regards,

--
Hitoshi Harada

Вложения

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [PATCH] Provide rowcount for utility SELECTs
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Stats for inheritance trees