Re: tablecmds.c/MergeAttributes() cleanup

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: tablecmds.c/MergeAttributes() cleanup
Дата
Msg-id
fef26864-4477-90ec-1ceb-b4189c4cf5c6@eisentraut.org
Ответ на
Список
Дерево обсуждения
tablecmds.c/MergeAttributes() cleanup Peter Eisentraut <peter@eisentraut.org>
Re: tablecmds.c/MergeAttributes() cleanup Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: tablecmds.c/MergeAttributes() cleanup Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: tablecmds.c/MergeAttributes() cleanup Peter Eisentraut <peter@eisentraut.org>
Re: tablecmds.c/MergeAttributes() cleanup Peter Eisentraut <peter@eisentraut.org>
Re: tablecmds.c/MergeAttributes() cleanup Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: tablecmds.c/MergeAttributes() cleanup Peter Eisentraut <peter@eisentraut.org>
Re: tablecmds.c/MergeAttributes() cleanup Peter Eisentraut <peter@eisentraut.org>
Re: tablecmds.c/MergeAttributes() cleanup Peter Eisentraut <peter@eisentraut.org>
Re: tablecmds.c/MergeAttributes() cleanup Peter Eisentraut <peter@eisentraut.org>
Re: tablecmds.c/MergeAttributes() cleanup Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: tablecmds.c/MergeAttributes() cleanup Peter Eisentraut <peter@eisentraut.org>
Re: tablecmds.c/MergeAttributes() cleanup Alexander Lakhin <exclusion@gmail.com>
Re: tablecmds.c/MergeAttributes() cleanup Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: tablecmds.c/MergeAttributes() cleanup Alexander Lakhin <exclusion@gmail.com>
Re: tablecmds.c/MergeAttributes() cleanup Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: tablecmds.c/MergeAttributes() cleanup Robert Haas <robertmhaas@gmail.com>
Re: tablecmds.c/MergeAttributes() cleanup Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: tablecmds.c/MergeAttributes() cleanup Robert Haas <robertmhaas@gmail.com>
Re: tablecmds.c/MergeAttributes() cleanup Peter Eisentraut <peter@eisentraut.org>
Re: tablecmds.c/MergeAttributes() cleanup Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: tablecmds.c/MergeAttributes() cleanup Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: tablecmds.c/MergeAttributes() cleanup Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: tablecmds.c/MergeAttributes() cleanup Robert Haas <robertmhaas@gmail.com>
Re: tablecmds.c/MergeAttributes() cleanup Tom Lane <tgl@sss.pgh.pa.us>
Re: tablecmds.c/MergeAttributes() cleanup Robert Haas <robertmhaas@gmail.com>
Re: tablecmds.c/MergeAttributes() cleanup Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: tablecmds.c/MergeAttributes() cleanup Nathan Bossart <nathandbossart@gmail.com>
Re: tablecmds.c/MergeAttributes() cleanup Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: tablecmds.c/MergeAttributes() cleanup Nathan Bossart <nathandbossart@gmail.com>
Re: tablecmds.c/MergeAttributes() cleanup Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: tablecmds.c/MergeAttributes() cleanup Peter Eisentraut <peter@eisentraut.org>
On 29.08.23 19:45, Nathan Bossart wrote:
> On Tue, Aug 29, 2023 at 10:43:39AM +0200, Peter Eisentraut wrote:
>> I have committed a few more patches from this series that were already
>> agreed upon.  The remaining ones are rebased and reordered a bit, attached.
> 
> My compiler is complaining about 1fa9241b:
> 
> ../postgresql/src/backend/commands/sequence.c: In function ‘DefineSequence’:
> ../postgresql/src/backend/commands/sequence.c:196:21: error: ‘coldef’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
>    196 |   stmt->tableElts = lappend(stmt->tableElts, coldef);
>        |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> This went away when I added a default case that ERROR'd or initialized
> coldef to NULL.

fixed



В списке pgsql-hackers по дате отправления
От: David Steele
Дата:
Сообщение: Re: New compiler warning
От: Nathan Bossart
Дата:
FAQ