UDF’s are very useful for reporting and Developers no need to optimize the Tables however, Be it any Pega Platform Version Installation, The below Error is common while Installing UDF.
Any solution to the issue will be more helpful.
Load UDF:
[pega:executesqlintransaction] Execute SQL In Transaction:false
[mkdir] Created dir: C:\Users\sakisho\AppData\Local\Temp\PegaInstallTemp-18-May-2023-16.24.03\udf_temp
[copy] Copying 6 files to C:\Users\sakisho\AppData\Local\Temp\PegaInstallTemp-18-May-2023-16.24.03\udf_temp
[echo] arg values : --config=C:\Users\sakisho\AppData\Local\Temp/PegaInstallTemp-18-May-2023-16.24.03/prbootstrap.properties --profile=install.postgres --dataOnly=false --rulesOnly=${db.onlyRules} --run-in-transaction=false --jar-path=C:\Users\sakisho\Downloads\117358_Pega8.6.6\scripts/../scripts/udf/prreadstream.jar C:\Users\sakisho\AppData\Local\Temp/PegaInstallTemp-18-May-2023-16.24.03/udf_temp
[java] Exception in thread “main” org.postgresql.util.PSQLException: ERROR: relation “sqlj.jar_repository” does not exist
[java] Position: 21
[java] at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2552)
[java] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2284)
[java] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:322)
[java] at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:481)
[java] at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:401)
[java] at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:164)
[java] at org.postgresql.jdbc.PgCallableStatement.executeWithFlags(PgCallableStatement.java:83)
[java] at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:114)
[java] at com.pega.pegarules.install.udf.loaders.PostgresUDFJarLoader.isJarLoadedPostgres(PostgresUDFJarLoader.java:154)
[java] at com.pega.pegarules.install.udf.loaders.PostgresUDFJarLoader.installJarOnPostgres(PostgresUDFJarLoader.java:115)
[java] at com.pega.pegarules.install.udf.loaders.PostgresUDFJarLoader.load(PostgresUDFJarLoader.java:88)
[java] at com.pega.pegarules.install.UDFManager$AbstractUDFExecutor.loadUDFJar(UDFManager.java:344)
[java] at com.pega.pegarules.install.UDFManager$ExecuteUDFWithOutTransaction.executeInner(UDFManager.java:289)
[java] at com.pega.pegarules.install.UDFManager$AbstractUDFExecutor.execute(UDFManager.java:353)
[java] at com.pega.pegarules.install.UDFManager.process(UDFManager.java:184)
[java] at com.pega.pegarules.install.UDFManager.main(UDFManager.java:136)