Skip to content

db error in Connection.pm #27

Description

@ClayBirkett

When running bin/load_map_data.pl I get an error
DBD::Pg::db selectrow_array failed: ERROR: cross-database references are not implemented: "sgn.sgn.map_map_id_seq"
LINE 1: SELECT currval('sgn.sgn.map_map_id_seq')
at /home/production/cxgn/cxgn-corelibs/lib/CXGN/DB/Connection.pm line 71, line 1

The error can be fixed by the following changing
my ($id) = $self->selectrow_array("SELECT currval('$schema.$seq')")
to
my ($id) = $self->selectrow_array("SELECT currval('$seq')")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions