Re: UniqueKey v2

Поиск
Список
Период
Сортировка
Искать
От
zhihuifan1213@163.com
Тема
Re: UniqueKey v2
Дата
Msg-id
7mla7cnmue6q.fsf@e18c07352.et15sqa
Ответ на
Список
Дерево обсуждения
UniqueKey v2 zhihuifan1213@163.com
Re: UniqueKey v2 zhihuifan1213@163.com
Re: UniqueKey v2 Antonin Houska <ah@cybertec.at>
Re: UniqueKey v2 Andy Fan <zhihuifan1213@163.com>
Re: UniqueKey v2 Antonin Houska <ah@cybertec.at>
Re: UniqueKey v2 Antonin Houska <ah@cybertec.at>
Re: UniqueKey v2 Andy Fan <zhihuifan1213@163.com>
Re: UniqueKey v2 Andy Fan <zhihuifan1213@163.com>
Re: UniqueKey v2 Antonin Houska <ah@cybertec.at>
Re: UniqueKey v2 Andy Fan <zhihuifan1213@163.com>
Re: UniqueKey v2 jian he <jian.universality@gmail.com>
Re: UniqueKey v2 zhihuifan1213@163.com
Re: UniqueKey v2 jian he <jian.universality@gmail.com>
Re: UniqueKey v2 zhihuifan1213@163.com
Re: UniqueKey v2 jian he <jian.universality@gmail.com>
Re: UniqueKey v2 zhihuifan1213@163.com

jian he  writes:

Hi jian,

> hi.
> After `git am`, I still cannot build.
>
> ../../Desktop/pg_sources/main/postgres/src/backend/optimizer/path/uniquekey.c:125:45:
> error: variable ‘var’ set but not used
> [-Werror=unused-but-set-variable]
>   125 |                         Var                *var;
>       |                                             ^~~

Thanks for this report, looks clang 11 can't capture this error.  I have
switched to clang 17 which would report this issue at the first place. 

>
> You also need to change src/backend/optimizer/path/meson.build.

Great thanks.

>
> git apply failed.
>
> git am warning:
> Applying: uniquekey on base relation and used it for mark-distinct-as-op.
> .git/rebase-apply/patch:876: new blank line at EOF.
> +
> warning: 1 line adds whitespace errors.
>
> I think you can use `git diff --check`
> (https://git-scm.com/docs/git-diff) to check for whitespace related
> errors.

thanks for the really good suggestion.  Here is the newer version:



-- 
Best Regards
Andy Fan
В списке pgsql-hackers по дате отправления
От: Jeff Davis
Дата:
От: Jeff Davis
Дата:
FAQ