Skip to content

Generation fails with the newest Postgres JDBC driver #46

@msaladin

Description

@msaladin

Hi all,

See jOOQ/jOOQ#17873 (comment):

When using Postgres JDBC driver 42.7.4, it works fine.
When using Postgres JDBC driver 42.7.5, generation of some tables (e.g. pgcatalog.pg_class) fails with

Error while generating table public.auth_client
Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Field "key_seq" is not contained in row type (
  "PKTABLE_CAT",
  "pg_namespace"."PKTABLE_SCHEM",
  "pg_class"."PKTABLE_NAME",
  "pg_attribute"."PKCOLUMN_NAME",
  "FKTABLE_CAT",
  "pg_namespace"."FKTABLE_SCHEM",
  "pg_class"."FKTABLE_NAME",
  "pg_attribute"."FKCOLUMN_NAME",
  "KEY_SEQ",
  "UPDATE_RULE",
  "DELETE_RULE",
  "pg_constraint"."FK_NAME",
  "pg_class"."PK_NAME",
  "DEFERRABILITY"
)

errors. I suppose that all you have to do is actually update Jooq, as as documented in 17873, an update of Jooq is already published.

Thanks a lot & Cheers
Michael

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