Skip Menu |

This queue is for tickets about the DBD-Pg CPAN distribution.

Report information
The Basics
Id: 7764
Status: resolved
Priority: 0/
Queue: DBD-Pg

People
Owner: Nobody in particular
Requestors: oliver [...] deeper.co.nz
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 1.31
  • 1.32
Fixed in: 1.40



Subject: from gborg: Build fails with `SQL_TYPE_TIMESTAMP' undeclared
[ this bug has been migrated from Gborg. A new comment is at the bottom. ] Environment: DBD-Pg-1.31 & DBD-Pg-1.32 building on Redhat Enterprise Linux ES 2.1 with postgresql-7.4.1-1PGDG postgresql-libs-7.4.1-1PGDG postgresql-devel-7.4.Description: gcc -c -I/usr/include -I/usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/DBI -fno-strict-aliasing -I/usr/local/include -DHAVE_PQescapeString -DHAVE_PQescapeBytea -DHAVE_PQunescapeBytea -O2 -march=i386 -mcpu=i686 -DVERSION=\"1.31\" -DXS_VERSION=\"1.31\" -fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE types.c types.c:60: `SQL_TYPE_TIMESTAMP' undeclared here (not in a function) types.c:60: initializer element is not constant types.c:60: (near initialization for `pg_types[37].type.pg') types.c:61: `SQL_TYPE_TIMESTAMP_WITH_TIMEZONE' undeclared here (not in a function) types.c:61: initializer element is not constant types.c:61: (near initialization for `pg_types[38].type.pg') make: *** [types.o] Error 11-1PGDG postgresql-pl-7.4.1-1PGDG postgresql-server-7.4.1-1PGDG rpms installed. ################### This is a bad bug and *might* be fixed in CVS. Please help us check by trying this recent snapshot from CVS: http://mark.stosberg.com/perl/DBD-Pg-cvs-2004-09-24.tgz
From: Tom Kistner <tom [...] duncanthrax.net>
Show quoted text
> This is a bad bug and *might* be fixed in CVS. Please help us check by > trying this recent snapshot from CVS: > http://mark.stosberg.com/perl/DBD-Pg-cvs-2004-09-24.tgz
You can also fix it by adding #define SQL_TYPE_TIMESTAMP 93 #define SQL_TYPE_TIMESTAMP_WITH_TIMEZONE 95 to types.h