Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.
This repository was archived by the owner on Jan 29, 2026. It is now read-only.

RDBMS output does not work for Postgreql #15

Description

@karenhanson

If you configure the loader to use a Postgresql JDBC driver and connection, it fails on the init() method due to the incompatibility of "show tables;" The code should either be made compatible with Postgresql or the tables should be created outside of the Java code. The problem code is in this class:

https://github.com/rmap-project/rmap-loader/blob/master/rmap-loader-run-registry/src/main/java/info/rmapproject/loader/RdbmsHarvestRunRegistry.java

The exception is:

java.lang.RuntimeException: Could not create tables
        at info.rmapproject.loader.RdbmsHarvestRunRegistry.init(RdbmsHarvestRunRegistry.java:68)
        at info.rmapproject.loader.osf.OsfIdentifyService.getLastHarvestDate(OsfIdentifyService.java:368)
        at info.rmapproject.loader.osf.OsfIdentifyService.identifyNewRecords(OsfIdentifyService.java:170)
        ... 2 more
Caused by: org.postgresql.util.PSQLException: ERROR: unrecognized configuration parameter "tables"
        at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
       ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions