Re: custom function for converting human readable sizes to bytes - Mailing list pgsql-hackers

From Guillaume Lelarge
Subject Re: custom function for converting human readable sizes to bytes
Date
Msg-id CAECtzeX1e=ZYUO_=7HmQBUBQ6Q+GR48Cng193N38MtAs66jqMg@mail.gmail.com
Whole thread Raw
In response to Re: custom function for converting human readable sizes to bytes  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: custom function for converting human readable sizes to bytes  (Corey Huinker <corey.huinker@gmail.com>)
List pgsql-hackers
<p dir="ltr"><br /> Le 22 nov. 2015 21:29, "Pavel Stehule" <<a
href="mailto:pavel.stehule@gmail.com">pavel.stehule@gmail.com</a>>a écrit :<br /> ><br /> ><br /> ><br />
>2015-11-22 21:19 GMT+01:00 Jim Nasby <<a
href="mailto:Jim.Nasby@bluetreble.com">Jim.Nasby@bluetreble.com</a>>:<br/> >><br /> >> On 11/22/15 2:11
PM,Pavel Stehule wrote:<br /> >>><br /> >>> What about pg_size(text), pg_size(value bigint, unit
text)?<br /> >><br /> >><br /> >> I like, though I'd make it numeric or float. pg_size(3.5, 'GB')
certainlyseems like a reasonable use case...<br /> ><br /> ><br /> > yes, good note.<br /> ><p
dir="ltr">Whatabout pg_size_unpretty()?  

pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: more RLS oversights
Next
From: Corey Huinker
Date:
Subject: Re: custom function for converting human readable sizes to bytes