Skip to content

PG.version_string(true) raises error on 1.3.0 #419

@scashin133

Description

@scashin133

Trying to upgrade a project from 1.2.3 to 1.3.0 and have run into an error with a missing REVISION constant. I think this can be traced back to eb25f07#diff-bb4598a0d0b73ebc79a2abfdd1b879e0d149006c87c6fccd5455105046caeaea this commit where VERSION was moved and REVISION was removed.

It's unclear to me if the desired result was to remove the include_buildnum argument to version_string or if this was an oversight. This error will always occur if true is passed as the argument.

stacktrace:

uninitialized constant PG::REVISION
Did you mean?  PG::VERSION
# /usr/local/bundle/gems/pg-1.3.0/lib/pg.rb:60:in `version_string'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions