pgsql: Silence Solaris compiler warnings, per buildfarm.
Log Message:
-----------
Silence Solaris compiler warnings, per buildfarm.
Modified Files:
--------------
pgsql/contrib/tsearch2:
query_cleanup.c (r1.2 -> r1.3)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/query_cleanup.c.diff?r1=1.2&r2=1.3)
query_support.c (r1.4 -> r1.5)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/query_support.c.diff?r1=1.4&r2=1.5)
"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