Skip to content

Make the version number comparable #292

@fluca1978

Description

@fluca1978

In pgagroal.h the version of the pooler is defined as a constant string:

#define VERSION "1.5.0"

this makes hard to compare version numbers within the program. I propose to split the version number into three numeric parts, providing an utility function to get the string-yfied version of the version number to display.

This is useful also to decide which part of code are deprecated or not depending on the version, as per discussion and needs in #289, #290, and #253.

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