Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows for two letter size specification ending with 'b' #303

Closed
fluca1978 opened this issue Aug 11, 2022 · 0 comments
Closed

Allows for two letter size specification ending with 'b' #303

fluca1978 opened this issue Aug 11, 2022 · 0 comments

Comments

@fluca1978
Copy link
Collaborator

The function as_bytes accepts suffixes like 'M' for megabytes.
It would be nice and more natural to allow the user to specify also 'MB', that means allow for a double letter suffix only when the last letter is a 'B'.

fluca1978 added a commit to fluca1978/pgagroal that referenced this issue Aug 11, 2022
Allows the `as_bytes` function to parse also compound suffixes like
`MB` for megabytes.

Documentation updated.

Close agroal#303
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant