Re: pgsql: Silence compiler warning in nbtinsert.c.

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pgsql: Silence compiler warning in nbtinsert.c.
Дата
Msg-id 20200226230748.GA28775@alvherre.pgsql
обсуждение исходный текст
Ответ на pgsql: Silence compiler warning in nbtinsert.c.  (Peter Geoghegan <pg@bowt.ie>)
Ответы Re: pgsql: Silence compiler warning in nbtinsert.c.  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-committers
On 2020-Feb-26, Peter Geoghegan wrote:

> Silence compiler warning in nbtinsert.c.
> 
> Per buildfarm member longfin.

I'm seeing another one:

/pgsql/source/master/src/backend/access/nbtree/nbtinsert.c: In function '_bt_insertonpg':
/pgsql/source/master/src/backend/access/nbtree/nbtinsert.c:1231:4: warning: 'oposting' may be used uninitialized in
thisfunction [-Wmaybe-uninitialized]
 
    memcpy(oposting, nposting, MAXALIGN(IndexTupleSize(nposting)));
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thanks

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Fix docs regarding AFTER triggers on partitioned tables
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Suppress unnecessary RelabelType nodes in more cases.