Обсуждение: Re: [COMMITTERS] pgsql: Silence Solaris compiler warnings, per buildfarm.

Поиск
Список
Период
Сортировка

Re: [COMMITTERS] pgsql: Silence Solaris compiler warnings, per buildfarm.

От
Gregory Stark
Дата:
"Tom Lane" <tgl@postgresql.org> writes:

> Log Message:
> -----------
> Silence Solaris compiler warnings, per buildfarm.

This one was also lost in the tsearch merge. 

The second half from query_support.c seems to be in tsquery_op.c now but isn't
relevant because it relates to PG_FUNCTION_INFO_V1().


Index: src/backend/utils/adt/tsquery_cleanup.c
===================================================================
RCS file: /home/stark/src/REPOSITORY/pgsql/src/backend/utils/adt/tsquery_cleanup.c,v
retrieving revision 1.4
diff -c -r1.4 tsquery_cleanup.c
*** src/backend/utils/adt/tsquery_cleanup.c    7 Sep 2007 16:03:40 -0000    1.4
--- src/backend/utils/adt/tsquery_cleanup.c    17 Sep 2007 13:42:39 -0000
***************
*** 194,199 ****
--- 194,202 ---- #ifdef V_UNKNOWN                /* exists in Windows headers */ #undef V_UNKNOWN #endif
+ #ifdef V_FALSE                    /* exists in Solaris headers */
+ #undef V_FALSE
+ #endif  /*  * output values for result output parameter of clean_fakeval_intree

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com


Re: [COMMITTERS] pgsql: Silence Solaris compiler warnings, per buildfarm.

От
Tom Lane
Дата:
Gregory Stark <stark@enterprisedb.com> writes:
>> Silence Solaris compiler warnings, per buildfarm.

> This one was also lost in the tsearch merge. 

Done.
        regards, tom lane