Re: partitioned tables and contrib/sepgsql

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: partitioned tables and contrib/sepgsql
Дата
Msg-id 3b0f0a27-0ccf-7298-5365-87d685eeea42@joeconway.com
обсуждение исходный текст
Ответ на [HACKERS] partitioned tables and contrib/sepgsql  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
On 04/04/2017 10:02 AM, Joe Conway wrote:
> On 04/04/2017 09:55 AM, Mike Palmiotto wrote:
>> After some discussion off-list, I've rebased and udpated the patches.
>> Please see attached for further review.
>
> Thanks -- will have another look and test on a machine with selinux
> setup. Robert, did you want me to take responsibility to commit on this
> or just provide review/feedback?

I did some editorializing on these.

In particular I did not like the approach to fixing "warning: ‘tclass’
may be used uninitialized" and ended up just doing it the same as was
done elsewhere in relation.c already (set tclass = 0 in the variable
declaration). Along the way I also changed one instance of tclass from
uint16 to uint16_t for the sake of consistency.

Interestingly we figured out that the warning was present with -Og, but
not present with -O0, -O2, or -O3.

If you want to test, apply 0001a and 0001b before 0002.

Any objections?

Joe

--
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development

Вложения

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: increasing the default WAL segment size
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Statement timeout behavior in extended queries