On 07.11.2011 13:14, Gregg Jaskiewicz wrote:
> http://pastebin.com/RjiRjGZc
>
> this is on fedora 12, gcc 4.6.1
> rangetypes.c: In function ‘tsrange_subdiff’:
> rangetypes.c:1316:11: error: ‘timestamp’ undeclared (first use in this function)
> rangetypes.c:1316:11: note: each undeclared identifier is reported only once for each function it appears in
> rangetypes.c:1310:12: warning: unused variable ‘v2’ [-Wunused-variable]
> rangetypes.c:1309:12: warning: unused variable ‘v1’ [-Wunused-variable]
> rangetypes.c: In function ‘tstzrange_subdiff’:
> rangetypes.c:1332:11: error: ‘timestamp’ undeclared (first use in this function)
> rangetypes.c:1326:12: warning: unused variable ‘v2’ [-Wunused-variable]
> rangetypes.c:1325:12: warning: unused variable ‘v1’ [-Wunused-variable]
Looks like the range types patch was broken for float timestamps. I'll
go fix that. Thanks for the report!
-- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com