|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Pljava Build Failure Against PG 8.4Hi,
Pljava-1.4.0 stops building after the following changes in PostgreSQL 8.4: commit e53e76a8ebe64dbc8a64ec3dec5ba0 6f2e787f0b I've modified DefineCustomXXXVariable arguments by passing default values for two new parameters i.e:
>> PFA pljava-fix.patch and do let me know if you find any problem in it. -- Regards Talha Bin Rizwan [pljava-fix.patch] *** pljava-1.4.0/src/C/pljava/Backend.c 2008-12-02 13:06:08.591285896 +0500 --- src/C/pljava/Backend.c 2008-12-02 13:13:47.188568512 +0500 *************** *** 561,567 **** --- 561,573 ---- "Options sent to the JVM when it is created", NULL, &vmoptions, + #if (PGSQL_MAJOR_VER == 8 && PGSQL_MINOR_VER > 3) + NULL, + #endif PGC_USERSET, + #if (PGSQL_MAJOR_VER == 8 && PGSQL_MINOR_VER > 3) + 0, + #endif NULL, NULL); DefineCustomStringVariable( *************** *** 569,575 **** --- 575,587 ---- "Classpath used by the JVM", NULL, &classpath, + #if (PGSQL_MAJOR_VER == 8 && PGSQL_MINOR_VER > 3) + NULL, + #endif PGC_USERSET, + #if (PGSQL_MAJOR_VER == 8 && PGSQL_MINOR_VER > 3) + 0, + #endif NULL, NULL); DefineCustomBoolVariable( *************** *** 577,583 **** --- 589,601 ---- "Stop the backend to attach a debugger", NULL, &pljavaDebug, + #if (PGSQL_MAJOR_VER == 8 && PGSQL_MINOR_VER > 3) + NULL, + #endif PGC_USERSET, + #if (PGSQL_MAJOR_VER == 8 && PGSQL_MINOR_VER > 3) + 0, + #endif NULL, NULL); DefineCustomIntVariable( *************** *** 586,592 **** --- 604,616 ---- NULL, &statementCacheSize, 0, 512, + #if (PGSQL_MAJOR_VER == 8 && PGSQL_MINOR_VER > 3) + NULL, + #endif PGC_USERSET, + #if (PGSQL_MAJOR_VER == 8 && PGSQL_MINOR_VER > 3) + 0, + #endif NULL, NULL); DefineCustomBoolVariable( *************** *** 594,600 **** --- 618,630 ---- "If true, lingering savepoints will be released on function exit. If false, the will be rolled back", NULL, &pljavaReleaseLingeringSavepoints, + #if (PGSQL_MAJOR_VER == 8 && PGSQL_MINOR_VER > 3) + NULL, + #endif PGC_USERSET, + #if (PGSQL_MAJOR_VER == 8 && PGSQL_MINOR_VER > 3) + 0, + #endif NULL, NULL); EmitWarningsOnPlaceholders("pljava"); _______________________________________________ Pljava-dev mailing list Pljava-dev@... http://pgfoundry.org/mailman/listinfo/pljava-dev |
|
|
Re: Pljava Build Failure Against PG 8.4On Tue, 2 Dec 2008, Talha Rizwan wrote: > Pljava-1.4.0 stops building after the following changes in PostgreSQL > 8.4: > > I've also added checks using *#ifdef* only for new arguments so that it > works on earlier version as well. I've applied this fix to CVS. One thing I changed was that for DefineCustom[Int|Bool]Variable, it wants an int or bool argument, not NULL for the default. Kris Jurka _______________________________________________ Pljava-dev mailing list Pljava-dev@... http://pgfoundry.org/mailman/listinfo/pljava-dev |
| Free embeddable forum powered by Nabble | Forum Help |