Re: partitioned tables and contrib/sepgsql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: partitioned tables and contrib/sepgsql
Дата
Msg-id 20411.1491369620@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: partitioned tables and contrib/sepgsql  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: partitioned tables and contrib/sepgsql
Список pgsql-hackers
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> On 4/5/17 00:58, Tom Lane wrote:
>> Another issue is whether you won't get compiler complaints about
>> redefinition of the "true" and "false" macros.  But those would
>> likely only be warnings, not flat-out errors.

> The complaint about bool is also just a warning.

Really?

$ cat test.c
typedef char bool;
typedef char bool;
$ gcc -c test.c
test.c:2: error: redefinition of typedef 'bool'
test.c:1: note: previous declaration of 'bool' was here

This is with gcc 4.4.7.
        regards, tom lane



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: partitioned tables and contrib/sepgsql
Следующее
От: Amit Langote
Дата:
Сообщение: Re: Adding support for Default partition in partitioning