Skip to content

Prominently document that overlong bitshifts cause undefined behavior #19214

@pythonesque

Description

@pythonesque

Per #10183. This is a soundness hole and it seems unlikely to be fixed before 1.0. It needs to be clearly documented in the reference and elsewhere so people know that they have to write their code carefully to avoid it. See http://www.postgresql.org/docs/9.1/static/indexes-types.html caveats on hash indexes for an example of how to document major bugs in this way.

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