Re: Assert for frontend programs?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Assert for frontend programs?
Дата
Msg-id 1355639544.4311.3.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: Assert for frontend programs?  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: Assert for frontend programs?
Список pgsql-hackers
On Fri, 2012-12-14 at 15:32 -0500, Andrew Dunstan wrote:
> Here's a patch for that.

It appears that your change has caused new compiler warnings:

encnames.c:9:1: warning: "Assert" redefined
In file included from encnames.c:8:
../../../src/include/postgres_fe.h:36:1: warning: this is the location of the previous definition
wchar.c:10:1: warning: "Assert" redefined
In file included from wchar.c:9:
../../../src/include/postgres_fe.h:36:1: warning: this is the location of the previous definition
encnames.c:9:1: warning: "Assert" redefined
In file included from encnames.c:8:
../../../src/include/postgres_fe.h:36:1: warning: this is the location of the previous definition

>  I changed some of the psql assertions so they 
> all have explicit boolean expressions - I think that's better style for 
> use of assert.

I think not, but I probably wrote most of that originally.





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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Assert for frontend programs?
Следующее
От: Peter Eisentraut
Дата:
Сообщение: multiple CREATE FUNCTION AS items for PLs